Home
last modified time | relevance | path

Searched +full:adc +full:- +full:diff +full:- +full:channels (Results 1 – 25 of 30) sorted by relevance

12

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dti,ads1119.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,ads1119.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADS1119 ADC
10 - João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
13 The TI ADS1119 is a precision 16-bit ADC over I2C that offers single-ended and
28 reset-gpios:
31 avdd-supply: true
32 dvdd-supply: true
[all …]
H A Dst,stm32-adc.yaml1 # 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 …]
H A Dadi,ad4130.yaml1 # 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 …]
H A Dadi,ad4170-4.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad4170-4.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD4170-4 and similar Analog to Digital Converters
10 - Marcelo Schmitt <marcelo.schmitt@analog.com>
13 Analog Devices AD4170-4 series of Sigma-delta Analog to Digital Converters.
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4170-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4190-4.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4195-4.pdf
[all …]
H A Dmicrochip,mcp3564.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/microchip,mcp3564.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip MCP346X and MCP356X ADC Family
10 - Marius Cristea <marius.cristea@microchip.com>
13 Bindings for the Microchip family of 153.6 ksps, Low-Noise 16/24-Bit
14 Delta-Sigma ADCs with an SPI interface. Datasheet can be found here:
16 …s/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181…
18 …ds/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf
[all …]
H A Dadi,max11410.yaml1 # 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 …]
H A Dadi,ad4851.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/iio/adc/adi,ad4851.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Sergiu Cuciurean <sergiu.cuciurean@analog.com>
12 - Dragos Bogdan <dragos.bogdan@analog.com>
13 - Antoniu Miclaus <antoniu.miclaus@analog.com>
16 Analog Devices AD485X fully buffered, 8-channel simultaneous sampling,
17 16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide
18 common-mode range inputs.
[all …]
H A Dadi,ad7292.yaml1 # 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 …]
H A Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7606.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7606 Simultaneous Sampling ADC
10 - Michael Hennerich <michael.hennerich@analog.com>
13 Analog Devices AD7606 Simultaneous Sampling ADC
14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
[all …]
/linux/Documentation/devicetree/bindings/mux/
H A Dadi,adg792a.txt4 - 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 …]
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Dtyhx,hx9023s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Yasin Lee <yasin.lee.x@gmail.com>
29 vdd-supply: true
31 "#address-cells":
34 "#size-cells":
38 "^channel@[0-4]$":
39 $ref: /schemas/iio/adc/adc.yaml
50 - compatible
[all …]
/linux/drivers/iio/adc/
H A Dad7380.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * ad7380/1 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7380-7381.pdf
10 * ad7383/4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-7384.pdf
11 …* ad7386/7/8 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7386-7387-738…
12 * ad7380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7380-4.pdf
13 * ad7381-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7381-4.pdf
14 …* ad7383/4-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-4-ad7384
15 …* ad7386/7/8-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7386-4-7387
16 * ad7389-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7389-4.pdf
17 * adaq4370-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4370-4.pdf
[all …]
H A Dad4170-4.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Analog Devices AD4170-4 ADC driver
6 * Author: Ana-Maria Cusco <ana-maria.cusco@analog.com>
17 #include <linux/clk-provider.h>
81 /* AD4170_CONFIG_A_REG - INTERFACE_CONFIG_A REGISTER */
246 [AD4170_CHAN_SETUP_REG(0) ... AD4170_CHAN_MAP_REG(AD4170_MAX_ADC_CHANNELS - 1)] = 2,
249 * also interleaved but MISC, AFE, FILTER, FILTER_FS, OFFSET are 16-bit
250 * while OFFSET, GAIN are 24-bit registers so we can't init them all to
278 AD4170_REF_BUF_PRE, /* Pre-charge referrence buffer */
283 /* maps adi,positive/negative-reference-buffer property values to enum */
[all …]
H A Dad7292.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices AD7292 SPI ADC driver
94 st->d8[0] = AD7292_RD_FLAG_MSK(addr); in ad7292_spi_reg_read()
96 ret = spi_write_then_read(st->spi, st->d8, 1, &st->d16, 2); in ad7292_spi_reg_read()
100 return be16_to_cpu(st->d16); in ad7292_spi_reg_read()
106 unsigned int shift = 16 - (8 * len); in ad7292_spi_subreg_read()
109 st->d8[0] = AD7292_RD_FLAG_MSK(addr); in ad7292_spi_subreg_read()
110 st->d8[1] = sub_addr; in ad7292_spi_subreg_read()
112 ret = spi_write_then_read(st->spi, st->d8, 2, &st->d16, len); in ad7292_spi_subreg_read()
116 return (be16_to_cpu(st->d16) >> shift); in ad7292_spi_subreg_read()
[all …]
H A Dad4030.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Analog Devices AD4030 and AD4630 ADC family driver.
109 #define AD4030_TCYC_ADJUSTED_NS (AD4030_TCYC_NS - AD4030_TCNVL_NS)
112 #define AD4632_TCYC_ADJUSTED_NS (AD4632_TCYC_NS - AD4030_TCNVL_NS)
138 const struct iio_chan_spec channels[AD4030_MAX_IIO_CHANNEL_NB]; member
141 /* Number of hardware channels */
165 s32 diff; member
169 s32 diff[2]; member
176 * For a chip with 2 hardware channel this will be used to create 2 common-mode
177 * channels:
[all …]
H A Dmax11410.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MAX11410 SPI ADC driver
142 struct max11410_channel_config *channels; member
175 /* This driver only needs to write 8-bit registers */ in max11410_write_reg()
177 return -EINVAL; in max11410_write_reg()
179 return regmap_write(st->regmap, reg, val); in max11410_write_reg()
188 ret = regmap_bulk_read(st->regmap, reg, &st->scan.data, 3); in max11410_read_reg()
192 *val = get_unaligned_be24(&st->scan.data); in max11410_read_reg()
196 return regmap_read(st->regmap, reg, val); in max11410_read_reg()
204 return st->avdd; in max11410_get_vrefp()
[all …]
H A Dad7606.c1 // SPDX-License-Identifier: GPL-2.0
3 * AD7606 SPI ADC driver
103 -128, 1, 127,
107 -512, 4, 508,
135 .name = "ad7605-4",
144 .name = "ad7606-8",
155 .name = "ad7606-6",
167 .name = "ad7606-4",
278 if (st->gpio_reset) { in ad7606_reset()
279 gpiod_set_value(st->gpio_reset, 1); in ad7606_reset()
[all …]
H A Dad7192.c1 // SPDX-License-Identifier: GPL-2.0
3 * AD7192 and similar SPI ADC driver
5 * Copyright 2011-2015 Analog Devices Inc.
12 #include <linux/clk-provider.h>
33 #include <linux/iio/adc/ad_sigma_delta.h>
36 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */
37 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */
38 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */
39 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */
40 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62p-verdin-ivy.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62p
8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board
11 #include <dt-bindings/mux/mux.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/net/ti-dp83867.h>
21 ain1_voltage_unmanaged: voltage-divider-ain1 {
22 compatible = "voltage-divider";
23 #io-channel-cells = <1>;
24 io-channels = <&ivy_adc1 0>;
[all …]
/linux/drivers/iio/addac/
H A Dstx104.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #define STX104_IN_CHAN(chan, diff) { \ argument
38 .differential = diff \
64 /* ADC Channel */
70 /* ADC Status */
75 /* ADC Control */
79 /* ADC Configuration */
90 * struct stx104_iio - IIO device private data structure
211 err = regmap_read(priv->aio_ctl_map, STX104_ADC_CONFIGURATION, &adc_config); in stx104_read_raw()
218 if (chan->output) { in stx104_read_raw()
[all …]
/linux/drivers/comedi/drivers/
H A Damplc_pci230.c1 // 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 …]
H A Dni_daq_700.c1 // 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 …]
H A Dusbduxsigma.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2011-2015 Bernd Porr, mail@berndporr.me.uk
10 * Devices: [ITL] USB-DUX-SIGMA (usbduxsigma)
18 * wrote the driver for AT-MIO-16d. I used some parts of this
33 * 0.7: rewrite code that urb->interval is always 1
45 /* timeout for the USB-transfer in ms*/
64 /* Number of channels (16 AD and offset)*/
71 * Size of the async input-buffer IN BYTES, the DIO state is transmitted
79 /* Number of DA channels */
86 * Size of the output-buffer in bytes
[all …]
/linux/drivers/input/keyboard/
H A Dsun4i-lradc-keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Allwinner sun4i low res adc attached tablet keys driver
13 * There are 2 channels, currently this driver only supports channel 0 since
62 /* struct lradc_variant - Describe sun4i-a10-lradc-keys hardware variant
111 u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; in sun4i_lradc_irq() local
113 ints = readl(lradc->base + LRADC_INTS); in sun4i_lradc_irq()
121 input_report_key(lradc->input, lradc->chan0_keycode, 0); in sun4i_lradc_irq()
122 lradc->chan0_keycode = 0; in sun4i_lradc_irq()
125 if ((ints & CHAN0_KEYDOWN_IRQ) && lradc->chan0_keycode == 0) { in sun4i_lradc_irq()
126 val = readl(lradc->base + LRADC_DATA0) & 0x3f; in sun4i_lradc_irq()
[all …]
/linux/sound/soc/codecs/
H A Dad1836.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright 2009-2011 Analog Devices Inc.
38 * AD1836 volume/mute/de-emphasis etc. controls
54 SOC_DOUBLE("ADC" #x " Capture Switch", AD1836_ADC_CTRL2, \
94 { "ADC", NULL, "ADC1IN" },
95 { "ADC", NULL, "ADC2IN" },
99 /* ADC high-pass filter */
100 SOC_SINGLE("ADC High Pass Filter Switch", AD1836_ADC_CTRL1,
103 /* DAC de-emphasis */
110 SND_SOC_DAPM_ADC("ADC", "Capture", SND_SOC_NOPM, 0, 0),
[all …]

12