| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | at91_adc.txt | 1 * AT91's Analog to Digital Converter (ADC) 4 - compatible: Should be "atmel,<chip>-adc" 6 - reg: Should contain ADC registers location and length 7 - interrupts: Should contain the IRQ line for the ADC 8 - clock-names: tuple listing input clock names. 10 - clocks: phandles to input clocks. 11 - atmel,adc-channels-used: Bitmask of the channels muxed and enabled for this 13 - atmel,adc-startup-time: Startup Time of the ADC in microseconds as 15 - atmel,adc-vref: Reference voltage in millivolts for the conversions 16 - atmel,adc-res: List of resolutions in bits supported by the ADC. List size [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | atmel,sama9260-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AT91 sama9260 and similar Analog to Digital Converter (ADC) 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - atmel,at91sam9260-adc 16 - atmel,at91sam9rl-adc 17 - atmel,at91sam9g45-adc 18 - atmel,at91sam9x5-adc [all …]
|
| D | ti,am3359-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/ti,am3359-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI AM3359 ADC 10 - Miquel Raynal <miquel.raynal@bootlin.com> 15 - enum: 16 - ti,am3359-adc 17 - ti,am4372-adc 18 - items: [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | stm32mp15xx-dhcor-drc-compact.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 21 stdout-path = "serial0:115200n8"; 25 compatible = "gpio-leds"; 29 default-state = "off"; 35 default-state = "off"; 40 compatible = "regulator-fixed"; 41 regulator-name = "vio"; 42 regulator-min-microvolt = <3300000>; 43 regulator-max-microvolt = <3300000>; 45 regulator-always-on; [all …]
|
| D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/mfd/st,stpmic1.h> 23 stdout-path = "serial0:115200n8"; 31 reserved-memory { 32 #address-cells = <1>; 33 #size-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | ti-tsc-adc.txt | 1 * TI - TSC ADC (Touschscreen and analog digital converter) 5 - mfd 7 "ti,am3359-tscadc" for AM335x/AM437x SoCs 8 "ti,am654-tscadc", "ti,am3359-tscadc" for AM654 SoCs 9 - child "tsc" 10 compatible: Should be "ti,am3359-tsc". 13 ti,x-plate-resistance: X plate resistance 14 ti,coordinate-readouts: The sequencer supports a total of 16 22 remaining 4 can be used by the ADC. 23 ti,wire-config: Different boards could have a different order for [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the ADC present in the Atmel AT91 evaluation boards. 37 #define AT91_ADC_TSAMOD (3 << 0) /* ADC mode */ 38 #define AT91_ADC_TSAMOD_ADC_ONLY_MODE (0 << 0) /* ADC Mode */ 52 #define AT91_ADC_STARTUP_9260 (0x1f << 16) /* Startup Up Time */ 56 #define AT91_ADC_SHTIM (0xf << 24) /* Sample & Hold Time */ 58 #define AT91_ADC_PENDBC (0x0f << 28) /* Pen Debounce time */ 62 #define AT91_ADC_TSR_SHTIM (0xf << 24) /* Sample & Hold Time */ 102 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 112 #define AT91_ADC_TSMR_SCTIM (0x0f << 16) /* Switch closure time */ [all …]
|
| D | ti-tsc2046.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments TSC2046 SPI ADC driver 28 * - rate limiting: 30 * - hrtimer: 38 /* This driver doesn't aim at the peak continuous sample rate */ 59 * The mode bit sets the resolution of the ADC. With this bit low, the next 60 * conversion has 12-bit resolution, whereas with this bit high, the next 61 * conversion has 8-bit resolution. This driver is optimized for 12-bit mode. 67 * SER/DFR - The SER/DFR bit controls the reference mode, either single-ended 74 * auto-wake/suspend mode. In most case this bits should stay zero. [all …]
|
| D | at91-sama5d2_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Atmel ADC driver for SAMA5D2 devices and compatible. 14 #include <linux/dma-mapping.h> 31 #include <linux/nvmem-consumer.h> 36 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h> 79 /* Startup Time */ 82 /* Minimum startup time for temperature sensor */ 86 /* Tracking Time */ 90 /* Transfer Time */ 110 /* Interrupt Enable Register - TS X measurement ready */ [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for the ADC present in the Atmel AT91 evaluation boards. 40 #define AT91_ADC_TSAMOD (3 << 0) /* ADC mode */ 41 #define AT91_ADC_TSAMOD_ADC_ONLY_MODE (0 << 0) /* ADC Mode */ 55 #define AT91_ADC_STARTUP_9260 (0x1f << 16) /* Startup Up Time */ 59 #define AT91_ADC_SHTIM (0xf << 24) /* Sample & Hold Time */ 61 #define AT91_ADC_PENDBC (0x0f << 28) /* Pen Debounce time */ 65 #define AT91_ADC_TSR_SHTIM (0xf << 24) /* Sample & Hold Time */ 105 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 115 #define AT91_ADC_TSMR_SCTIM (0x0f << 16) /* Switch closure time */ [all …]
|
| D | at91-sama5d2_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Atmel ADC driver for SAMA5D2 devices and compatible. 12 #include <linux/dma-mapping.h> 70 /* Startup Time */ 75 /* Tracking Time */ 78 /* Transfer Time */ 98 /* Interrupt Enable Register - TS X measurement ready */ 100 /* Interrupt Enable Register - TS Y measurement ready */ 102 /* Interrupt Enable Register - TS pressure measurement ready */ 104 /* Interrupt Enable Register - Data ready */ [all …]
|
| /kernel/linux/linux-6.6/include/sound/ |
| D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 55 // Macros for manipulating values of bit-fields declared using the above macros. 59 // single sub-register at a time. 62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U) [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 37 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 55 #define PTR_CHANNELNUM_MASK 0x0000003f /* For each per-channel register, indicates the */ 57 /* accessed. For non per-channel registers the */ 79 #define IPR_SAMPLERATETRACKER 0x01000000 /* Sample rate tracker lock status change */ 88 #define IPR_ADCBUFFULL 0x00008000 /* ADC buffer full */ 89 #define IPR_ADCBUFHALFFULL 0x00004000 /* ADC buffer half full */ 93 #define IPR_CDROMSTATUSCHANGE 0x00000400 /* CD-ROM channel status change */ [all …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 34 * DSP's internal clock at the time the sample was received. The clock 35 * runs at 1/10 the JR3 DSP cycle time. JR3's slowest DSP runs at 10 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 96 /* vect_bits appears to be unused at this time */ 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 34 * DSP's internal clock at the time the sample was received. The clock 35 * runs at 1/10 the JR3 DSP cycle time. JR3's slowest DSP runs at 10 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 96 /* vect_bits appears to be unused at this time */ 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| 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); 57 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 58 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
| D | wm8988.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8988.c -- WM8988 ALSA SoC audio driver 154 "Mute ADC Output"}; 167 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); 168 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1); 169 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 170 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); 171 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0); 180 SOC_ENUM("Treble Cut-off", treble), 184 SOC_ENUM("3D Lower Cut-off", stereo_3d_lc), [all …]
|
| D | max9860.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <sound/soc-dapm.h> 43 regcache_mark_dirty(max9860->regmap); in max9860_dvddio_event() 44 regcache_cache_only(max9860->regmap, true); in max9860_dvddio_event() 126 static const DECLARE_TLV_DB_SCALE(dva_tlv, -9100, 100, 1); 128 static const DECLARE_TLV_DB_SCALE(adc_tlv, -1200, 100, 0); 130 0, MAX9860_PAM_MAX - 1, TLV_DB_SCALE_ITEM(-2000, 2000, 1), 133 static const DECLARE_TLV_DB_SCALE(anth_tlv, -7600, 400, 1); 134 static const DECLARE_TLV_DB_SCALE(agcth_tlv, -1800, 100, 0); 144 "Left ADC", "Left/Right ADC" [all …]
|
| D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Input - Gain, Select and Filter Registers */ 72 /* Output - Gain, Select and Filter Registers */ 289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 290 /* -54dB to 15dB */ 291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 296 /* -78dB to 12dB */ 297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
| D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 92 static const DECLARE_TLV_DB_SCALE(out_tlv, -4650, 150, 0); 93 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 94 static const DECLARE_TLV_DB_SCALE(misc_tlv, -1500, 300, 0); 123 SOC_SINGLE("Capture ADC Boost (+20dB) Switch", AC97_VIDEO, 6, 1, 0), 126 SOC_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 127 SOC_SINGLE("ALC Decay Time", AC97_CODEC_CLASS_REV, 4, 15, 0), [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| 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); 57 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 58 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
| D | wm8988.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8988.c -- WM8988 ALSA SoC audio driver 154 "Mute ADC Output"}; 167 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); 168 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1); 169 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 170 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); 171 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0); 180 SOC_ENUM("Treble Cut-off", treble), 184 SOC_ENUM("3D Lower Cut-off", stereo_3d_lc), [all …]
|
| D | max9860.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <sound/soc-dapm.h> 43 regcache_mark_dirty(max9860->regmap); in max9860_dvddio_event() 44 regcache_cache_only(max9860->regmap, true); in max9860_dvddio_event() 126 static const DECLARE_TLV_DB_SCALE(dva_tlv, -9100, 100, 1); 128 static const DECLARE_TLV_DB_SCALE(adc_tlv, -1200, 100, 0); 130 0, MAX9860_PAM_MAX - 1, TLV_DB_SCALE_ITEM(-2000, 2000, 1), 133 static const DECLARE_TLV_DB_SCALE(anth_tlv, -7600, 400, 1); 134 static const DECLARE_TLV_DB_SCALE(agcth_tlv, -1800, 100, 0); 144 "Left ADC", "Left/Right ADC" [all …]
|
| D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Input - Gain, Select and Filter Registers */ 72 /* Output - Gain, Select and Filter Registers */ 289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 290 /* -54dB to 15dB */ 291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 296 /* -78dB to 12dB */ 297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); [all …]
|
| D | wm9713.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9713.c -- ALSA Soc WM9713 codec support 5 * Copyright 2006-10 Wolfson Microelectronics PLC. 8 * Features:- 92 static const DECLARE_TLV_DB_SCALE(out_tlv, -4650, 150, 0); 93 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 94 static const DECLARE_TLV_DB_SCALE(misc_tlv, -1500, 300, 0); 123 SOC_SINGLE("Capture ADC Boost (+20dB) Switch", AC97_VIDEO, 6, 1, 0), 126 SOC_SINGLE("ALC Hold Time", AC97_CODEC_CLASS_REV, 8, 15, 0), 127 SOC_SINGLE("ALC Decay Time", AC97_CODEC_CLASS_REV, 4, 15, 0), [all …]
|