ARM: tegra: tamonten: Add host1x support
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 16 Nov 2012 15:56:50 +0000 (16:56 +0100)
committerStephen Warren <swarren@nvidia.com>
Fri, 16 Nov 2012 16:17:08 +0000 (09:17 -0700)
Hook up the required regulators, I2C DDC adapter and hotplug detect GPIO
to the Tamonten HDMI output. Carrier boards still need to explicitly
enable the output to use it.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20-tamonten.dtsi

index 95df80e7cda7d33f9f6762ee53565dc7dc70ecd8..a239ccdfaa526ac06b0b249212b0b8a5e23c802e 100644 (file)
@@ -8,6 +8,16 @@
                reg = <0x00000000 0x20000000>;
        };
 
+       host1x {
+               hdmi {
+                       vdd-supply = <&hdmi_vdd_reg>;
+                       pll-supply = <&hdmi_pll_reg>;
+
+                       nvidia,ddc-i2c-bus = <&hdmi_ddc>;
+                       nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */
+               };
+       };
+
        pinmux {
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
                pinctrl-1 = <&state_i2cmux_pta>;
                pinctrl-2 = <&state_i2cmux_idle>;
 
-               i2c@0 {
+               hdmi_ddc: i2c@0 {
                        reg = <0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                                        regulator-max-microvolt = <2850000>;
                                };
 
-                               ldo7 {
+                               hdmi_vdd_reg: ldo7 {
                                        regulator-name = "vdd_ldo7,avdd_hdmi";
                                        regulator-min-microvolt = <3300000>;
                                        regulator-max-microvolt = <3300000>;
                                };
 
-                               ldo8 {
+                               hdmi_pll_reg: ldo8 {
                                        regulator-name = "vdd_ldo8,avdd_hdmi_pll";
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <1800000>;