[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240923101206.3753-1-antoniu.miclaus@analog.com>
Date: Mon, 23 Sep 2024 13:10:17 +0300
From: Antoniu Miclaus <antoniu.miclaus@...log.com>
To: Jonathan Cameron <jic23@...nel.org>, Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>, Nuno Sa <nuno.sa@...log.com>,
Olivier Moysan
<olivier.moysan@...s.st.com>,
Uwe Kleine-König
<ukleinek@...nel.org>,
Andy Shevchenko <andy@...nel.org>,
David Lechner
<dlechner@...libre.com>,
Marcelo Schmitt <marcelo.schmitt@...log.com>,
Ivan
Mikhaylov <fr0st61te@...il.com>,
Alisa-Dariana Roman
<alisadariana@...il.com>,
Dumitru Ceclan <mitrutzceclan@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
João Paulo Gonçalves <joao.goncalves@...adex.com>,
Marius Cristea <marius.cristea@...rochip.com>,
Sergiu Cuciurean
<sergiu.cuciurean@...log.com>,
Dragos Bogdan <dragos.bogdan@...log.com>,
Antoniu Miclaus <antoniu.miclaus@...log.com>,
<linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-pwm@...r.kernel.org>
Subject: [PATCH 0/7] *** Add support for AD485x DAS Family ***
Add support for AD485X fully buffered, 8-channel simultaneous sampling,
16/20-bit, 1 MSPS data acquisition system (DAS) with differential, wide
common-mode range inputs.
Some particularities:
1. softspan - the devices support multiple softspans which are represented in iio
through offset/scale. The current handling implies changing both
the scale and the offset separately via IIO, therefore in order to
properly set the softspan, each time the offset changes the softspan
is set to the default value. And only after changing also the scale
the desired softspan is set. This is the approach we are suggesting
since we need the softspan configurable from userspace and not from
devicetree.
2. packet format - Data provided on the CMOS and LVDS conversion data output buses
are packaged into eight channel packets. This is currently handled
as extended info.
Antoniu Miclaus (7):
iio: backend: add API for interface get
iio: backend: add support for data size set
iio: adc: adi-axi-adc: add interface type
iio: adc: adi-axi-adc: set data format
dt-bindings: iio: adc: add ad458x
iio: adc: ad485x: add ad485x driver
Documentation: ABI: testing: ad485x: add ABI docs
.../ABI/testing/sysfs-bus-iio-adc-ad485x | 14 +
.../bindings/iio/adc/adi,ad485x.yaml | 82 ++
drivers/iio/adc/Kconfig | 12 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/ad485x.c | 1061 +++++++++++++++++
drivers/iio/adc/adi-axi-adc.c | 44 +
drivers/iio/industrialio-backend.c | 45 +
include/linux/iio/backend.h | 13 +
8 files changed, 1272 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad485x
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad485x.yaml
create mode 100644 drivers/iio/adc/ad485x.c
--
2.46.0
Powered by blists - more mailing lists