]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: iio: ad4695: fix common-mode-channel
authorDavid Lechner <dlechner@baylibre.com>
Thu, 8 Aug 2024 21:12:08 +0000 (16:12 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 10 Aug 2024 10:17:35 +0000 (11:17 +0100)
commit46e4ce4c11abf904dec37ea9a3b3c741cbcf34bd
treeefa8fbd6ba649dff3f696c1fb8f28607cb9a7a45
parent06e91ad34453ef7656680f1e983ce2089d068204
dt-bindings: iio: ad4695: fix common-mode-channel

The common-mode-channel property is a scalar, not an array, so we should
not be using items: in the schema when specifying allowable values.

Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/linux-iio/CAL_JsqKaddw8FnPfdnhKhHUb8AcTxFadc_eZmxjX0QxFR80=mw@mail.gmail.com/
Fixes: b40cafc11436 ("dt-bindings: iio: adc: add AD4695 and similar ADCs")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20240808-iio-adc-ad4695-fix-dt-bindings-v1-1-5cf37b9547b0@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad4695.yaml