diff mbox series

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

Message ID 20230614113612.365199-1-linux@rasmusvillemoes.dk (mailing list archive)
State New, archived
Headers show
Series dt-bindings: timer: fsl,imxgpt: Add imx8mp-gpt compatible | expand

Commit Message

Rasmus Villemoes June 14, 2023, 11:36 a.m. UTC
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.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
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(+)

Comments

Krzysztof Kozlowski June 14, 2023, 5:19 p.m. UTC | #1
On 14/06/2023 13:36, Rasmus Villemoes wrote:
> 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.
> 
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> This allows what imx8mp.dtsi already does, namely
> 
> 	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
> 

https://lore.kernel.org/all/20230327173526.851734-2-u.kleine-koenig@pengutronix.de/

Best regards,
Krzysztof
Rasmus Villemoes June 14, 2023, 7:25 p.m. UTC | #2
On 14/06/2023 19.19, Krzysztof Kozlowski wrote:
> On 14/06/2023 13:36, Rasmus Villemoes wrote:
>> 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.
>>
>> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
>> ---
>> This allows what imx8mp.dtsi already does, namely
>>
>> 	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
>>
> 
> https://lore.kernel.org/all/20230327173526.851734-2-u.kleine-koenig@pengutronix.de/

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
Rob Herring June 15, 2023, 5:31 p.m. UTC | #3
On Wed, Jun 14, 2023 at 09:25:11PM +0200, Rasmus Villemoes wrote:
> On 14/06/2023 19.19, Krzysztof Kozlowski wrote:
> > On 14/06/2023 13:36, Rasmus Villemoes wrote:
> >> 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.
> >>
> >> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> >> ---
> >> This allows what imx8mp.dtsi already does, namely
> >>
> >> 	compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
> >>
> > 
> > https://lore.kernel.org/all/20230327173526.851734-2-u.kleine-koenig@pengutronix.de/
> 
> 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
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
index 716c6afcca1f..f5f8b297da13 100644
--- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
@@ -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