[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210204113551.68744-1-alexandru.tachici@analog.com>
Date: Thu, 4 Feb 2021 13:35:49 +0200
From: <alexandru.tachici@...log.com>
To: <linux-iio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>
CC: <jic23@...nel.org>, <robh+dt@...nel.org>
Subject: [PATCH v2 0/2] iio: adc: ad7124: allow 16 channels
From: Alexandru Tachici <alexandru.tachici@...log.com>
AD7124-8 can have up to 16 pseudo-differential channels
enabled simultaneously and only 8 configurations. In this
scenario we cannot assign one configuration per channel,
some channels will have to share configurations like, ODR,
gain and filter parameters.
Allow the user to specify channels and configurations
separately in device-tree and assign, if needed, the same
configuration to multiple channels.
If two channels share the configuration changing the
sampling rate of one will change the sampling rate of the
other too.
Alexandru Tachici (2):
iio: adc: ad7124: allow 16 channels
dt-bindings: iio: adc: ad7124: add config nodes
.../bindings/iio/adc/adi,ad7124.yaml | 72 +++++--
drivers/iio/adc/ad7124.c | 183 +++++++++++-------
2 files changed, 166 insertions(+), 89 deletions(-)
--
2.20.1
Powered by blists - more mailing lists