Skip to contentSkip to conversation

dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks

PATCH In review Andreas Kemnade 3 participants 3 messages Jan 15, 2023 – Jan 16, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: mmc: fsl-imx-esdhc: Add some compatible fallbacks

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.

---
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(-)
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +5 -2
index dc6256f04b42..3423e1cd8b5d 100644
@@ -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
Signature · 1 line
2.30.2
#2 lore raw
In reply to Andreas Kemnade
Quoted 9 lines · 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.

Applied for next, thanks!

Kind regards
Uffe

Quoted 38 lines

---
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(-)
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +5 -3
index dc6256f04b42..3423e1cd8b5d 100644
@@ -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