| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | ti-adc12138.txt | 4 - compatible: Should be one of 8 - reg: SPI chip select number for the device 9 - interrupts: Should contain interrupt for EOC (end of conversion) 10 - clocks: phandle to conversion clock input 11 - spi-max-frequency: Definision as per 12 Documentation/devicetree/bindings/spi/spi-bus.txt 13 - vref-p-supply: The regulator supply for positive analog voltage reference 16 - vref-n-supply: The regulator supply for negative analog voltage reference 17 (Note that this must not go below GND or exceed vref-p) 19 - ti,acquisition-time: The number of conversion clock periods for the S/H's [all …]
|
| D | vf610-adc.txt | 7 - compatible: Should contain "fsl,vf610-adc" 8 - reg: Offset and length of the register set for the device 9 - interrupts: Should contain the interrupt for the device 10 - clocks: The clock is needed by the ADC controller, ADC clock source is ipg clock. 11 - clock-names: Must contain "adc", matching entry in the clocks property. 12 - vref-supply: The regulator supply ADC reference voltage. 15 - fsl,adck-max-frequency: Maximum frequencies according to datasheets operating 17 - Frequency in normal mode (ADLPC=0, ADHSC=0) 18 - Frequency in high-speed mode (ADLPC=0, ADHSC=1) 19 - Frequency in low-power mode (ADLPC=1, ADHSC=0) [all …]
|
| D | st,stm32-adc.txt | 3 STM32 ADC is a successive approximation analog-to-digital converter. 6 stored in a left-aligned or right-aligned 32-bit data register. 10 voltage goes beyond the user-defined, higher or lower thresholds. 16 - regular conversion can be done in sequence, running in background 17 - injected conversions have higher priority, and so have the ability to 22 ----------------------------------- 24 - compatible: Should be one of: 25 "st,stm32f4-adc-core" 26 "st,stm32h7-adc-core" 27 "st,stm32mp1-adc-core" [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/ |
| D | ads7846.txt | 7 Documentation/devicetree/bindings/spi/spi-bus.txt 23 vcc-supply A regulator node for the supply voltage. 28 ti,vref-delay-usecs vref supply delay in usecs, 0 for 29 external vref (u16). 30 ti,vref-mv The VREF voltage, in millivolts (u16). 33 ti,keep-vref-on set to keep vref on for differential 35 ti,swap-xy swap x and y axis 36 ti,settle-delay-usec Settling time of the analog signals; 38 on the X/Y drivers. If set to non-zero, 42 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | ti,adc12138.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs 10 - Akinobu Mita <akinobu.mita@gmail.com> 19 - ti,adc12130 20 - ti,adc12132 21 - ti,adc12138 34 spi-max-frequency: true 36 vref-p-supply: [all …]
|
| D | fsl,vf610-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fugang Duan <fugang.duan@nxp.com> 17 const: fsl,vf610-adc 26 description: ADC source clock (ipg clock) 29 clock-names: 32 vref-supply: 35 fsl,adck-max-frequency: [all …]
|
| D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 STM32 ADC is a successive approximation analog-to-digital converter. 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | ads7846.txt | 7 Documentation/devicetree/bindings/spi/spi-bus.txt 23 vcc-supply A regulator node for the supply voltage. 28 ti,vref-delay-usecs vref supply delay in usecs, 0 for 29 external vref (u16). 30 ti,vref-mv The VREF voltage, in millivolts (u16). 33 ti,keep-vref-on set to keep vref on for differential 35 ti,settle-delay-usec Settling time of the analog signals; 37 on the X/Y drivers. If set to non-zero, 41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are 47 ti,x-plate-ohms Resistance of the X-plate, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Dan Murphy <dmurphy@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 30 - const: ti,tlv320adc6140 [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-nitrogen.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "boundary,imx8mq-nitrogen8m", "fsl,imx8mq"; 16 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpio_keys>; 33 wakeup-source; [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/adc/ |
| D | stm32-adc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 8 * Inspired from: fsl-imx25-tsadc 22 #include "stm32-adc-core.h" 25 * stm32_adc_common_regs - stm32 common registers, compatible dependent data 45 * stm32_adc_priv_cfg - stm32 core compatible configuration data 57 * struct stm32_adc_priv - stm32 ADC core private data 62 * @vref: regulator reference 71 struct regulator *vref; member 85 * stm32f4_adc_clk_sel() - Select stm32f4 ADC common clock prescaler [all …]
|
| D | vf610_adc.c | 44 #define DRIVER_NAME "vf610-adc" 175 struct regulator *vref; member 191 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_calculate_rates() 192 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates() 196 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates() 201 adc_feature->clk_div = 1 << fls(divisor + 1); in vf610_adc_calculate_rates() 203 /* fall-back value using a safe divisor */ in vf610_adc_calculate_rates() 204 adc_feature->clk_div = 8; in vf610_adc_calculate_rates() 207 adck_rate = ipg_rate / adc_feature->clk_div; in vf610_adc_calculate_rates() 214 lst_addr_min = adc_feature->default_sample_time / adck_period; in vf610_adc_calculate_rates() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | adau1977.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 156 static const DECLARE_TLV_DB_MINMAX_MUTE(adau1977_adc_gain, -3562, 6000); 164 SND_SOC_DAPM_SUPPLY("Vref", ADAU1977_REG_BLOCK_POWER_SAI, 177 SND_SOC_DAPM_OUTPUT("VREF"), 186 { "ADC1", NULL, "Vref" }, 187 { "ADC2", NULL, "Vref" }, 188 { "ADC3", NULL, "Vref" }, 189 { "ADC4", NULL, "Vref" }, 191 { "VREF", NULL, "Vref" }, [all …]
|
| D | rt1305.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt1305.c -- RT1305 ALSA SoC amplifier component driver 25 #include <sound/soc-dapm.h> 249 regmap_multi_reg_write(rt1305->regmap, init_list, RT1305_INIT_REG_LEN); in rt1305_reg_init() 381 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -9435, 37, 0); 406 static int rt1305_is_rc_clk_from_pll(struct snd_soc_dapm_widget *source, in rt1305_is_rc_clk_from_pll() argument 410 snd_soc_dapm_to_component(source->dapm); in rt1305_is_rc_clk_from_pll() 416 if (rt1305->sysclk_src == RT1305_FS_SYS_PRE_S_PLL1 && in rt1305_is_rc_clk_from_pll() 423 static int rt1305_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source, in rt1305_is_sys_clk_from_pll() argument 427 snd_soc_dapm_to_component(source->dapm); in rt1305_is_sys_clk_from_pll() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | adau1977.c | 5 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 * Licensed under the GPL-2. 157 static const DECLARE_TLV_DB_MINMAX_MUTE(adau1977_adc_gain, -3562, 6000); 165 SND_SOC_DAPM_SUPPLY("Vref", ADAU1977_REG_BLOCK_POWER_SAI, 178 SND_SOC_DAPM_OUTPUT("VREF"), 187 { "ADC1", NULL, "Vref" }, 188 { "ADC2", NULL, "Vref" }, 189 { "ADC3", NULL, "Vref" }, 190 { "ADC4", NULL, "Vref" }, 192 { "VREF", NULL, "Vref" }, [all …]
|
| D | rt1305.c | 2 * rt1305.c -- RT1305 ALSA SoC amplifier component driver 28 #include <sound/soc-dapm.h> 252 regmap_multi_reg_write(rt1305->regmap, init_list, RT1305_INIT_REG_LEN); in rt1305_reg_init() 384 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -9435, 37, 0); 409 static int rt1305_is_rc_clk_from_pll(struct snd_soc_dapm_widget *source, in rt1305_is_rc_clk_from_pll() argument 413 snd_soc_dapm_to_component(source->dapm); in rt1305_is_rc_clk_from_pll() 419 if (rt1305->sysclk_src == RT1305_FS_SYS_PRE_S_PLL1 && in rt1305_is_rc_clk_from_pll() 426 static int rt1305_is_sys_clk_from_pll(struct snd_soc_dapm_widget *source, in rt1305_is_sys_clk_from_pll() argument 430 snd_soc_dapm_to_component(source->dapm); in rt1305_is_sys_clk_from_pll() 433 if (rt1305->sysclk_src == RT1305_FS_SYS_PRE_S_PLL1) in rt1305_is_sys_clk_from_pll() [all …]
|
| D | es8316.c | 2 * es8316.c -- es8316 ALSA SoC audio driver 5 * Authors: David Yang <yangxiaohua@everest-semi.com>, 22 #include <sound/soc-dapm.h> 44 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 45 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 46 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 47 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 48 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_target_tlv, -1650, 150, 0); 50 0, 4, TLV_DB_SCALE_ITEM(-1200, 150, 0), 51 8, 11, TLV_DB_SCALE_ITEM(-450, 150, 0), [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | adi,ad5770r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Mircea Caprioru <mircea.caprioru@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf 21 - adi,ad5770r 26 avdd-supply: 31 iovdd-supply: 35 vref-supply: 41 adi,external-resistor: [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stm32-adc-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 8 * Inspired from: fsl-imx25-tsadc 25 #include "stm32-adc-core.h" 41 * struct stm32_adc_common_regs - stm32 common registers 61 * struct stm32_adc_priv_cfg - stm32 core compatible configuration data 77 * struct stm32_adc_priv - stm32 ADC core private data 86 * @vref: regulator reference 103 struct regulator *vref; member 121 * stm32f4_adc_clk_sel() - Select stm32f4 ADC common clock prescaler [all …]
|
| D | vf610_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 #define DRIVER_NAME "vf610-adc" 162 struct regulator *vref; member 182 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_calculate_rates() 183 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates() 187 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates() 192 adc_feature->clk_div = 1 << fls(divisor + 1); in vf610_adc_calculate_rates() 194 /* fall-back value using a safe divisor */ in vf610_adc_calculate_rates() 195 adc_feature->clk_div = 8; in vf610_adc_calculate_rates() 198 adck_rate = ipg_rate / adc_feature->clk_div; in vf610_adc_calculate_rates() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32429i-eval.dts | 2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 /dts-v1/; 50 #include "stm32f429-pinctrl.dtsi" 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/gpio/gpio.h> 55 model = "STMicroelectronics STM32429i-EVAL board"; 56 compatible = "st,stm32429i-eval", "st,stm32f429"; 60 stdout-path = "serial0:115200n8"; [all …]
|
| D | imx6ul-kontron-n6x1x-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 11 gpio-leds { 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 17 label = "debug-led1"; 19 default-state = "off"; 20 linux,default-trigger = "heartbeat"; 24 label = "debug-led2"; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 11 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 14 stdout-path = &uart1; 22 gpio-keys { 23 compatible = "gpio-keys"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpio_keys>; 27 volume-up { 33 volume-down { [all …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | ads7846.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - corgi_ts.c 11 * Copyright (C) 2004-2005 Richard Purdie 12 * - omap_ts.[hc], ads7846.h, ts_osk.c 42 * Support for ads7843 tested on Atmel at91sam926x-EK. 56 * note. The strength of filtering can be set in the board-* specific 70 * with msbs zeroed). Instead, we read them as two 8-bit values, 83 * driver is used with DMA-based SPI controllers (like atmel_spi) on 84 * systems where main memory is not DMA-coherent (most non-x86 boards). 90 /* for ads7845 with mpc5121 psc spi we use 3-byte buffers */ [all …]
|
| /kernel/linux/linux-4.19/drivers/input/touchscreen/ |
| D | ads7846.c | 9 * - corgi_ts.c 10 * Copyright (C) 2004-2005 Richard Purdie 11 * - omap_ts.[hc], ads7846.h, ts_osk.c 43 * Support for ads7843 tested on Atmel at91sam926x-EK. 57 * note. The strength of filtering can be set in the board-* specific 71 * with msbs zeroed). Instead, we read them as two 8-bit values, 84 * driver is used with DMA-based SPI controllers (like atmel_spi) on 85 * systems where main memory is not DMA-coherent (most non-x86 boards). 91 /* for ads7845 with mpc5121 psc spi we use 3-byte buffers */ 149 /* leave chip selected when we're done, for quicker re-select? */ [all …]
|