[PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml
From: Cosmin Tanislav
Date: Tue Nov 15 2022 - 10:20:16 EST
Reference the "spi-peripheral-props.yaml" schema to allow using
all SPI device properties.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@xxxxxxxxxx>
---
Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml
index 28ebd38b9db4..d00690a8d3fb 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml
@@ -190,7 +190,10 @@ patternProperties:
- reg
- diff-channels
-additionalProperties: false
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
examples:
- |
--
2.38.1