Message ID | 20180719042810.6546-2-icenowy@aosc.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
在 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@aosc.io> > --- > 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" -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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" - reg : mmc controller base registers - clocks : a list with 4 phandle + clock specifier pairs - clock-names : must contain "ahb", "mmc", "output" and "sample"
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@aosc.io> --- Changes in v2: - Add A64 fallback. Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 2 ++ 1 file changed, 2 insertions(+)