Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
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
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf
[all …]
/linux/drivers/iio/adc/
H A Dad7606_par.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2011 - 2024 Analog Devices Inc.
30 for (c = 0; c < indio_dev->num_channels; c++) { in ad7606_par_bus_update_scan_mode()
32 ret = iio_backend_chan_enable(st->back, c); in ad7606_par_bus_update_scan_mode()
34 ret = iio_backend_chan_disable(st->back, c); in ad7606_par_bus_update_scan_mode()
52 st->back = devm_iio_backend_get(dev, NULL); in ad7606_par_bus_setup_iio_backend()
53 if (IS_ERR(st->back)) in ad7606_par_bus_setup_iio_backend()
54 return PTR_ERR(st->back); in ad7606_par_bus_setup_iio_backend()
57 if (!st->cnvst_pwm) in ad7606_par_bus_setup_iio_backend()
58 return dev_err_probe(st->dev, -EINVAL, in ad7606_par_bus_setup_iio_backend()
[all …]
H A Dad7606_spi.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <linux/iio/buffer-dmaengine.h>
22 #include <dt-bindings/iio/adc/adi,ad7606.h>
64 dev_err(&spi->dev, "SPI read error\n"); in ad7606_spi_read_block()
102 struct spi_device *spi = to_spi_device(st->dev); in ad7606_spi_reg_read()
105 .tx_buf = &st->d16[0], in ad7606_spi_reg_read()
109 .rx_buf = &st->d16[1], in ad7606_spi_reg_read()
115 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
121 return be16_to_cpu(st->d16[1]); in ad7606_spi_reg_read()
128 struct spi_device *spi = to_spi_device(st->dev); in ad7606_spi_reg_write()
[all …]
H A Dad7606.c1 // SPDX-License-Identifier: GPL-2.0
62 static const unsigned int ad7606c_16bit_differential_bipolar_scale_avail[4][2] = {
74 static const unsigned int ad7606c_18bit_differential_bipolar_scale_avail[4][2] = {
91 1, 2, 4, 8, 16, 32, 64,
95 1, 2, 4, 8, 16, 32, 64, 128, 256,
99 1, 2, 4, 8, 16, 32, 64, 128,
103 -128, 1, 127,
107 -512, 4, 508,
135 .name = "ad7605-4",
137 .num_adc_channels = 4,
[all …]
/linux/Documentation/iio/
H A Dad7606.rst1 .. SPDX-License-Identifier: GPL-2.0-only
15 * `AD7605 <https://www.analog.com/en/products/ad7605.html>`_
24 ----------------
26 These ADCs can output data on several SDO lines (1/2/4/8). The driver
30 ------------------
33 .. code-block::
35 +-------------+ +-------------+
36 | BUSY |-------->| TRIGGER |
37 | CS |<--------| CS |
41 | SDI |<--------| SDO |
[all …]