2023-04-10 20:59:35

by Stefan Wahren

[permalink] [raw]
Subject: [PATCH V2 4/6] 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]>
---
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-04-11 05:50:00

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH V2 4/6] dt-bindings: imxgpt: add imx6ul compatible

On 10/04/2023 22:58, 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]>

Best regards,
Krzysztof