/Linux-v6.1/drivers/iio/amplifiers/ |
D | hmc425a.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * HMC425A and similar Gain Amplifiers 40 struct gpio_descs *gpios; member 42 u32 gain; member 52 gpiod_set_array_value_cansleep(st->gpios->ndescs, st->gpios->desc, in hmc425a_write() 62 int code, gain = 0; in hmc425a_read_raw() local 65 mutex_lock(&st->lock); in hmc425a_read_raw() 68 code = st->gain; in hmc425a_read_raw() 70 switch (st->type) { in hmc425a_read_raw() 72 gain = ~code * -500; in hmc425a_read_raw() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7780.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 13 The ad7780 is a sigma-delta analog to digital converter. This driver provides 15 Its interface also allows writing on the FILTER and GAIN GPIO pins on the 20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf 22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf 24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf 26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf [all …]
|
D | avia-hx711.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Andreas Klinger <ak@it-klinger.de> 13 Bit-banging driver using two GPIOs: 14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval 15 and up to 3 cycles for selection of the input channel and gain for the 17 - dout-gpio is the sensor data the sensor responds to the clock 25 - avia,hx711 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | maxim,max9759.txt | 5 - compatible : "maxim,max9759" 6 - shutdown-gpios : the gpio connected to the shutdown pin 7 - mute-gpios : the gpio connected to the mute pin 8 - gain-gpios : the 2 gpios connected to the g1 and g2 pins 12 max9759: analog-amplifier { 14 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; 15 mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; 16 gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>,
|
D | cs35l34.txt | 5 - compatible : "cirrus,cs35l34" 7 - reg : the I2C address of the device for I2C. 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-vtge-millivolt : Boost Voltage Value. Configures the boost 17 - cirrus,boost-nanohenry: Inductor value for boost converter. The value is 22 - reset-gpios: GPIO used to reset the amplifier. 24 - interrupts : IRQ line info CS35L34. 25 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 28 - cirrus,boost-peak-milliamp : Boost converter peak current limit in mA. The 32 - cirrus,i2s-sdinloc : ADSP SDIN I2S channel location. Indicates whether the [all …]
|
D | cs35l35.txt | 5 - compatible : "cirrus,cs35l35" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - interrupts : IRQ line info CS35L35. 14 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 17 - cirrus,boost-ind-nanohenry: Inductor value for boost converter. The value is 21 - reset-gpios : gpio used to reset the amplifier 23 - cirrus,stereo-config : Boolean to determine if there are 2 AMPs for a 26 - cirrus,audio-channel : Set Location of Audio Signal on Serial Port 30 - cirrus,advisory-channel : Set Location of Advisory Signal on Serial Port [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx6dl-prtrvt.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 21 compatible = "gpio-leds"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&pinctrl_leds>; 25 led-debug0 { 27 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; 28 linux,default-trigger = "heartbeat"; [all …]
|
D | imx6q-prtwd2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 26 compatible = "mmc-pwrseq-simple"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pinctrl_wifi_npd>; 29 reset-gpios = <&gpio6 10 GPIO_ACTIVE_LOW>; 34 compatible = "i2c-gpio"; 35 pinctrl-names = "default"; [all …]
|
D | imx6ul-prti6g.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = &uart1; 19 clock_ksz8081_in: clock-ksz8081-in { 20 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <25000000>; 25 clock_ksz8081_out: clock-ksz8081-out { 26 compatible = "fixed-clock"; [all …]
|
D | imx6qp-prtwd3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = &uart4; 29 clock_ksz8081: clock-ksz8081 { 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; 32 clock-frequency = <50000000>; 35 clock_ksz9031: clock-ksz9031 { 36 compatible = "fixed-clock"; [all …]
|
D | imx6q-prti6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6qdl-prti6q.dtsi" 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 backlight_lcd: backlight-lcd { 22 compatible = "pwm-backlight"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_backlight>; 26 brightness-levels = <0 16 64 255>; [all …]
|
D | imx6qdl-vicut1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 #include <dt-bindings/display/sdtv-standards.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/media/tvp5150.h> 12 #include <dt-bindings/sound/fsl-imx-audmux.h> 16 stdout-path = &uart4; 20 compatible = "pwm-backlight"; 21 pinctrl-names = "default"; [all …]
|
D | imx6dl-prtmvt.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 8 #include <dt-bindings/display/sdtv-standards.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/tvp5150.h> 13 #include <dt-bindings/sound/fsl-imx-audmux.h> 21 stdout-path = &uart4; 25 compatible = "pwm-backlight"; [all …]
|
D | imx6qdl-gw5907.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 29 gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>; 33 user-pb1x { [all …]
|
D | bcm2711-rpi-cm4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "bcm2711-rpi.dtsi" 5 #include "bcm283x-rpi-wifi-bt.dtsi" 8 compatible = "raspberrypi,4-compute-module", "brcm,bcm2711"; 12 stdout-path = "serial1:115200n8"; 16 compatible = "regulator-gpio"; 17 regulator-name = "vdd-sd-io"; 18 regulator-min-microvolt = <1800000>; 19 regulator-max-microvolt = <3300000>; [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 { 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 …]
|
/Linux-v6.1/drivers/media/i2c/ |
D | ov9650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <media/media-entity.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-event.h> 30 #include <media/v4l2-image-sizes.h> 31 #include <media/v4l2-subdev.h> 32 #include <media/v4l2-mediabus.h> 37 MODULE_PARM_DESC(debug, "Debug level (0-2)"); [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | max9759.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <sound/soc-dapm.h> 22 unsigned int gain; member 28 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in pga_event() 32 gpiod_set_value_cansleep(priv->gpiod_shutdown, 0); in pga_event() 34 gpiod_set_value_cansleep(priv->gpiod_shutdown, 1); in pga_event() 48 ucontrol->value.integer.value[0] = priv->gain; in speaker_gain_control_get() 67 if (ucontrol->value.integer.value[0] < 0 || in speaker_gain_control_put() 68 ucontrol->value.integer.value[0] > 3) in speaker_gain_control_put() 69 return -EINVAL; in speaker_gain_control_put() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ad3552r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf 22 - adi,ad3542r 23 - adi,ad3552r 28 spi-max-frequency: 31 reset-gpios: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/leds/ |
D | issi,is31fl319x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vincent Knecht <vincent.knecht@mailoo.org> 14 Previously known as Si-En SN319{0,1,3,6,9}. 26 - issi,is31fl3190 27 - issi,is31fl3191 28 - issi,is31fl3193 29 - issi,is31fl3196 30 - issi,is31fl3199 [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include "dt-bindings/phy/phy-imx8-pcie.h" 7 #include "dt-bindings/pwm/pwm.h" 12 stdout-path = &uart1; 21 compatible = "pwm-backlight"; 22 brightness-levels = <0 45 63 88 119 158 203 255>; 23 default-brightness-level = <4>; 25 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; [all …]
|
D | imx8mp-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include "dt-bindings/pwm/pwm.h" 11 stdout-path = &uart3; 23 compatible = "pwm-backlight"; 24 brightness-levels = <0 45 63 88 119 158 203 255>; 25 default-brightness-level = <4>; 27 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; 30 power-supply = <®_3p3v>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | edt-ft5x06.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: FocalTech EDT-FT5x06 Polytouch Bindings 18 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 21 - $ref: touchscreen.yaml# 22 - if: 27 - evervision,ev-ft5726 31 offset-x: true [all …]
|
D | hycon,hy46xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Glass: 0.3mm--4.0mm 12 PET/PMMA: 0.2mm--2.0mm 13 HY4613(B)-N048 < 6" 14 HY4614(B)-N068 7" .. 10.1" 15 HY4621-NS32 < 5" 16 HY4623-NS48 5.1" .. 7" 17 Glass: 0.3mm--8.0mm [all …]
|
/Linux-v6.1/sound/soc/samsung/ |
D | s3c24xx_simtec.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/platform_data/asoc-s3c24xx_simtec.h> 13 #include "s3c24xx-i2s.h" 23 * speaker_gain_get - read the speaker gain setting. 24 * @kcontrol: The control for the speaker gain. 27 * Read the value for the AMP gain control. 32 ucontrol->value.integer.value[0] = spk_gain; in speaker_gain_get() 37 * speaker_gain_set - set the value of the speaker amp gain 42 gpio_set_value_cansleep(pdata->amp_gain[0], value & 1); in speaker_gain_set() 43 gpio_set_value_cansleep(pdata->amp_gain[1], value >> 1); in speaker_gain_set() [all …]
|