]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply
authorJulien Stephan <jstephan@baylibre.com>
Tue, 22 Oct 2024 13:22:36 +0000 (15:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 24 Oct 2024 17:30:47 +0000 (18:30 +0100)
commitfbe5956e8809f04e9121923db0b6d1b94f2b93ba
treeba1c9a8006a727ab759fd85ddcfcf429e3232d2b
parent63dd163cd61dda6f38343776b42331cc6b7e56e0
dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply

ad7380-4 is the only device from ad738x family that doesn't have an
internal reference. Moreover its external reference is called REFIN in
the datasheet while all other use REFIO as an optional external
reference. If refio-supply is omitted the internal reference is
used.

Fix the binding by adding refin-supply and makes it required for
ad7380-4 only.

Fixes: 1a291cc8ee17 ("dt-bindings: iio: adc: ad7380: add support for ad738x-4 4 channels variants")
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20241022-ad7380-fix-supplies-v3-1-f0cefe1b7fa6@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml