ARM: ux500: Add a VQMMC (level-shifting) regulator DT node for Snowball
authorLee Jones <lee.jones@linaro.org>
Tue, 2 Apr 2013 13:21:54 +0000 (14:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:07:11 +0000 (14:07 +0200)
Until recently platform code took care of all MMCI level-shifting by
way of an ios_handler() call-back. Now it is the driver's responsibility
to handle. In order to so that we need to provide the VQMMC regulator
reference in Device Tree. This patch takes care of that.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/snowball.dts

index 814769b..0aa1318 100644 (file)
                        };
                };
 
+               vmmci: regulator-gpio {
+                       gpios = <&gpio6 25 0x4>;
+                       enable-gpio = <&gpio7 4 0x4>;
+
+                       status = "okay";
+               };
+
                // External Micro SD slot
                sdi0_per1@80126000 {
                        arm,primecell-periphid = <0x10480180>;
                        bus-width = <4>;
                        mmc-cap-mmc-highspeed;
                        vmmc-supply = <&ab8500_ldo_aux3_reg>;
+                       vqmmc-supply = <&vmmci>;
 
                        cd-gpios  = <&gpio6 26 0x4>; // 218
                        cd-inverted;