diff mbox series

[06/11] dt-bindings: timer: tpm-timer: Add imx8ulp compatible string

Message ID 20210607083921.2668568-7-ping.bai@nxp.com (mailing list archive)
State New, archived
Headers show
Series Add imx8ulp basic dtsi support | expand

Commit Message

Jacky Bai June 7, 2021, 8:39 a.m. UTC
For i.MX8ULP, it use two compatible strings, so update the
compatible strings for it.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Dong Aisheng June 11, 2021, 1:58 p.m. UTC | #1
On Mon, Jun 7, 2021 at 4:34 PM Jacky Bai <ping.bai@nxp.com> wrote:
>
> For i.MX8ULP, it use two compatible strings, so update the
> compatible strings for it.
>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>

As previously mentioned, pls improve commit message,
otherwise:
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Aisheng

> ---
>  Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
> index edd9585f6726..f69773a8e4b9 100644
> --- a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
> +++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
> @@ -19,7 +19,11 @@ description: |
>
>  properties:
>    compatible:
> -    const: fsl,imx7ulp-tpm
> +    oneOf:
> +      - const: fsl,imx7ulp-tpm
> +      - items:
> +          - const: fsl,imx8ulp-tpm
> +          - const: fsl,imx7ulp-tpm
>
>    reg:
>      maxItems: 1
> --
> 2.26.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Rob Herring (Arm) June 16, 2021, 11:45 p.m. UTC | #2
On Mon, 07 Jun 2021 16:39:16 +0800, Jacky Bai wrote:
> For i.MX8ULP, it use two compatible strings, so update the
> compatible strings for it.
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> ---
>  Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
index edd9585f6726..f69773a8e4b9 100644
--- a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml
@@ -19,7 +19,11 @@  description: |
 
 properties:
   compatible:
-    const: fsl,imx7ulp-tpm
+    oneOf:
+      - const: fsl,imx7ulp-tpm
+      - items:
+          - const: fsl,imx8ulp-tpm
+          - const: fsl,imx7ulp-tpm
 
   reg:
     maxItems: 1