Commit 6c1757be authored by Adam Ford's avatar Adam Ford Committed by Ulf Hansson

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: default avatarAdam Ford <aford173@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220410193544.1745684-1-aford173@gmail.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 32f18e59
...@@ -34,22 +34,46 @@ properties: ...@@ -34,22 +34,46 @@ properties:
- fsl,imx6ull-usdhc - fsl,imx6ull-usdhc
- fsl,imx7d-usdhc - fsl,imx7d-usdhc
- fsl,imx7ulp-usdhc - fsl,imx7ulp-usdhc
- fsl,imx8mm-usdhc
- fsl,imxrt1050-usdhc - fsl,imxrt1050-usdhc
- nxp,s32g2-usdhc - nxp,s32g2-usdhc
- items:
- enum:
- fsl,imx8mq-usdhc
- const: fsl,imx7d-usdhc
- items:
- enum:
- fsl,imx8mn-usdhc
- fsl,imx8mp-usdhc
- fsl,imx93-usdhc
- fsl,imx8ulp-usdhc
- const: fsl,imx8mm-usdhc
- items:
- enum:
- fsl,imx8qm-usdhc
- const: fsl,imx8qxp-usdhc
- items: - items:
- enum: - enum:
- fsl,imx8mm-usdhc - fsl,imx8mm-usdhc
- fsl,imx8mn-usdhc - fsl,imx8mn-usdhc
- fsl,imx8mp-usdhc - fsl,imx8mp-usdhc
- fsl,imx8mq-usdhc
- fsl,imx8qm-usdhc - fsl,imx8qm-usdhc
- fsl,imx8qxp-usdhc - fsl,imx8qxp-usdhc
- const: fsl,imx7d-usdhc - const: fsl,imx7d-usdhc
deprecated: true
- items: - items:
- enum: - enum:
- fsl,imx93-usdhc - fsl,imx8mn-usdhc
- fsl,imx8ulp-usdhc - fsl,imx8mp-usdhc
- const: fsl,imx8mm-usdhc - const: fsl,imx8mm-usdhc
- const: fsl,imx7d-usdhc
deprecated: true
- items:
- enum:
- fsl,imx8qm-usdhc
- const: fsl,imx8qxp-usdhc
- const: fsl,imx7d-usdhc
deprecated: true
reg: reg:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment