dt-bindings: timer: tpm-timer: Add imx8ulp compatible string
authorJacky Bai <ping.bai@nxp.com>
Fri, 26 Nov 2021 07:39:58 +0000 (15:39 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 29 Nov 2021 10:02:02 +0000 (11:02 +0100)
The tpm timer on i.MX8ULP is derived from i.MX7ULP, it use two
compatible strings, so update the compatible string for it.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20211126074002.1535696-4-peng.fan@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml

index edd9585f672674c054df37f29b9762a4ba266113..f69773a8e4b95bc112e8f15a4c791c0ebd56f3f2 100644 (file)
@@ -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