Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Reference the "spi-peripheral-props.yaml" schema to allow using
all SPI device properties.
Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
---
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
On Tue, 15 Nov 2022 17:19:55 +0200, Cosmin Tanislav wrote: > Reference the "spi-peripheral-props.yaml" schema to allow using > all SPI device properties. > > Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> > --- > Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Acked-by: Rob Herring <robh@kernel.org>
On Wed, 16 Nov 2022 16:10:21 -0600 Rob Herring <robh@kernel.org> wrote: > On Tue, 15 Nov 2022 17:19:55 +0200, Cosmin Tanislav wrote: > > Reference the "spi-peripheral-props.yaml" schema to allow using > > all SPI device properties. > > > > Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> > > --- > > Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > Acked-by: Rob Herring <robh@kernel.org> Applied
© 2016 - 2026 Red Hat, Inc.