Skip to contentSkip to conversation

dt-bindings: timer: fsl,imxgpt: Add imx8mp-gpt compatible

PATCH In review Rasmus Villemoes 3 participants 4 messages Jun 14, 2023 – Jun 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: timer: fsl,imxgpt: Add imx8mp-gpt compatible

The imx8mp has the same GPT as imx6dl. Add fsl,imx8mp-gpt to the set of values that can be used together with fsl,imx6dl-gpt.

---
This allows what imx8mp.dtsi already does, namely

	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";

Currently "make CHECK_DTBS=1 freescale/imx8mp-evk.dtb" results in dozens of lines, partly because the IP block appears three times in imx8mp.dtsi, partly because the checker lists all the ways the compatible string(s) do not match the binding. With this, that command merely produces three lines of (unrelated) warnings.

 Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +1 -0
index 716c6afcca1f..f5f8b297da13 100644
@@ -31,6 +31,7 @@ properties:
           - enum:
               - fsl,imx6sl-gpt
               - fsl,imx6sx-gpt
+              - fsl,imx8mp-gpt
               - fsl,imxrt1050-gpt
               - fsl,imxrt1170-gpt
           - const: fsl,imx6dl-gpt
Signature · 7 lines
2.37.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 9 lines · Rasmus Villemoes

The imx8mp has the same GPT as imx6dl. Add fsl,imx8mp-gpt to the set of values that can be used together with fsl,imx6dl-gpt.

---
This allows what imx8mp.dtsi already does, namely

	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";

https://lore.kernel.org/all/[email protected]/

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Rasmus Villemoes

The imx8mp has the same GPT as imx6dl. Add fsl,imx8mp-gpt to the set of values that can be used together with fsl,imx6dl-gpt.

Quoted 8 lines
Quoted 6 lines

---
This allows what imx8mp.dtsi already does, namely

	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";

https://lore.kernel.org/all/[email protected]/

Thanks, I looked in -next and didn't find anything, but didn't think to check lore.

So could somebody please pick that up? Shawn?

Rasmus

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#3 lore raw
Quoted 12 lines · Rasmus Villemoes
Quoted 11 lines · Krzysztof Kozlowski
Quoted 9 lines · Rasmus Villemoes

The imx8mp has the same GPT as imx6dl. Add fsl,imx8mp-gpt to the set of values that can be used together with fsl,imx6dl-gpt.

---
This allows what imx8mp.dtsi already does, namely

	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
Quoted 6 lines
Quoted 1 line

https://lore.kernel.org/all/[email protected]/

Thanks, I looked in -next and didn't find anything, but didn't think to check lore.

So could somebody please pick that up? Shawn?

Done.

Rob