]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: TN8:handle touch 3v3 parent rail overcurrent
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Fri, 6 Jun 2014 09:20:59 +0000 (14:50 +0530)
committerHarshada Kale <hkale@nvidia.com>
Mon, 9 Jun 2014 11:30:49 +0000 (04:30 -0700)
When touch rail get enabled, there is chances of parent rail to be
short and drop the voltage output of parent rail to be 0V. This can
cause the malfunctioning of system which depends on parent rail.

Add the SW-WAR for enabling touch rail on P1761-A04 designs.
- Enable LDO3 (3.3V) to load switch output.
- Enable load switch and then disable parent rail.

Bug 1494740

Change-Id: I5d489f655d9f153f1a22bcc620226e25e9877bee
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/419946
Reviewed-by: Chas Inman <chasi@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Chas Inman <chasi@nvidia.com>
arch/arm/boot/dts/tegra124-tn8-p1761-1270-a04-e.dts

index a1430ff483e54c27e7128a4b6116dad3a8f2aa7f..77d04dd06a8fb35d7a00342cad5d21a84467af74 100644 (file)
                                        ti,enable-shutdown;
                                };
                        };
+
+                       pmic {
+                               regulators {
+                                       ldo3 {
+                                               regulator-min-microvolt = <3300000>;
+                                               regulator-max-microvolt = <3300000>;
+                                               regulator-enable-ramp-delay = <3000>;
+                                               ti,disable-pull-down;
+                                       };
+                               };
+                       };
+               };
+       };
+
+       regulators {
+               regulator@8  {
+                       vin-supply = <&ldo3_reg>;
+                       regulator-disable-parent-after-enable;
                };
        };
 };