Home
last modified time | relevance | path

Searched +full:gain +full:- +full:gpios (Results 1 – 25 of 61) sorted by relevance

123

/linux/drivers/iio/amplifiers/
H A Dhmc425a.c1 // SPDX-License-Identifier: GPL-2.0
3 * HMC425A and similar Gain Amplifiers
26 * The LTC6373 amplifier supports configuring gain using GPIO's with the following
30 * From here, it is observed that all values are multiples of the '2' gain setting,
56 int (*gain_dB_to_code)(int gain, int *code);
63 struct gpio_descs *gpios; member
64 u32 gain; member
70 const struct hmc425a_chip_info *inf = st->chip_info; in gain_dB_to_code()
71 int gain; in gain_dB_to_code() local
74 gain = (val * 1000) - (val2 / 1000); in gain_dB_to_code()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dmaxim,max9759.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Otabek Nazrullaev <otabeknazrullaev1998@gmail.com>
16 shutdown-gpios:
20 mute-gpios:
24 gain-gpios:
26 description: the 2 gpios connected to the g1 and g2 pins
29 - compatible
30 - shutdown-gpios
[all …]
H A Dcs35l34.txt5 - 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 …]
H A Dcs35l35.txt5 - 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 …]
H A Drenesas,idt821034.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
14 programmable gain setting.
16 The time-slots used by the codec must be set and so, the properties
17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for
19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per
21 'dai-tdm-tdm-slot-with' must be set to 8.
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7780.yaml1 # 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 GPI
[all...]
H A Dadi,ad4000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
H A Davia-hx711.yaml1 # 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 …]
H A Dti,ads1119.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
13 The TI ADS1119 is a precision 16-bit ADC over I2C that offers single-ended and
15 gain, a programmable sample rate, an internal oscillator and voltage reference,
28 reset-gpios:
31 avdd-supply: true
32 dvdd-supply: true
34 vref-supply:
[all …]
/linux/sound/soc/codecs/
H A Dmax9759.c1 // 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/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-prti6g.dts1 // 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 …]
H A Dimx6q-prti6q.dts1 // 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 …]
H A Dimx6qdl-vicut1.dtsi1 // 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 …]
H A Dimx6qdl-gw5907.dtsi1 // 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 …]
/linux/drivers/media/i2c/
H A Dov9650.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <media/media-entity.h>
25 #include <media/v4l2-async.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
28 #include <media/v4l2-event.h>
29 #include <media/v4l2-image-sizes.h>
30 #include <media/v4l2-subdev.h>
31 #include <media/v4l2-mediabus.h>
35 MODULE_PARM_DESC(debug, "Debug level (0-2)");
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dissi,is31fl319x.yaml1 # 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/arch/arm64/boot/dts/freescale/
H A Dimx8mp-verdin.dtsi1 // 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 = &uart3;
24 compatible = "pwm-backlight";
25 brightness-levels = <0 45 63 88 119 158 203 255>;
26 default-brightness-level = <4>;
28 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>;
[all …]
H A Dimx8mp-debix-som-a.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/leds/common.h>
13 compatible = "polyhex,imx8mp-debix-som-a", "fsl,imx8mp";
15 reg_usdhc2_vmmc: regulator-usdhc2 {
16 compatible = "regulator-fixed";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
19 regulator-name = "VSD_3V3";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
[all …]
H A Dimx8mp-dhcom-pdk3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2
7 * DHCOM PCB number: 660-100 or newer
8 * PDK3 PCB number: 669-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/phy/phy-imx8-pcie.h>
15 #include "imx8mp-dhcom-som.dtsi"
19 compatible = "dh,imx8mp-dhcom-pdk3", "dh,imx8mp-dhcom-som",
23 stdout-path = &uart1;
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2711-rpi-cm4.dtsi1 // 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";
15 sd_io_1v8_reg: regulator-sd-io-1v8 {
16 compatible = "regulator-gpio";
17 regulator-name = "vdd-sd-io";
18 regulator-min-microvolt = <1800000>;
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dedt-ft5x06.yaml1 # 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
18 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 - $ref: touchscreen.yaml#
22 - if:
27 - evervision,ev-ft5726
31 offset-x: true
[all …]
H A Dhycon,hy46xx.yaml1 # 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/arch/arm/boot/dts/microchip/
H A Dat91-natte.dtsi1 // 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/arch/arm/boot/dts/st/
H A Dstm32mp135f-dhcor-dhsbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG
7 * DHCOR PCB number: 718-100 or newer
8 * DHSBC PCB number: 719-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
16 #include "stm32mp13xx-dhcor-som.dtsi"
20 compatible = "dh,stm32mp135f-dhcor-dhsbc",
21 "dh,stm32mp135f-dhcor-som",
32 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-verdin.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/net/ti-dp83867.h>
18 stdout-path = "serial2:115200n8";
46 compatible = "gpio-usb-b-connector", "usb-b-connector";
47 pinctrl-names = "default";
[all …]

123