aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorGravatar Rob Herring <robh@kernel.org> 2022-11-11 15:28:46 -0600
committerGravatar Jonathan Cameron <Jonathan.Cameron@huawei.com> 2022-11-23 19:58:45 +0000
commit84aea36299a411f46d4372dc2d51c037ae70341a (patch)
tree6e4db047b4338eff81c484af648e7045923a0a87 /Documentation/devicetree/bindings/iio
parentdt-bindings: iio: imu: st_lsm6dsx: add lsm6dsv16x (diff)
downloadlinux-84aea36299a411f46d4372dc2d51c037ae70341a.tar.gz
linux-84aea36299a411f46d4372dc2d51c037ae70341a.tar.bz2
linux-84aea36299a411f46d4372dc2d51c037ae70341a.zip
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')
-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