Message ID | 20221115151955.394030-1-cosmin.tanislav@analog.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml | expand |
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
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: - |
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(-)