]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: add enable/disable/ramp time for rails
authorShreshtha SAHU <ssahu@nvidia.com>
Fri, 2 Jan 2015 10:13:25 +0000 (15:43 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Mon, 5 Jan 2015 11:24:27 +0000 (03:24 -0800)
Add enable, disable ramp time for Jetson-E P2595 based
on system eng characterization. This is based on work
done in following changes for Loki/Foster

commit 349edb699efe4f9fb61533fb4271fb48a0d0ae64
ARM: tegra: Provide the enable/disable time for gpio controlled load switches

commit fde192d172f9b23123cbaab0c07c4c86c89352a6
ARM: tegra: provide the enable/disable/ramptime for Loki/Foster

Bug 200044360

Change-Id: Ib1123da229587a95348ecb90486e19cd71311df9
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/665018
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm64/boot/dts/tegra210-platforms/tegra210-power-tree-p2595-0000-a00.dtsi

index 0775b000e16f4df6ff5478a22045bcd5a7d09b58..f0d2a657e8eebae24bafbe38ad4064519a06c8be 100644 (file)
        i2c@7000d000 {
                max77620@3c {
                        regulators {
+                               sd0 {
+                                       regulator-enable-ramp-delay = <146>;
+                                       regulator-disable-ramp-delay = <4080>;
+                                       regulator-ramp-delay = <27500>;
+                                       regulator-ramp-delay-scale = <300>;
+                               };
+
+                               sd1 {
+                                       regulator-enable-ramp-delay = <130>;
+                                       regulator-disable-ramp-delay = <145800>;
+                                       regulator-ramp-delay = <27500>;
+                                       regulator-ramp-delay-scale = <300>;
+                               };
+
+                               sd2 {
+                                       regulator-enable-ramp-delay = <176>;
+                                       regulator-disable-ramp-delay = <32000>;
+                                       regulator-ramp-delay = <27500>;
+                                       regulator-ramp-delay-scale = <350>;
+                               };
+
+                               sd3 {
+                                       regulator-enable-ramp-delay = <242>;
+                                       regulator-disable-ramp-delay = <118000>;
+                                       regulator-ramp-delay = <27500>;
+                                       regulator-ramp-delay-scale = <360>;
+                               };
+
+                               ldo0 {
+                                       regulator-enable-ramp-delay = <26>;
+                                       regulator-disable-ramp-delay = <626>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo1 {
+                                       regulator-enable-ramp-delay = <22>;
+                                       regulator-disable-ramp-delay = <630>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo2 {
+                                       regulator-enable-ramp-delay = <62>;
+                                       regulator-disable-ramp-delay = <650>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo3 {
+                                       regulator-enable-ramp-delay = <50>;
+                                       regulator-disable-ramp-delay = <1110>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
                                ldo4 {
+                                       regulator-enable-ramp-delay = <22>;
+                                       regulator-disable-ramp-delay = <610>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
                                        regulator-min-microvolt = <900000>;
                                        regulator-max-microvolt = <900000>;
                                };
+
+                               ldo5 {
+                                       regulator-enable-ramp-delay = <62>;
+                                       regulator-disable-ramp-delay = <640>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo6 {
+                                       regulator-enable-ramp-delay = <36>;
+                                       regulator-disable-ramp-delay = <674>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo7 {
+                                       regulator-enable-ramp-delay = <24>;
+                                       regulator-disable-ramp-delay = <2768>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
+
+                               ldo8 {
+                                       regulator-enable-ramp-delay = <22>;
+                                       regulator-disable-ramp-delay = <1160>;
+                                       regulator-ramp-delay = <100000>;
+                                       regulator-ramp-delay-scale = <200>;
+                               };
                        };
                };
        };
 
        regulators {
+               regulator@1 {
+                       regulator-enable-ramp-delay = <160>;
+                       regulator-disable-ramp-delay = <10000>;
+               };
+
                regulator@2 {
                        regulator-always-on;
                        regulator-min-microvolt = <1200000>;
                        regulator-max-microvolt = <1200000>;
+                       regulator-enable-ramp-delay = <240>;
+                       regulator-disable-ramp-delay = <11340>;
+               };
+
+               regulator@4 {
+                       regulator-enable-ramp-delay = <472>;
+                       regulator-disable-ramp-delay = <4880>;
+               };
+
+               regulator@6 {
+                       regulator-enable-ramp-delay = <3090>;
+               };
+
+               regulator@7 {
+                       regulator-enable-ramp-delay = <468>;
+                       regulator-disable-ramp-delay = <13000>;
                };
 
                vdd_disp_3v0: regulator@12 {
                        gpio = <&gpio TEGRA_GPIO(I, 3) 0>;
                        regulator-always-on;
                        enable-active-high;
+                       regulator-enable-ramp-delay = <232>;
                };
 
                vdd_fan: regulator@13 {
                        gpio = <&gpio TEGRA_GPIO(E, 4) 0>;
                        regulator-always-on;
                        enable-active-high;
+                       regulator-enable-ramp-delay = <284>;
+                       regulator-disable-ramp-delay = <6200>;
                };
 
                usb_vbus1: regulator@14 {