]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: dalmore - Add DSI power supply
authorThierry Reding <treding@nvidia.com>
Fri, 25 Apr 2014 15:44:51 +0000 (17:44 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Apr 2014 15:57:42 +0000 (09:57 -0600)
The 1.2V supply for CSI and DSI was previously marked always-on. This is
suboptimal because it prevents the supply from being disabled when there
is no activity in the display or capture paths that it powers.

Hook up the regulator to the DSI output and mark it as not always-on, so
that it will only be enabled when DSI actually needs it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra114-dalmore.dts

index a95a75145a963930fb30109455f9217e5f28f813..35a2ee71a970f5f42b6678e6a802c24fff20c0a7 100644 (file)
@@ -37,6 +37,8 @@
                dsi@54300000 {
                        status = "okay";
 
+                       avdd-dsi-csi-supply = <&avdd_1v2_reg>;
+
                        panel@0 {
                                compatible = "panasonic,vvx10f004b00",
                                             "simple-panel";
                                                regulator-max-microvolt = <2800000>;
                                        };
 
-                                       ldo3 {
+                                       avdd_1v2_reg: ldo3 {
                                                regulator-name = "avdd-dsi-csi";
                                                regulator-min-microvolt = <1200000>;
                                                regulator-max-microvolt = <1200000>;
-                                               regulator-always-on;
-                                               regulator-boot-on;
                                        };
 
                                        ldo4 {