All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: adc: ti,am3359-adc: add ti,am654-adc
@ 2022-07-27 15:52 Krzysztof Kozlowski
  2022-07-28 15:16 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-07-27 15:52 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Miquel Raynal, linux-iio, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

Document the ti,am654-adc compatible already used in DTS:

  arch/arm64/boot/dts/ti/k3-am642-evm.dtb: adc: compatible:0: 'ti,am654-adc' is not one of ['ti,am3359-adc', 'ti,am4372-adc']

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/iio/adc/ti,am3359-adc.yaml    | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml
index d6f21d5cccd7..b32be24a9f98 100644
--- a/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/ti,am3359-adc.yaml
@@ -11,9 +11,14 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - ti,am3359-adc
-      - ti,am4372-adc
+    oneOf:
+      - enum:
+          - ti,am3359-adc
+          - ti,am4372-adc
+      - items:
+          - enum:
+              - ti,am654-adc
+          - const: ti,am3359-adc
 
   '#io-channel-cells':
     const: 1
-- 
2.34.1


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

* Re: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: add ti,am654-adc
  2022-07-27 15:52 [PATCH] dt-bindings: iio: adc: ti,am3359-adc: add ti,am654-adc Krzysztof Kozlowski
@ 2022-07-28 15:16 ` Rob Herring
  2022-07-31 12:20   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-07-28 15:16 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Miquel Raynal, Lars-Peter Clausen, Jonathan Cameron, Rob Herring,
	linux-kernel, linux-iio, Krzysztof Kozlowski, devicetree

On Wed, 27 Jul 2022 17:52:03 +0200, Krzysztof Kozlowski wrote:
> Document the ti,am654-adc compatible already used in DTS:
> 
>   arch/arm64/boot/dts/ti/k3-am642-evm.dtb: adc: compatible:0: 'ti,am654-adc' is not one of ['ti,am3359-adc', 'ti,am4372-adc']
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/iio/adc/ti,am3359-adc.yaml    | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH] dt-bindings: iio: adc: ti,am3359-adc: add ti,am654-adc
  2022-07-28 15:16 ` Rob Herring
@ 2022-07-31 12:20   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2022-07-31 12:20 UTC (permalink / raw)
  To: Rob Herring
  Cc: Krzysztof Kozlowski, Miquel Raynal, Lars-Peter Clausen,
	Rob Herring, linux-kernel, linux-iio, Krzysztof Kozlowski,
	devicetree

On Thu, 28 Jul 2022 09:16:50 -0600
Rob Herring <robh@kernel.org> wrote:

> On Wed, 27 Jul 2022 17:52:03 +0200, Krzysztof Kozlowski wrote:
> > Document the ti,am654-adc compatible already used in DTS:
> > 
> >   arch/arm64/boot/dts/ti/k3-am642-evm.dtb: adc: compatible:0: 'ti,am654-adc' is not one of ['ti,am3359-adc', 'ti,am4372-adc']
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > ---
> >  .../devicetree/bindings/iio/adc/ti,am3359-adc.yaml    | 11 ++++++++---
> >  1 file changed, 8 insertions(+), 3 deletions(-)
> >   
> 
> Acked-by: Rob Herring <robh@kernel.org>

Applied to the togreg branch of iio.git, but note that I've sent my last pull request
for the coming merge window, so this is queued up for next cycle now.

Let me know if I should take this via a fixes path instead.

Thanks,

Jonathan


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

end of thread, other threads:[~2022-07-31 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 15:52 [PATCH] dt-bindings: iio: adc: ti,am3359-adc: add ti,am654-adc Krzysztof Kozlowski
2022-07-28 15:16 ` Rob Herring
2022-07-31 12:20   ` 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.