Skip to contentSkip to conversation

dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml

PATCH Applied Cosmin Tanislav 3 participants 3 messages Nov 15, 2022 – Nov 23, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml

Reference the "spi-peripheral-props.yaml" schema to allow using all SPI device properties.

---
 Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml +4 -1
index 28ebd38b9db4..d00690a8d3fb 100644
@@ -190,7 +190,10 @@ patternProperties:
       - reg
       - diff-channels
 
-additionalProperties: false
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.38.1
maintainer Applied
#2 lore raw
Quoted 11 lines · On Wed, 16 Nov 2022 16:10:21 -0600 Rob Herring <[email protected]> wrote:
Quoted 8 lines · Cosmin Tanislav

Reference the "spi-peripheral-props.yaml" schema to allow using all SPI device properties.

---
 Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied