]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: harmony - Add +5V HDMI supply
authorThierry Reding <treding@nvidia.com>
Fri, 25 Apr 2014 15:44:48 +0000 (17:44 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Apr 2014 15:57:39 +0000 (09:57 -0600)
This supply controls the +5V pin on the HDMI connector, which in turn is
used by attached sinks to return the hotplug detect signal.

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

index 3fb1f50f6d4628a3bdc42214450e03ace2a41e2d..f45aad688d9b5296239795860231de5d3340eab1 100644 (file)
@@ -28,6 +28,7 @@
                hdmi@54280000 {
                        status = "okay";
 
+                       hdmi-supply = <&vdd_5v0_hdmi>;
                        vdd-supply = <&hdmi_vdd_reg>;
                        pll-supply = <&hdmi_pll_reg>;
 
                        gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
                        enable-active-high;
                };
+
+               vdd_5v0_hdmi: regulator@6 {
+                       compatible = "regulator-fixed";
+                       reg = <6>;
+                       regulator-name = "VDDIO_HDMI";
+                       regulator-min-microvolt = <5000000>;
+                       regulator-max-microvolt = <5000000>;
+                       gpio = <&gpio TEGRA_GPIO(T, 2) GPIO_ACTIVE_HIGH>;
+                       enable-active-high;
+                       vin-supply = <&vdd_5v0_reg>;
+               };
        };
 
        sound {