| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value. 32 - cirrus,multi-amp-mode : Boolean to determine if there are more than 33 one amplifier in the system. If more than one it is best to Hi-Z the ASP 36 - cirrus,boost-ctl-select : Boost conerter control source selection. 39 0x00 - Control Port Value [all …]
|
| /kernel/linux/linux-5.10/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 | 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-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"; 26 #address-cells = <1>; 27 #size-cells = <0>; 29 user-pb { [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 …]
|
| D | imx6q-cm-fx6.dts | 6 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 50 model = "CompuLab CM-FX6"; 51 compatible = "compulab,cm-fx6", "fsl,imx6q"; 59 compatible = "gpio-leds"; 61 heartbeat-led { 63 gpios = <&gpio2 31 0>; 64 linux,default-trigger = "heartbeat"; [all …]
|
| D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 16 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 17 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 33 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; 46 cpu0-supply = <&vcc>; [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | s5k5baf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <media/media-entity.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-subdev.h> 29 #include <media/v4l2-mediabus.h> 30 #include <media/v4l2-fwnode.h> 39 #define S5K5BAF_FW_FILENAME "s5k5baf-cfg.bin" 51 /* Default number of MIPI CSI-2 data lanes used */ 200 /* Auto-algorithms enable mask */ [all …]
|
| /kernel/linux/linux-5.10/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] > 3) in speaker_gain_control_put() 68 return -EINVAL; in speaker_gain_control_put() 70 priv->gain = ucontrol->value.integer.value[0]; in speaker_gain_control_put() [all …]
|
| D | tlv320aic32x4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Author: Javier Martin <javier.martin@vista-silicon.com> 30 #include <sound/soc-dapm.h> 56 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aic32x4_reset_adc() 78 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in mic_bias_event() 109 ucontrol->value.integer.value[0] = (val & 0x01); in aic32x4_get_mfp1_gpio() 126 return -EINVAL; in aic32x4_set_mfp2_gpio() 129 if (ucontrol->value.integer.value[0] == (val & AIC32X4_MFP2_GPIO_OUT_HIGH)) in aic32x4_set_mfp2_gpio() 132 if (ucontrol->value.integer.value[0]) in aic32x4_set_mfp2_gpio() 133 val |= ucontrol->value.integer.value[0]; in aic32x4_set_mfp2_gpio() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| D | leds-is31fl319x.txt | 4 - compatible : Should be any of 10 "si-en,sn3199". 11 - #address-cells: Must be 1. 12 - #size-cells: Must be 0. 13 - reg: 0x64, 0x65, 0x66, or 0x67. 16 - audio-gain-db : audio gain selection for external analog modulation input. 17 Valid values: 0 - 21, step by 3 (rounded down) 19 - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip. 21 Each led is represented as a sub-node of the issi,is31fl319x device. 24 Required led sub-node properties: [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/include/linux/ssb/ |
| D | ssb_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE) 108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */ 168 * in two-byte quantities. 202 #define SSB_SPROM1_BINF_ANTBG 0x3000 /* Available B-PHY and G-PHY antennas */ 204 #define SSB_SPROM1_BINF_ANTA 0xC000 /* Available A-PHY antennas */ 218 #define SSB_SPROM1_MAXPWR_BG 0x00FF /* B-PHY and G-PHY (in dBm Q5.2) */ 219 #define SSB_SPROM1_MAXPWR_A 0xFF00 /* A-PHY (in dBm Q5.2) */ 225 #define SSB_SPROM1_ITSSI_BG 0x00FF /* B-PHY and G-PHY*/ 226 #define SSB_SPROM1_ITSSI_A 0xFF00 /* A-PHY */ [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/proximity/ |
| D | sx9500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 77 #define SX9500_CHAN_MASK GENMASK(SX9500_NUM_CHANNELS - 1, 0) 171 regmap_reg_range(SX9500_REG_IRQ_MSK + 1, SX9500_REG_PROX_CTRL0 - 1), 172 regmap_reg_range(SX9500_REG_PROX_CTRL8 + 1, SX9500_REG_SENSOR_SEL - 1), 173 regmap_reg_range(SX9500_REG_OFFSET_LSB + 1, SX9500_REG_RESET - 1), 212 return regmap_update_bits(data->regmap, reg, bitmask, bitmask); in sx9500_inc_users() 218 (*counter)--; in sx9500_dec_users() 223 return regmap_update_bits(data->regmap, reg, bitmask, 0); in sx9500_dec_users() 228 return sx9500_inc_users(data, &data->channel_users[chan], in sx9500_inc_chan_users() 234 return sx9500_dec_users(data, &data->channel_users[chan], in sx9500_dec_chan_users() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 148 Say yes here to build support for Analog Devices AD7766, AD7766-1, 149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/apm/ |
| D | apm-storm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Storm SOC 9 compatible = "apm,xgene-storm"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <2>; 16 #size-cells = <0>; 22 enable-method = "spin-table"; 23 cpu-release-addr = <0x1 0x0000fff8>; [all …]
|