| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7124.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices AD7124 ADC device driver 11 - Stefan Popa <stefan.popa@analog.com> 14 Bindings for the Analog Devices AD7124 ADC device. Datasheet can be 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 [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#" 7 title: STMicroelectronics STM32 ADC bindings 10 STM32 ADC is a successive approximation analog-to-digital converter. 11 It has several multiplexed input channels. Conversions can be performed 12 in single, continuous, scan or discontinuous mode. Result of the ADC is 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. [all …]
|
| D | adc.txt | 4 - bipolar : Boolean, if set the channel is used in bipolar mode. 5 - diff-channels : Differential channels muxed for this ADC. The first value 10 adc@0 { 11 compatible = "some,adc"; 15 diff-channels = <0 1>; 20 diff-channels = <2 3>;
|
| D | adi,ad7292.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7292.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7292 10-Bit Monitor and Control System 10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com> 13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs, 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf 22 - adi,ad7292 27 vref-supply: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7124.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices AD7124 ADC device driver 11 - Stefan Popa <stefan.popa@analog.com> 14 Bindings for the Analog Devices AD7124 ADC device. Datasheet can be 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 [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# 7 title: STMicroelectronics STM32 ADC 10 STM32 ADC is a successive approximation analog-to-digital converter. 11 It has several multiplexed input channels. Conversions can be performed 12 in single, continuous, scan or discontinuous mode. Result of the ADC is 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. [all …]
|
| D | adi,ad4130.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/adc/adi,ad4130.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices AD4130 ADC device driver 11 - Cosmin Tanislav <cosmin.tanislav@analog.com> 14 Bindings for the Analog Devices AD4130 ADC. Datasheet can be found here: 15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4130-8.pdf 20 - adi,ad4130 29 clock-names: [all …]
|
| D | adi,max11410.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/adc/adi,max11410.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices MAX11410 ADC device driver 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 14 Bindings for the Analog Devices MAX11410 ADC device. Datasheet can be 21 - adi,max11410 30 interrupt-names: 34 - enum: [gpio0, gpio1] [all …]
|
| D | adi,ad7292.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7292.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7292 10-Bit Monitor and Control System 10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com> 13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs, 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf 22 - adi,ad7292 27 vref-supply: [all …]
|
| D | adc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IIO Common Properties for ADC Channels 10 - Jonathan Cameron <jic23@kernel.org> 13 A few properties are defined in a common way ADC channels. 17 pattern: "^channel(@[0-9a-f]+)?$" 32 diff-channels: 33 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file is part of STM32 ADC driver 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> 26 #include <linux/nvmem-consumer.h> 31 #include "stm32-adc-core.h" 36 /* BOOST bit must be set on STM32H7 when ADC clock is above 20MHz */ 39 #define STM32_ADC_CH_MAX 20 /* max number of channels */ [all …]
|
| D | ad7292.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices AD7292 SPI ADC driver 92 st->d8[0] = AD7292_RD_FLAG_MSK(addr); in ad7292_spi_reg_read() 94 ret = spi_write_then_read(st->spi, st->d8, 1, &st->d16, 2); in ad7292_spi_reg_read() 98 return be16_to_cpu(st->d16); in ad7292_spi_reg_read() 104 unsigned int shift = 16 - (8 * len); in ad7292_spi_subreg_read() 107 st->d8[0] = AD7292_RD_FLAG_MSK(addr); in ad7292_spi_subreg_read() 108 st->d8[1] = sub_addr; in ad7292_spi_subreg_read() 110 ret = spi_write_then_read(st->spi, st->d8, 2, &st->d16, len); in ad7292_spi_subreg_read() 114 return (be16_to_cpu(st->d16) >> shift); in ad7292_spi_subreg_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file is part of STM32 ADC driver 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 11 #include <linux/dma-mapping.h> 15 #include <linux/iio/timer/stm32-lptim-trigger.h> 16 #include <linux/iio/timer/stm32-timer-trigger.h> 29 #include "stm32-adc-core.h" 34 /* BOOST bit must be set on STM32H7 when ADC clock is above 20MHz */ 37 #define STM32_ADC_CH_MAX 20 /* max number of channels */ 55 /* extsel - trigger mux selection value */ [all …]
|
| D | stx104.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #define STX104_IN_CHAN(chan, diff) { \ argument 37 .differential = diff \ 50 * struct stx104_reg - device register structure 51 * @ssr_ad: Software Strobe Register and ADC Data 52 * @achan: ADC Channel 54 * @dac: DAC Channels 55 * @cir_asr: Clear Interrupts and ADC Status 56 * @acr: ADC Control 58 * @acfg: ADC Configuration [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments PCM186x Universal Audio ADC 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 47 SOC_DOUBLE_R_S_TLV("ADC Capture Volume", PCM186X_PGA_VAL_CH1_L, 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments PCM186x Universal Audio ADC 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 30 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 31 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 32 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 45 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 SOC_DOUBLE_R_S_TLV("ADC Capture Volume", PCM186X_PGA_VAL_CH1_L, 49 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 55 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mux/ |
| D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.txt 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 32 mux: mux-controller@50 { 35 #mux-control-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mux/ |
| D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.yaml 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 32 mux: mux-controller@50 { 35 #mux-control-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/addac/ |
| D | stx104.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #define STX104_IN_CHAN(chan, diff) { \ argument 37 .differential = diff \ 62 /* ADC Channel */ 68 /* ADC Status */ 73 /* ADC Control */ 77 /* ADC Configuration */ 87 * struct stx104_iio - IIO device private data structure 182 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw() 189 if (chan->output) { in stx104_read_raw() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0023_linux_drivers_iio.patch | 7 Change-Id: I60767bd38b95d43a7415b9e21575ad772380ae56 9 diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig 11 --- a/drivers/iio/adc/Kconfig 12 +++ b/drivers/iio/adc/Kconfig 13 @@ -530,6 +530,16 @@ config IMX7D_ADC 18 + tristate "IMX8QXP ADC driver" 22 + Say yes here to build support for IMX8QXP ADC. 28 tristate "LP8788 ADC driver" 30 diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile 32 --- a/drivers/iio/adc/Makefile [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sunxi/ |
| D | sun8i-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * (C) Copyright 2010-2016 9 * Mylène Josserand <mylene.josserand@free-electrons.com> 23 #include <sound/soc-dapm.h> 114 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume() 116 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume() 129 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend() 130 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend() 164 return -EINVAL; in sun8i_codec_get_hw_rate() 182 return -EINVAL; in sun8i_set_fmt() [all …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 44 * channels. 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V [all …]
|
| D | ni_daq_700.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for DAQCard-700 DIO/AI 7 * COMEDI - Linux Control and Measurement Device Interface 13 * Description: National Instruments PCMCIA DAQCard-700 16 * Devices: [National Instruments] PCMCIA DAQ-Card-700 (ni_daq_700) 20 * The daqcard-700 appears in Comedi as a digital I/O subdevice (0) with 21 * 16 channels and a analog input subdevice (1) with 16 single-ended channels 22 * or 8 differential channels, and three input ranges. 24 * Digital: The channel 0 corresponds to the daqcard-700's output 27 * Digital direction configuration: channels 0-7 output, 8-15 input. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | amplc_pci230.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 35 * --------- --------- 43 * The AI subdevice has 16 single-ended channels or 8 differential 44 * channels. 46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and 47 * PCI260+ cards have 16-bit resolution. 51 * or PCI260 then it actually uses a "pseudo-differential" mode where the 62 * 0 => [-10, +10] V 63 * 1 => [-5, +5] V [all …]
|
| D | ni_daq_700.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for DAQCard-700 DIO/AI 7 * COMEDI - Linux Control and Measurement Device Interface 13 * Description: National Instruments PCMCIA DAQCard-700 16 * Devices: [National Instruments] PCMCIA DAQ-Card-700 (ni_daq_700) 20 * The daqcard-700 appears in Comedi as a digital I/O subdevice (0) with 21 * 16 channels and a analog input subdevice (1) with 16 single-ended channels 22 * or 8 differential channels, and three input ranges. 24 * Digital: The channel 0 corresponds to the daqcard-700's output 27 * Digital direction configuration: channels 0-7 output, 8-15 input. [all …]
|