[PATCH] dt-bindings: pwm: imx: Add i.MX93, i.MX94 and i.MX95 support

Frank Li posted 1 patch 9 months, 2 weeks ago
.../devicetree/bindings/pwm/imx-tpm-pwm.yaml          | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: pwm: imx: Add i.MX93, i.MX94 and i.MX95 support
Posted by Frank Li 9 months, 2 weeks ago
Add compatible string "fsl,imx93-pwm", "fsl,imx94-pwm" and "fsl,imx95-pwm",
which is backward compatible with i.MX7ULP. Set it to fall back to
"fsl,imx7ulp-pwm".

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 .../devicetree/bindings/pwm/imx-tpm-pwm.yaml          | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml b/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
index ac0a35bf8648c..d5a9340ff9209 100644
--- a/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
@@ -23,8 +23,15 @@ properties:
     const: 3
 
   compatible:
-    enum:
-      - fsl,imx7ulp-pwm
+    oneOf:
+      - enum:
+          - fsl,imx7ulp-pwm
+      - items:
+          - enum:
+              - fsl,imx93-pwm
+              - fsl,imx94-pwm
+              - fsl,imx95-pwm
+          - const: fsl,imx7ulp-pwm
 
   reg:
     maxItems: 1
-- 
2.34.1
Re: [PATCH] dt-bindings: pwm: imx: Add i.MX93, i.MX94 and i.MX95 support
Posted by Uwe Kleine-König 9 months, 1 week ago
Hello Frank,

On Thu, Mar 06, 2025 at 12:08:45PM -0500, Frank Li wrote:
> Add compatible string "fsl,imx93-pwm", "fsl,imx94-pwm" and "fsl,imx95-pwm",
> which is backward compatible with i.MX7ULP. Set it to fall back to
> "fsl,imx7ulp-pwm".
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
with Conor's ack.

Thanks
Uwe
Re: [PATCH] dt-bindings: pwm: imx: Add i.MX93, i.MX94 and i.MX95 support
Posted by Conor Dooley 9 months, 2 weeks ago
On Thu, Mar 06, 2025 at 12:08:45PM -0500, Frank Li wrote:
> Add compatible string "fsl,imx93-pwm", "fsl,imx94-pwm" and "fsl,imx95-pwm",
> which is backward compatible with i.MX7ULP. Set it to fall back to
> "fsl,imx7ulp-pwm".

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

> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../devicetree/bindings/pwm/imx-tpm-pwm.yaml          | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml b/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
> index ac0a35bf8648c..d5a9340ff9209 100644
> --- a/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.yaml
> @@ -23,8 +23,15 @@ properties:
>      const: 3
>  
>    compatible:
> -    enum:
> -      - fsl,imx7ulp-pwm
> +    oneOf:
> +      - enum:
> +          - fsl,imx7ulp-pwm
> +      - items:
> +          - enum:
> +              - fsl,imx93-pwm
> +              - fsl,imx94-pwm
> +              - fsl,imx95-pwm
> +          - const: fsl,imx7ulp-pwm
>  
>    reg:
>      maxItems: 1
> -- 
> 2.34.1
>