All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml
@ 2022-11-15 15:19 Cosmin Tanislav
  2022-11-16 22:10 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Cosmin Tanislav @ 2022-11-15 15:19 UTC (permalink / raw)
  Cc: Lars-Peter Clausen, Michael Hennerich, Cosmin Tanislav,
	Jonathan Cameron, Rob Herring, Krzysztof Kozlowski, linux-iio,
	devicetree, linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml
  2022-11-15 15:19 [PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml Cosmin Tanislav
@ 2022-11-16 22:10 ` Rob Herring
  2022-11-23 21:04   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-11-16 22:10 UTC (permalink / raw)
  To: Cosmin Tanislav
  Cc: Jonathan Cameron, Lars-Peter Clausen, Michael Hennerich,
	linux-iio, devicetree, Cosmin Tanislav, linux-kernel,
	Krzysztof Kozlowski, Rob Herring


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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml
  2022-11-16 22:10 ` Rob Herring
@ 2022-11-23 21:04   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2022-11-23 21:04 UTC (permalink / raw)
  To: Rob Herring
  Cc: Cosmin Tanislav, Lars-Peter Clausen, Michael Hennerich,
	linux-iio, devicetree, Cosmin Tanislav, linux-kernel,
	Krzysztof Kozlowski, Rob Herring

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-23 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 15:19 [PATCH] dt-bindings: iio: adc: ad4130: use spi-peripheral-props.yaml Cosmin Tanislav
2022-11-16 22:10 ` Rob Herring
2022-11-23 21:04   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.