Skip to content

Commit 6c1757b

Browse files
aford173storulf
authored andcommitted
dt-bindings: mmc: imx-esdhc: Update compatible fallbacks
The SDHC controller in the imx8mn and imx8mp have the same controller as the imx8mm which is slightly different than that of the imx7d. Using the fallback of the imx8mm enables the controllers to support HS400-ES which is not available on the imx7d. After discussion with NXP, it turns out that the imx8qm should fall back to the imx8qxp, because those have some additional flags not present in the imx8mm. Mark the current state of the fallbacks as deprecated, and add the proper fallbacks so in the future, the deprecated combination can be removed and prevent any future devices from using the wrong fallback. Suggested-by: haibo.chen@nxp.com Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220410193544.1745684-1-aford173@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 32f18e5 commit 6c1757b

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,46 @@ properties:
3434
- fsl,imx6ull-usdhc
3535
- fsl,imx7d-usdhc
3636
- fsl,imx7ulp-usdhc
37+
- fsl,imx8mm-usdhc
3738
- fsl,imxrt1050-usdhc
3839
- nxp,s32g2-usdhc
40+
- items:
41+
- enum:
42+
- fsl,imx8mq-usdhc
43+
- const: fsl,imx7d-usdhc
44+
- items:
45+
- enum:
46+
- fsl,imx8mn-usdhc
47+
- fsl,imx8mp-usdhc
48+
- fsl,imx93-usdhc
49+
- fsl,imx8ulp-usdhc
50+
- const: fsl,imx8mm-usdhc
51+
- items:
52+
- enum:
53+
- fsl,imx8qm-usdhc
54+
- const: fsl,imx8qxp-usdhc
3955
- items:
4056
- enum:
4157
- fsl,imx8mm-usdhc
4258
- fsl,imx8mn-usdhc
4359
- fsl,imx8mp-usdhc
44-
- fsl,imx8mq-usdhc
4560
- fsl,imx8qm-usdhc
4661
- fsl,imx8qxp-usdhc
4762
- const: fsl,imx7d-usdhc
63+
deprecated: true
4864
- items:
4965
- enum:
50-
- fsl,imx93-usdhc
51-
- fsl,imx8ulp-usdhc
66+
- fsl,imx8mn-usdhc
67+
- fsl,imx8mp-usdhc
5268
- const: fsl,imx8mm-usdhc
69+
- const: fsl,imx7d-usdhc
70+
deprecated: true
71+
- items:
72+
- enum:
73+
- fsl,imx8qm-usdhc
74+
- const: fsl,imx8qxp-usdhc
75+
- const: fsl,imx7d-usdhc
76+
deprecated: true
5377

5478
reg:
5579
maxItems: 1

0 commit comments

Comments
 (0)