summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/dac
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-11-12 00:28:46 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:58:45 +0300
commit84aea36299a411f46d4372dc2d51c037ae70341a (patch)
tree6e4db047b4338eff81c484af648e7045923a0a87 /Documentation/devicetree/bindings/iio/dac
parent03e8373c070daf14eed069783e3cf343470ca5cd (diff)
downloadlinux-84aea36299a411f46d4372dc2d51c037ae70341a.tar.xz
dt-bindings: iio: dac: adi,ad5758: Drop 'contains' from 'adi,dc-dc-mode'
'contains' applies to arrays, but 'adi,dc-dc-mode' is a scalar. So drop 'contains' from the 'if' schema. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221111212846.4104059-1-robh@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/dac')
-rw-r--r--Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
index e49e7556175d..4e508bfcc9d8 100644
--- a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml
@@ -102,8 +102,7 @@ allOf:
- if:
properties:
adi,dc-dc-mode:
- contains:
- enum: [1, 3]
+ enum: [1, 3]
then:
properties:
adi,range-microvolt: false