* [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks
@ 2023-01-15 19:52 Andreas Kemnade
2023-01-16 8:16 ` Krzysztof Kozlowski
2023-01-16 12:16 ` Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Kemnade @ 2023-01-15 19:52 UTC (permalink / raw)
To: ulf.hansson, robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer,
kernel, festevam, linux-imx, linux-mmc, devicetree,
linux-arm-kernel, linux-kernel
Cc: Andreas Kemnade
Currently make dtbs_check shows lots of errors because imx*.dtsi does
not use single compatibles but combinations of them.
Add fallbacks for imx6sll/ull which are useful for U-Boot.
This will significantly reduce noise on make dtbs_check.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Changes in v3:
- simplify things by using enums
Changes in v2:
- allow only combinations with fallback compatible
- reduce them to the cases where they are actually useful
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
index dc6256f04b42..3423e1cd8b5d 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
@@ -29,14 +29,17 @@ properties:
- fsl,imx53-esdhc
- fsl,imx6q-usdhc
- fsl,imx6sl-usdhc
- - fsl,imx6sll-usdhc
- fsl,imx6sx-usdhc
- - fsl,imx6ull-usdhc
- fsl,imx7d-usdhc
- fsl,imx7ulp-usdhc
- fsl,imx8mm-usdhc
- fsl,imxrt1050-usdhc
- nxp,s32g2-usdhc
+ - items:
+ - enum:
+ - fsl,imx6sll-usdhc
+ - fsl,imx6ull-usdhc
+ - const: fsl,imx6sx-usdhc
- items:
- enum:
- fsl,imx8mq-usdhc
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks
2023-01-15 19:52 [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks Andreas Kemnade
@ 2023-01-16 8:16 ` Krzysztof Kozlowski
2023-01-16 12:16 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-16 8:16 UTC (permalink / raw)
To: Andreas Kemnade, ulf.hansson, robh+dt, krzysztof.kozlowski+dt,
shawnguo, s.hauer, kernel, festevam, linux-imx, linux-mmc,
devicetree, linux-arm-kernel, linux-kernel
On 15/01/2023 20:52, Andreas Kemnade wrote:
> Currently make dtbs_check shows lots of errors because imx*.dtsi does
> not use single compatibles but combinations of them.
>
> Add fallbacks for imx6sll/ull which are useful for U-Boot.
>
> This will significantly reduce noise on make dtbs_check.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks
2023-01-15 19:52 [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks Andreas Kemnade
2023-01-16 8:16 ` Krzysztof Kozlowski
@ 2023-01-16 12:16 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2023-01-16 12:16 UTC (permalink / raw)
To: Andreas Kemnade
Cc: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer, kernel,
festevam, linux-imx, linux-mmc, devicetree, linux-arm-kernel,
linux-kernel
On Sun, 15 Jan 2023 at 20:52, Andreas Kemnade <andreas@kemnade.info> wrote:
>
> Currently make dtbs_check shows lots of errors because imx*.dtsi does
> not use single compatibles but combinations of them.
>
> Add fallbacks for imx6sll/ull which are useful for U-Boot.
>
> This will significantly reduce noise on make dtbs_check.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Applied for next, thanks!
Kind regards
Uffe
> ---
> Changes in v3:
> - simplify things by using enums
>
> Changes in v2:
> - allow only combinations with fallback compatible
> - reduce them to the cases where they are actually useful
>
> Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> index dc6256f04b42..3423e1cd8b5d 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml
> @@ -29,14 +29,17 @@ properties:
> - fsl,imx53-esdhc
> - fsl,imx6q-usdhc
> - fsl,imx6sl-usdhc
> - - fsl,imx6sll-usdhc
> - fsl,imx6sx-usdhc
> - - fsl,imx6ull-usdhc
> - fsl,imx7d-usdhc
> - fsl,imx7ulp-usdhc
> - fsl,imx8mm-usdhc
> - fsl,imxrt1050-usdhc
> - nxp,s32g2-usdhc
> + - items:
> + - enum:
> + - fsl,imx6sll-usdhc
> + - fsl,imx6ull-usdhc
> + - const: fsl,imx6sx-usdhc
> - items:
> - enum:
> - fsl,imx8mq-usdhc
> --
> 2.30.2
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-16 12:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-15 19:52 [PATCH v3] dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks Andreas Kemnade
2023-01-16 8:16 ` Krzysztof Kozlowski
2023-01-16 12:16 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).