Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/iio/amplifiers/
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-6.12.1/Documentation/devicetree/bindings/sound/
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 …]
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 …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
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 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 …]
Dadi,ad4000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marcelo Schmitt <marcelo.schmitt@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4020-4021-4022.pdf
20 https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4001.pdf
[all …]
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 …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6dl-prtrvt.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>
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 …]
Dimx6q-prtwd2.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/leds/common.h>
25 clk50m_phy: phy-clock {
26 compatible = "fixed-clock";
27 #clock-cells = <0>;
28 clock-frequency = <50000000>;
29 clock-output-names = "enet_ref_pad";
33 compatible = "mmc-pwrseq-simple";
[all …]
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 …]
Dimx6qp-prtwd3.dts1 // 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 …]
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 …]
Dimx6dl-prtmvt.dts1 // 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 …]
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 …]
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-6.12.1/sound/soc/codecs/
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-6.12.1/drivers/iio/frequency/
Dadmfm2000.c1 // SPDX-License-Identifier: GPL-2.0
23 #define ADMFM2000_MIN_GAIN -31000
24 #define ADMFM2000_DEFAULT_GAIN -0x20
32 u32 gain[2]; member
43 gpiod_set_value_cansleep(st->sw1_ch[i], (chan == 0) ? 1 : 0); in admfm2000_mode()
44 gpiod_set_value_cansleep(st->sw2_ch[i], (chan == 0) ? 0 : 1); in admfm2000_mode()
49 gpiod_set_value_cansleep(st->sw1_ch[i], (chan == 0) ? 0 : 1); in admfm2000_mode()
50 gpiod_set_value_cansleep(st->sw2_ch[i], (chan == 0) ? 1 : 0); in admfm2000_mode()
54 return -EINVAL; in admfm2000_mode()
66 gpiod_set_value_cansleep(st->dsa1_gpios[i], value & (1 << i)); in admfm2000_attenuation()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/
Dadi,ad3552r.yaml1 # 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/ad3541r.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf
24 - adi,ad3541r
25 - adi,ad3542r
[all …]
/linux-6.12.1/drivers/media/i2c/
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-6.12.1/Documentation/devicetree/bindings/leds/
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-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mm-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>
9 #include "imx8mm-overdrive.dtsi"
13 stdout-path = &uart1;
22 compatible = "pwm-backlight";
23 brightness-levels = <0 45 63 88 119 158 203 255>;
24 default-brightness-level = <4>;
26 enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
27 pinctrl-names = "default";
[all …]
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 …]
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 …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
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-6.12.1/Documentation/devicetree/bindings/input/touchscreen/
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 …]
/linux-6.12.1/arch/arm/boot/dts/microchip/
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 …]

1234