Home
last modified time | relevance | path

Searched +full:ad7091r +full:- +full:5 (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7091r5.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7091R5 4-Channel 12-Bit ADC
10 - Beniamin Bia <beniamin.bia@analog.com>
13 Analog Devices AD7091R5 4-Channel 12-Bit ADC
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf
19 - adi,ad7091r5
24 vref-supply:
33 - compatible
[all …]
/Linux-v5.10/drivers/iio/adc/
Dad7091r-base.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2014-2019 Analog Devices Inc.
16 #include "ad7091r-base.h"
23 #define AD7091R_REG_CH_HIGH_LIMIT(ch) ((ch) * 3 + 5)
67 return -EINVAL; in ad7091r_set_mode()
70 ret = regmap_update_bits(st->map, AD7091R_REG_CONF, in ad7091r_set_mode()
75 st->mode = mode; in ad7091r_set_mode()
86 ret = regmap_write(st->map, AD7091R_REG_CHANNEL, in ad7091r_set_channel()
95 return regmap_read(st->map, AD7091R_REG_RESULT, &dummy); in ad7091r_set_channel()
109 ret = regmap_read(st->map, AD7091R_REG_RESULT, &val); in ad7091r_read_one()
[all …]
Dad7476.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices AD7466/7/8 AD7476/5/7/8 (A) SPI ADC driver
4 * TI ADC081S/ADC101S/ADC121S 8/10/12-bit SPI ADC driver
74 if (!st->convst_gpio) in ad7091_convst()
77 gpiod_set_value(st->convst_gpio, 0); in ad7091_convst()
79 gpiod_set_value(st->convst_gpio, 1); in ad7091_convst()
86 struct iio_dev *indio_dev = pf->indio_dev; in ad7476_trigger_handler()
92 b_sent = spi_sync(st->spi, &st->msg); in ad7476_trigger_handler()
96 iio_push_to_buffers_with_timestamp(indio_dev, st->data, in ad7476_trigger_handler()
99 iio_trigger_notify_done(indio_dev->trig); in ad7476_trigger_handler()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI"
126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 Say yes here to build support for Analog Devices AD7766, AD7766-1,
149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
[all …]