Reference the "spi-peripheral-props.yaml" schema to allow using
all SPI device properties.
Signed-off-by: Cosmin Tanislav <[email protected]>
---
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 <[email protected]>
> ---
> Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Acked-by: Rob Herring <[email protected]>
On Wed, 16 Nov 2022 16:10:21 -0600
Rob Herring <[email protected]> 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 <[email protected]>
> > ---
> > Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml | 5 ++++-
> > 1 file changed, 4 insertions(+), 1 deletion(-)
> >
>
> Acked-by: Rob Herring <[email protected]>
Applied