]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: iio: dac: adi-axi-adc: fix ad7606 pwm-names
authorAngelo Dureghello <adureghello@baylibre.com>
Wed, 29 Jan 2025 11:03:02 +0000 (12:03 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 3 Feb 2025 19:30:11 +0000 (19:30 +0000)
commit02ccd7e5d81af4ae20852fc1ad67e7d943fa5778
tree005ee4db14a001aa7a596ad737ef7074a353b5c7
parente17b9f20da7d2bc1f48878ab2230523b2512d965
dt-bindings: iio: dac: adi-axi-adc: fix ad7606 pwm-names

Fix make dt_binding_check warning:

DTC [C] Documentation/devicetree/bindings/iio/adc/adi,axi-adc.example.dtb
.../adc/adi,axi-adc.example.dtb: adc@0: pwm-names: ['convst1'] is too short
    from schema $id: http://devicetree.org/schemas/iio/adc/adi,ad7606.yaml#

Add "minItems" to pwm-names, it allows to use one single pwm when
connected to both adc conversion inputs.

Fixes: 7c2357b10490 ("dt-bindings: iio: adc: ad7606: Add iio backend bindings")
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250129-wip-bl-ad7606_add_backend_sw_mode-v3-1-c3aec77c0ab7@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml