/Linux-v5.15/Documentation/devicetree/bindings/iio/multiplexer/ |
D | io-channel-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/multiplexer/io-channel-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: I/O channel multiplexer bindings 10 - Peter Rosin <peda@axentia.se> 14 e.g. an ADC channel, these bindings describe that situation. 16 For each non-empty string in the channels property, an io-channel will be 17 created. The number of this io-channel is the same as the index into the list 18 of strings in the channels property, and also matches the mux controller [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | aspeed-bmc-ampere-mtjade.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500"; 11 stdout-path = &uart5; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 25 no-map; [all …]
|
D | at91-natte.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91-natte.dts - Device Tree include file for the Natte board 11 mux: mux-controller { label 12 compatible = "gpio-mux"; 13 #mux-control-cells = <0>; 15 mux-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>, 20 batntc-mux { 21 compatible = "io-channel-mux"; 22 io-channels = <&adc 5>; 23 io-channel-names = "parent"; [all …]
|
D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
D | stm32h743.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 #include "armv7-m.dtsi" 44 #include <dt-bindings/clock/stm32h7-clks.h> 45 #include <dt-bindings/mfd/stm32h7-rcc.h> 46 #include <dt-bindings/interrupt-controller/irq.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 53 clk_hse: clk-hse { 54 #clock-cells = <0>; [all …]
|
D | aspeed-bmc-opp-witherspoon.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,witherspoon-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mux/ |
D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 6 with a single mux controller controlling all three muxes), or <1> if 7 not (one mux controller for each mux). 8 * Standard mux-controller bindings as described in mux-controller.yaml 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have [all …]
|
D | mux-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/mux-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 13 A multiplexer (or mux) controller will have one, or several, consumer devices 14 that uses the mux controller. Thus, a mux controller can possibly control 16 multiplexer needed by each consumer, but a single mux controller can of course 19 A mux controller provides a number of states to its consumers, and the state 20 space is a simple zero-based enumeration. I.e. 0-1 for a 2-way multiplexer, [all …]
|
D | adi,adgs1408.txt | 1 Bindings for Analog Devices ADGS1408/1409 8:1/Dual 4:1 Mux 4 - compatible : Should be one of 7 * Standard mux-controller bindings as described in mux-controller.yaml 10 - gpio-controller : if present, #gpio-cells is required. 11 - #gpio-cells : should be <2> 12 - First cell is the GPO line number, i.e. 0 to 3 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, the state that the mux controller will have 28 * One mux controller. 29 * Mux state set to idle as is (no idle-state declared) [all …]
|
D | gpio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/gpio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based multiplexer controller bindings 10 - Peter Rosin <peda@axentia.se> 22 const: gpio-mux 24 mux-gpios: 28 '#mux-control-cells': 31 idle-state: [all …]
|
/Linux-v5.15/drivers/i2c/muxes/ |
D | i2c-mux-mlxcpld.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 3 * Mellanox i2c mux driver 5 * Copyright (C) 2016-2020 Mellanox Technologies 10 #include <linux/i2c-mux.h> 11 #include <linux/io.h> 18 /* mlxcpld_mux - mux control structure: 19 * @last_val - last selected register value or -1 if mux deselected 20 * @client - I2C device client 29 /* MUX logic description. 30 * Driver can support different mux control logic, according to CPLD [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,pm8018-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,pm8018-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 19 - qcom,pm8018-adc 20 - qcom,pm8038-adc 21 - qcom,pm8058-adc 22 - qcom,pm8921-adc 29 xoadc-ref-supply: [all …]
|
/Linux-v5.15/drivers/iio/multiplexer/ |
D | iio-mux.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/mux/consumer.h> 28 struct mux { struct 38 static int iio_mux_select(struct mux *mux, int idx) in iio_mux_select() argument 40 struct mux_child *child = &mux->child[idx]; in iio_mux_select() 41 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select() 45 ret = mux_control_select(mux->control, chan->channel); in iio_mux_select() 47 mux->cached_state = -1; in iio_mux_select() 51 if (mux->cached_state == chan->channel) in iio_mux_select() 54 if (chan->ext_info) { in iio_mux_select() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/xilinx/ |
D | zynqmp-zcu111-revA.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2017 - 2019, Xilinx, Inc. 10 /dts-v1/; 13 #include "zynqmp-clk-ccf.dtsi" 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/phy/phy.h> 20 compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp"; 34 stdout-path = "serial0:115200n8"; 43 gpio-keys { [all …]
|
D | zynqmp-zcu106-revA.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2016 - 2019, Xilinx, Inc. 10 /dts-v1/; 13 #include "zynqmp-clk-ccf.dtsi" 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/phy/phy.h> 20 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp"; 35 stdout-path = "serial0:115200n8"; 43 gpio-keys { [all …]
|
D | zynqmp-zcu102-revA.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2015 - 2019, Xilinx, Inc. 10 /dts-v1/; 13 #include "zynqmp-clk-ccf.dtsi" 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/phy/phy.h> 20 compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; 35 stdout-path = "serial0:115200n8"; 43 gpio-keys { [all …]
|
/Linux-v5.15/drivers/pwm/ |
D | pwm-meson.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 13 * Setting the duty cycle will disable and re-enable the PWM output. 19 * https://dl.khadas.com/Hardware/VIM2/Datasheet/S912_Datasheet_V0.220170314publicversion-Wesion.pdf 23 * https://dn.odroid.com/S922X/ODROID-N2/Datasheet/S922X_Public_Datasheet_V0.2.pdf 33 #include <linux/clk-provider.h> 35 #include <linux/io.h> 94 struct clk_mux mux; member 123 struct meson_pwm_channel *channel; in meson_pwm_request() local 124 struct device *dev = chip->dev; in meson_pwm_request() 127 channel = pwm_get_chip_data(pwm); in meson_pwm_request() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/spi/ |
D | snps,dw-apb-ssi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/spi/snps,dw-apb-ssi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Brown <broonie@kernel.org> 13 - $ref: "spi-controller.yaml#" 14 - if: 19 - mscc,ocelot-spi 20 - mscc,jaguar2-spi 25 - if: [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pinctrl/ |
D | nvidia,tegra124-dpaux-padctl.txt | 5 which can be assigned to either the DPAUX channel or to an I2C 8 This document defines the device-specific binding for the DPAUX pad 9 controller. Refer to pinctrl-bindings.txt in this directory for generic 11 the binding document ../display/tegra/nvidia,tegra20-host1x.txt for more 15 ----------- 18 from the pinctrl-bindings.txt document. 21 needed to describe the pin mux'ing options for the DPAUX pads. 27 - groups: Must be "dpaux-io" 28 - function: Must be either "aux", "i2c" or "off". 31 -------- [all …]
|
/Linux-v5.15/sound/soc/codecs/ |
D | rt700.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt700.c -- rt700 ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 65 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect() 68 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect() 111 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 121 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 127 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect() 136 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect() 139 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect() [all …]
|
D | rt711.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt711.c -- rt711 ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 88 struct regmap *regmap = rt711->regmap; in rt711_calibration() 91 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration() 92 regmap_write(rt711->regmap, in rt711_calibration() 112 pr_err("%s, calibration time-out!\n", in rt711_calibration() 114 ret = -ETIMEDOUT; in rt711_calibration() 128 regmap_write(rt711->regmap, in rt711_calibration() 130 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/serial/ |
D | samsung_uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 15 node, according to serialN format, where N is the port number (non-negative 21 - enum: 22 - apple,s5l-uart 23 - samsung,s3c2410-uart 24 - samsung,s3c2412-uart [all …]
|
/Linux-v5.15/drivers/irqchip/ |
D | irq-meson-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/io.h> 36 #define REG_EDGE_POL_EDGE(params, x) BIT((params)->edge_single_offset + (x)) 37 #define REG_EDGE_POL_LOW(params, x) BIT((params)->pol_low_offset + (x)) 38 #define REG_BOTH_EDGE(params, x) BIT((params)->edge_both_offset + (x)) 48 unsigned int channel, unsigned long hwirq); 51 unsigned int channel, 57 unsigned int channel, unsigned long hwirq); 125 { .compatible = "amlogic,meson8-gpio-intc", .data = &meson8_params }, 126 { .compatible = "amlogic,meson8b-gpio-intc", .data = &meson8b_params }, [all …]
|
/Linux-v5.15/drivers/media/i2c/ |
D | max9286.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2017-2019 Jacopo Mondi 6 * Copyright (C) 2017-2019 Kieran Bingham 7 * Copyright (C) 2017-2019 Laurent Pinchart 8 * Copyright (C) 2017-2019 Niklas Söderlund 19 #include <linux/i2c-mux.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-fwnode.h> [all …]
|
/Linux-v5.15/drivers/iio/light/ |
D | si1133.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * si1133.c - Support for Silabs SI1133 combined ambient 6 * Copyright 2018 Maxime Roussin-Belanger <maxime.roussinbelanger@gmail.com> 225 {-2671, 234} 230 {-1022, 36363}, 232 { -367, 57909}, 233 {-1774, 38240}, 234 { -608, 46775}, 235 {-1503, 51831}, 236 {-1886, 58928} [all …]
|