mbox series

[v2,0/2] iio:adc:ad7476: Regulator support and binding doc

Message ID 20210405162325.627977-1-jic23@kernel.org (mailing list archive)
Headers show
Series iio:adc:ad7476: Regulator support and binding doc | expand

Message

Jonathan Cameron April 5, 2021, 4:23 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

This driver supports a whole load of devices with a range of different
power supply connections.

Lars-Peter Clausen pointed out v1 did not handle the the ad7091r which
an internal voltage reference, but that can be over-driven on the vref_in /
vref_out pin.  The v2 handles that device properly.  I also realized that
I'd the binding was more restrictive for devices with internal references
than it needed to be (required vcc-supply) so I've relaxed that in
the updated bindings.  Also reorganized the big allOf block in the
binding doc to put all the constraints on reference voltage first.

Given substantial changes in patch 1, I dropped Lars' Reviewed-by.

Jonathan Cameron (2):
  iio:adc:ad7476: Handle the different regulators used by various parts.
  dt-bindings:iio:adc:adi,ad7474: Add missing binding document

 .../bindings/iio/adc/adi,ad7476.yaml          | 173 ++++++++++++++++++
 drivers/iio/adc/ad7476.c                      | 108 +++++++++--
 2 files changed, 266 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7476.yaml