]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: iio: add backend support to sd modulator
authorOlivier Moysan <olivier.moysan@foss.st.com>
Tue, 30 Jul 2024 08:46:35 +0000 (10:46 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 10 Aug 2024 10:17:34 +0000 (11:17 +0100)
commit281b4318be49080d4995f8b2603089025282f499
tree65eeb336822d034bedbca2bbde70a8e1d4c525e1
parentb8f31b1d65e96e45ff94ddc8129f90c21f7c5a5f
dt-bindings: iio: add backend support to sd modulator

The legacy sd modulator driver registers the sigma delta modulator as
an IIO channel provider. This implementation is not convenient when the
SD modulator has to be cascaded with another IIO device. The scaling
information is distributed across devices, which makes it difficult to
report consistent scaling data on IIO devices.

The solution is to expose these cascaded IIO devices as an aggregate
device, which report global scaling information.
Add IIO backend support to SD modulator to allow scaling information
management.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240730084640.1307938-6-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml