On Mon, 12 May 2014, Hans de Goede wrote:

@@ -19,6 +19,14 @@
        compatible = "linksprite,a20-pcduino3", "allwinner,sun7i-a20";

        soc@01c00000 {
+               mmc0: mmc@01c0f000 {
+                       pinctrl-names = "default", "default";
+                       pinctrl-0 = <&mmc0_pins_a>;
+                       pinctrl-1 = <&mmc0_cd_pin_reference_design>;
+                       cd-gpios = <&pio 7 1 0>; /* PH1 */
+                       status = "okay";
+               };
+

You should set the vmmc-supply property here, like in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/255064.html

And bus-width and cd-inverted ...

Hi Hans / Maxime,

I used this one below as a basis for the MMC work, which is the linux-sunxi/sunxi-devel tree.

https://github.com/linux-sunxi/linux-sunxi/commit/ea402be3eb92e71332541e18178d7986203feb31

I'll rewrite, retest and resubmit against your tree Hans then.

Thanks,
Zoltan H

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to