]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: dts: dra72-evm: add evm_3v3_sd regulator
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 11 Dec 2014 11:06:30 +0000 (16:36 +0530)
committerSekhar Nori <nsekhar@ti.com>
Fri, 12 Dec 2014 13:58:29 +0000 (19:28 +0530)
Add a node for evm_3v3_sd using pcf which feeds on to mmc power-on.

Update mapping for vmmc-supply and vmmc_aux-supply.
evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o voltage.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/dra72-evm.dts

index e2521e052d6ab1f2a1ac863172453219fd7d8351..009a32e1335ac9103730278dc3c4578551bac87d 100644 (file)
                cable-name = "USB-HOST";
        };
 
+       evm_3v3_sd: fixedregulator-sd {
+               compatible = "regulator-fixed";
+               regulator-name = "evm_3v3_sd";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               enable-active-high;
+               gpio = <&pcf_gpio_21 5 0>;
+       };
+
        evm_3v3: fixedregulator-evm_3v3 {
                compatible = "regulator-fixed";
                regulator-name = "evm_3v3";
 &mmc1 {
        /* Using default configured pins */
        status = "okay";
-       vmmc-supply = <&ldo1_reg>;
        pbias-supply = <&pbias_mmc_reg>;
+       vmmc-supply = <&evm_3v3_sd>;
+       vmmc_aux-supply = <&ldo1_reg>;
        bus-width = <4>;
        /*
         * SDCD signal is not being used here - using the fact that GPIO mode