summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAngelo Dureghello <adureghello@baylibre.com>2025-01-29 12:03:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-13 13:08:08 +0100
commitaf5ce35023816a65d966bc66b4ba6d0bb69bb255 (patch)
tree64da657e4cae39f945d6319609d0d8835eac75ad /Documentation
parent98fde47bcbe4e9464444b0c8014660d37e9e7825 (diff)
downloadlinux-af5ce35023816a65d966bc66b4ba6d0bb69bb255.tar.gz
linux-af5ce35023816a65d966bc66b4ba6d0bb69bb255.tar.bz2
linux-af5ce35023816a65d966bc66b4ba6d0bb69bb255.zip
dt-bindings: iio: dac: adi-axi-adc: fix ad7606 pwm-names
[ Upstream commit 02ccd7e5d81af4ae20852fc1ad67e7d943fa5778 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
index ab5881d0d017..52d3f1ce3367 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
@@ -146,6 +146,7 @@ properties:
maxItems: 2
pwm-names:
+ minItems: 1
items:
- const: convst1
- const: convst2