.../devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
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
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 >
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,
© 2016 - 2025 Red Hat, Inc.