Re: [PATCH v2 1/3] dt-binding: mmc: sunxi: add H6 compatible (with A64 fallback)

From: Icenowy Zheng
Date: Wed Jul 25 2018 - 21:14:50 EST


å 2018-07-19åç 12:28 +0800ïIcenowy Zhengåéï
> The MMC controllers on H6 is similar to the ones on A64, but with
> some
> new features.
>
> Add compatible strings for them (with the A64 compatible strings as
> fallback, in order to make them to work with A64 drivers).
>
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>
> ---
> Changes in v2:
> - Add A64 fallback.
>
> Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/sunxi-mmc.txt
> b/Documentation/devicetree/bindings/mmc/sunxi-mmc.txt
> index 132e0007d7d6..e9cb3ec5e502 100644
> --- a/Documentation/devicetree/bindings/mmc/sunxi-mmc.txt
> +++ b/Documentation/devicetree/bindings/mmc/sunxi-mmc.txt
> @@ -16,6 +16,8 @@ Required properties:
> * "allwinner,sun9i-a80-mmc"
> * "allwinner,sun50i-a64-emmc"
> * "allwinner,sun50i-a64-mmc"
> + * "allwinner,sun50i-h6-emmc", "allwinner.sun50i-a64-emmc"
> + * "allwinner,sun50i-h6-mmc", "allwinner.sun50i-a64-mmc"

BTW it seems that the driver performs quite bad on H6 when dealing it
as an A64.

I get 1.5MB/s on a card, although the card can reach 20MB/s read speed
(testing on BSP).

> - reg : mmc controller base registers
> - clocks : a list with 4 phandle + clock specifier pairs
> - clock-names : must contain "ahb", "mmc", "output" and "sample"