dt-bindings: mmc: sunxi: add compatible string for Allwinner A733 MMC0/1/2

Message ID 20260731-allwinner-a733-mmc-support-v1-1-e9209e3f9761@baylibre.com (mailing list archive)
State New
Headers
Series dt-bindings: mmc: sunxi: add compatible string for Allwinner A733 MMC0/1/2 |

Commit Message

Jerome Brunet July 31, 2026, 4:21 p.m. UTC
The A733 MMC0/1/2 controllers are compatible with the D1 ones.
Add an A733-specific compatible string, with the D1 as fallback.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
Like the A523, the A733 3 first MMC controllers share the same IP block.
The 4th is known to be incompatible with 3 first.

Unlike the A523, the A733 4th controller is not dedicated to eMMC.
This 4th controller access the memory through a different bus. This is not
supported (or tested) yet. It will require a different compatible when the
time comes.
---
 Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


---
base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
change-id: 20260731-allwinner-a733-mmc-support-c901bc312eef

Best regards,
--  
Jerome
  

Comments

Ulf Hansson Aug. 4, 2026, 1:43 p.m. UTC | #1
On Fri, Jul 31, 2026 at 6:22 PM Jerome Brunet <jbrunet@baylibre.com> wrote:
>
> The A733 MMC0/1/2 controllers are compatible with the D1 ones.
> Add an A733-specific compatible string, with the D1 as fallback.
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
> Like the A523, the A733 3 first MMC controllers share the same IP block.
> The 4th is known to be incompatible with 3 first.
>
> Unlike the A523, the A733 4th controller is not dedicated to eMMC.
> This 4th controller access the memory through a different bus. This is not
> supported (or tested) yet. It will require a different compatible when the
> time comes.
> ---
>  Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> index 9f3b1edacaa0..9e9610bb1eda 100644
> --- a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> +++ b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
> @@ -56,7 +56,9 @@ properties:
>            - const: allwinner,sun50i-h616-mmc
>            - const: allwinner,sun50i-a100-mmc
>        - items:
> -          - const: allwinner,sun55i-a523-mmc
> +          - enum:
> +              - allwinner,sun55i-a523-mmc
> +              - allwinner,sun60i-a733-mmc
>            - const: allwinner,sun20i-d1-mmc
>
>    reg:
>
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260731-allwinner-a733-mmc-support-c901bc312eef
>
> Best regards,
> --
> Jerome
>
  

Patch

diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
index 9f3b1edacaa0..9e9610bb1eda 100644
--- a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
+++ b/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml
@@ -56,7 +56,9 @@  properties:
           - const: allwinner,sun50i-h616-mmc
           - const: allwinner,sun50i-a100-mmc
       - items:
-          - const: allwinner,sun55i-a523-mmc
+          - enum:
+              - allwinner,sun55i-a523-mmc
+              - allwinner,sun60i-a733-mmc
           - const: allwinner,sun20i-d1-mmc
 
   reg: