| /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-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 …]
|
| D | rt286.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt286.c -- RT286 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 196 snd_soc_component_write(component, rt286->index_cache[i].reg, in rt286_index_sync() 197 rt286->index_cache[i].def); in rt286_index_sync() 223 if (!rt286->component) in rt286_jack_detect() 224 return -EINVAL; in rt286_jack_detect() 226 dapm = snd_soc_component_get_dapm(rt286->component); in rt286_jack_detect() 228 if (rt286->pdata.cbj_en) { in rt286_jack_detect() 229 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect() [all …]
|
| D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 55 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_target_tlv, -1650, 150, 0); 57 0, 4, TLV_DB_SCALE_ITEM(-1200, 150, 0), [all …]
|
| D | rt298.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt298.c -- RT298 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 200 snd_soc_component_write(component, rt298->index_cache[i].reg, in rt298_index_sync() 201 rt298->index_cache[i].def); in rt298_index_sync() 227 if (!rt298->component) in rt298_jack_detect() 228 return -EINVAL; in rt298_jack_detect() 230 dapm = snd_soc_component_get_dapm(rt298->component); in rt298_jack_detect() 232 if (rt298->pdata.cbj_en) { in rt298_jack_detect() 233 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect() [all …]
|
| D | wm8753.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8753.c -- WM8753 ALSA Soc Audio driver 5 * Copyright 2003-11 Wolfson Microelectronics PLC. 12 * Dual DAI:- 23 * Fast DAI switching:- 166 static const char *wm8753_line_mix[] = {"Line 1 + 2", "Line 1 - 2", 171 static const char *wm8753_rxmsel[] = {"RXP - RXN", "RXP + RXN", "RXP", "RXN"}; 176 static const char *wm8753_out3[] = {"VREF", "ROUT2", "Left + Right"}; 177 static const char *wm8753_out4[] = {"VREF", "Capture ST", "LOUT2"}; 178 static const char *wm8753_radcsel[] = {"PGA", "Line or RXP-RXN", "Sidetone"}; [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 …]
|
| D | meson_saradc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 15 #include <linux/nvmem-consumer.h> 96 (8 + (((_chan) - 2) * 3)) 153 * and u-boot source served as reference). These only seem to be relevant on 269 struct regulator *vref; member 306 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_get_fifo_count() 317 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val() 319 return clamp(tmp, 0, (1 << priv->param->resolution) - 1); in meson_sar_adc_calib_val() 334 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_wait_busy_clear() [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 …]
|
| D | imx7d-nitrogen7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 /dts-v1/; 12 compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d"; 19 backlight-j9 { 20 compatible = "gpio-backlight"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_backlight_j9>; 24 default-on; 27 backlight_lcd: backlight-j20 { 28 compatible = "pwm-backlight"; [all …]
|
| D | imx6ul-phytec-segin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite"; 9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul"; 16 reg_sound_1v8: regulator-1v8 { 17 compatible = "regulator-fixed"; 18 regulator-name = "i2s-audio-1v8"; 19 regulator-min-microvolt = <1800000>; 20 regulator-max-microvolt = <1800000>; 24 reg_sound_3v3: regulator-3v3 { 25 compatible = "regulator-fixed"; [all …]
|
| 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 { 31 wakeup-source; [all …]
|
| D | at91-sama5d4ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d4ek.dts - Device Tree file for SAMA5D4 Evaluation Kit 8 /dts-v1/; 12 model = "Atmel SAMA5D4-EK"; 16 stdout-path = "serial0:115200n8"; 25 clock-frequency = <32768>; 29 clock-frequency = <12000000>; 36 pinctrl-names = "default"; 37 pinctrl-0 = < 45 /* The vref depends on JP22 of EK. If connect 1-2 then use 3.3V. connect 2-3 use 3.0V */ [all …]
|
| D | imx6ul-ccimx6ulsom.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Digi International's ConnectCore 6UL System-On-Module device tree source 12 reg = <0x80000000 0>; /* will be filled by U-Boot */ 15 reserved-memory { 16 #address-cells = <1>; 17 #size-cells = <1>; 21 compatible = "shared-dma-pool"; 24 linux,cma-default; 30 vref-supply = <&vdda_adc_3v3>; 34 pinctrl-names = "default"; [all …]
|
| D | omap3-devkit8000-lcd-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "omap3-devkit8000-common.dtsi" 15 compatible = "panel-dpi"; 18 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>; 22 remote-endpoint = <&dpi_lcd_out>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 remote-endpoint = <&lcd_in>; 35 data-lines = <24>; 41 regulator-min-microvolt = <1800000>; [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 …]
|