Skip to contentSkip to conversation

dt-bindings: iio: adc: Add i.MX94 and i.MX95 support

PATCH In review Frank Li 3 participants 3 messages Mar 6, 2025 – Mar 8, 2025

Subsystems (4)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: iio: adc: Add i.MX94 and i.MX95 support

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".

---
 .../devicetree/bindings/iio/adc/nxp,imx93-adc.yaml       | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +8 -1
index dfc3f512918f6..c2e5ff418920c 100644
@@ -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
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Frank Li

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".

Quoted 28 lines
---
 .../devicetree/bindings/iio/adc/nxp,imx93-adc.yaml       | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +8 -1
index dfc3f512918f6..c2e5ff418920c 100644
@@ -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
Signature · 1 line
2.34.1
maintainer
#2 lore raw
Quoted 6 lines · On Fri, 7 Mar 2025 15:58:34 +0000 Conor Dooley <[email protected]> wrote:
Quoted 3 lines · Frank Li

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".

Applied - thanks,