dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml
authorCosmin Tanislav <demonsingur@gmail.com>
Tue, 15 Nov 2022 15:19:55 +0000 (17:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 21:04:09 +0000 (21:04 +0000)
Reference the "spi-peripheral-props.yaml" schema to allow using
all SPI device properties.

Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221115151955.394030-1-cosmin.tanislav@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml

index 28ebd38..d00690a 100644 (file)
@@ -190,7 +190,10 @@ patternProperties:
       - reg
       - diff-channels
 
-additionalProperties: false
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |