Home
last modified time | relevance | path

Searched +full:ad7091r +full:- +full:8 (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/iio/adc/
H A Dad7091r8.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices AD7091R8 12-bit SAR ADC driver
15 #include "ad7091r-base.h"
22 .reg_bits = 8, \
31 /* AD7091R-2/-4/-8 don't set sample/command/autocycle mode in conf reg */ in ad7091r8_set_mode()
32 st->mode = mode; in ad7091r8_set_mode()
43 .channels = ad7091r##_n##_channels, \
44 .num_channels = ARRAY_SIZE(ad7091r##_n##_channels), \
52 .channels = ad7091r##_n##_channels_irq, \
53 .num_channels = ARRAY_SIZE(ad7091r##_n##_channels_irq), \
[all …]
H A Dad7091r5.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2014-2019 Analog Devices Inc.
13 #include "ad7091r-base.h"
44 return -EINVAL; in ad7091r5_set_mode()
47 ret = regmap_update_bits(st->map, AD7091R_REG_CONF, in ad7091r5_set_mode()
52 st->mode = mode; in ad7091r5_set_mode()
63 .name = "ad7091r-5",
72 .name = "ad7091r-5",
81 .reg_bits = 8,
90 struct i2c_client *i2c = container_of(st->dev, struct i2c_client, dev); in ad7091r5_regmap_init()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
64 config AD7091R config
70 select AD7091R
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
78 select AD7091R
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
[all …]
H A Dad7091r-base.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2014-2019 Analog Devices Inc.
17 #include "ad7091r-base.h"
46 ret = regmap_write(st->map, AD7091R_REG_CHANNEL, in ad7091r_set_channel()
47 BIT(channel) | (BIT(channel) << 8)); in ad7091r_set_channel()
55 return regmap_read(st->map, AD7091R_REG_RESULT, &dummy); in ad7091r_set_channel()
69 ret = regmap_read(st->map, AD7091R_REG_RESULT, &val); in ad7091r_read_one()
73 if (st->chip_info->reg_result_chan_id(val) != channel) in ad7091r_read_one()
74 return -EIO; in ad7091r_read_one()
89 guard(mutex)(&st->lock); in ad7091r_read_raw()
[all …]
H A 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
80 if (!st->convst_gpio) in ad7091_convst()
83 gpiod_set_value(st->convst_gpio, 0); in ad7091_convst()
85 gpiod_set_value(st->convst_gpio, 1); in ad7091_convst()
92 struct iio_dev *indio_dev = pf->indio_dev; in ad7476_trigger_handler()
98 b_sent = spi_sync(st->spi, &st->msg); in ad7476_trigger_handler()
102 iio_push_to_buffers_with_timestamp(indio_dev, st->data, in ad7476_trigger_handler()
105 iio_trigger_notify_done(indio_dev->trig); in ad7476_trigger_handler()
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A 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 AD7091R-2/-4/-5/-8 Multi-Channel 12-Bit ADCs
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Marcelo Schmitt <marcelo.schmitt@analog.com>
14 Analog Devices AD7091R5 4-Channel 12-Bit ADC supporting I2C interface
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf
16 Analog Devices AD7091R-2/AD7091R-4/AD7091R-8 2-/4-/8-Channel 12-Bit ADCs
18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7091R-2_7091R-4_7091R-8.pdf
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]