public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: adc: Add i.MX94 and i.MX95 support
@ 2025-03-06 17:08 Frank Li
  2025-03-07 15:58 ` Conor Dooley
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Li @ 2025-03-06 17:08 UTC (permalink / raw)
  To: Haibo Chen, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list
  Cc: imx

Add compatible string "nxp,imx94-adc" and "nxp,imx95-adc", which is
backward compatible with i.MX93. Set it to fall back to "nxp,imx93-adc".

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../devicetree/bindings/iio/adc/nxp,imx93-adc.yaml       | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
index dfc3f512918f6..c2e5ff418920c 100644
--- a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
@@ -19,7 +19,14 @@ description:
 
 properties:
   compatible:
-    const: nxp,imx93-adc
+    oneOf:
+      - enum:
+          - nxp,imx93-adc
+      - items:
+          - enum:
+              - nxp,imx94-adc
+              - nxp,imx95-adc
+          - const: nxp,imx93-adc
 
   reg:
     maxItems: 1
-- 
2.34.1



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

* Re: [PATCH] dt-bindings: iio: adc: Add i.MX94 and i.MX95 support
  2025-03-06 17:08 [PATCH] dt-bindings: iio: adc: Add i.MX94 and i.MX95 support Frank Li
@ 2025-03-07 15:58 ` Conor Dooley
  2025-03-08 14:32   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Conor Dooley @ 2025-03-07 15:58 UTC (permalink / raw)
  To: Frank Li
  Cc: Haibo Chen, Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

On Thu, Mar 06, 2025 at 12:08:25PM -0500, Frank Li wrote:
> Add compatible string "nxp,imx94-adc" and "nxp,imx95-adc", which is
> backward compatible with i.MX93. Set it to fall back to "nxp,imx93-adc".
> 

Acked-by: Conor Dooley <conor.dooley@microchip.com>

> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../devicetree/bindings/iio/adc/nxp,imx93-adc.yaml       | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
> index dfc3f512918f6..c2e5ff418920c 100644
> --- a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml
> @@ -19,7 +19,14 @@ description:
>  
>  properties:
>    compatible:
> -    const: nxp,imx93-adc
> +    oneOf:
> +      - enum:
> +          - nxp,imx93-adc
> +      - items:
> +          - enum:
> +              - nxp,imx94-adc
> +              - nxp,imx95-adc
> +          - const: nxp,imx93-adc
>  
>    reg:
>      maxItems: 1
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: iio: adc: Add i.MX94 and i.MX95 support
  2025-03-07 15:58 ` Conor Dooley
@ 2025-03-08 14:32   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2025-03-08 14:32 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Frank Li, Haibo Chen, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:NXP i.MX 7D/6SX/6UL/93 AND VF610 ADC DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list

On Fri, 7 Mar 2025 15:58:34 +0000
Conor Dooley <conor@kernel.org> wrote:

> On Thu, Mar 06, 2025 at 12:08:25PM -0500, Frank Li wrote:
> > Add compatible string "nxp,imx94-adc" and "nxp,imx95-adc", which is
> > backward compatible with i.MX93. Set it to fall back to "nxp,imx93-adc".
> >   
> 
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Applied - thanks,


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

end of thread, other threads:[~2025-03-08 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 17:08 [PATCH] dt-bindings: iio: adc: Add i.MX94 and i.MX95 support Frank Li
2025-03-07 15:58 ` Conor Dooley
2025-03-08 14:32   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox