2023-05-30 10:16:52

by Stefan Wahren

[permalink] [raw]
Subject: [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible

Currently the dtbs_check for imx6ul generates warnings like this:

['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long

According to the timer-imx-gpt driver all imx6 use the same imx6dl data,
but according to the existing DTS files the imx6ul GPT IP is derived from
imx6sx. So better follow the DTS files here and make the imx6ul GPT
compatible to the imx6sl one to fix the warning.

Signed-off-by: Stefan Wahren <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
index 716c6afcca1f..685137338ac9 100644
--- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
@@ -34,6 +34,9 @@ properties:
- fsl,imxrt1050-gpt
- fsl,imxrt1170-gpt
- const: fsl,imx6dl-gpt
+ - items:
+ - const: fsl,imx6ul-gpt
+ - const: fsl,imx6sx-gpt

reg:
maxItems: 1
--
2.34.1



2023-06-07 21:03:08

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible


On Tue, 30 May 2023 12:08:43 +0200, Stefan Wahren wrote:
> Currently the dtbs_check for imx6ul generates warnings like this:
>
> ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long
>
> According to the timer-imx-gpt driver all imx6 use the same imx6dl data,
> but according to the existing DTS files the imx6ul GPT IP is derived from
> imx6sx. So better follow the DTS files here and make the imx6ul GPT
> compatible to the imx6sl one to fix the warning.
>
> Signed-off-by: Stefan Wahren <[email protected]>
> Reviewed-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>

Applied, thanks!