summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-10-04 14:56:37 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:43:58 +0300
commit00407a680e86db4d2fee43250849b7fa205507d3 (patch)
treeac17309614af001fd447a63f905708ba57815eeb /Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml
parent1b96d663d97da5205526d7020dad5258b88baee2 (diff)
downloadlinux-00407a680e86db4d2fee43250849b7fa205507d3.tar.xz
dt-bindings: iio: frequency: use spi-peripheral-props.yaml
For devices connectable by SPI bus (e.g. already using "spi-max-frequency" property), reference the "spi-peripheral-props.yaml" schema to allow using all SPI device properties, even these which device bindings author did not tried yet. While changing additionalProperties->unevaluatedProperties, put it in typical place, just before example DTS. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221004115642.63749-3-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml')
-rw-r--r--Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml
index 23f1f3b55abb..fc813bcb6532 100644
--- a/Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml
+++ b/Documentation/devicetree/bindings/iio/frequency/adi,admv1013.yaml
@@ -70,7 +70,10 @@ required:
- clock-names
- vcm-supply
-additionalProperties: false
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
examples:
- |