Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: timer: fsl,imxgpt: Fix the fsl,imx7d-gpt fallback

imx7s.dtsi correctly describes the GPT node as:

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

Document the fallback compatible to be "fsl,imx6dl-gpt" in the bindings.

This fixes the following dt-schema warnings:

timer@302f0000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx7d-gpt', 'fsl,imx6dl-gpt'] is too long
'fsl,imx1-gpt' was expected
'fsl,imx21-gpt' was expected
'fsl,imx27-gpt' was expected
'fsl,imx31-gpt' was expected
'fsl,imx7d-gpt' is not one of ['fsl,imx25-gpt', 'fsl,imx50-gpt', 'fsl,imx51-gpt', 'fsl,imx53-gpt', 'fsl,imx6q-gpt']
'fsl,imx6dl-gpt' was expected
'fsl,imx7d-gpt' is not one of ['fsl,imx6sl-gpt', 'fsl,imx6sx-gpt', 'fsl,imx8mp-gpt', 'fsl,imxrt1050-gpt', 'fsl,imxrt1170-gpt']
'fsl,imx6sx-gpt' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20241202132147.587799-1-festevam@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Fabio Estevam and committed by
Rob Herring (Arm)
a7a3b418 3a973ce1

+1 -1
+1 -1
Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
··· 31 31 - enum: 32 32 - fsl,imx6sl-gpt 33 33 - fsl,imx6sx-gpt 34 + - fsl,imx7d-gpt 34 35 - fsl,imx8mp-gpt 35 36 - fsl,imxrt1050-gpt 36 37 - fsl,imxrt1170-gpt ··· 39 38 - items: 40 39 - enum: 41 40 - fsl,imx6ul-gpt 42 - - fsl,imx7d-gpt 43 41 - const: fsl,imx6sx-gpt 44 42 45 43 reg: