ARM: tegra: whistler: enable HDMI port
authorStephen Warren <swarren@nvidia.com>
Fri, 16 Nov 2012 17:53:04 +0000 (10:53 -0700)
committerStephen Warren <swarren@nvidia.com>
Fri, 16 Nov 2012 17:56:38 +0000 (10:56 -0700)
Enable host1x, and the HDMI output. Whistler also has a DSI-based LCD,
and a VGA output. tegradrm doesn't support either of those output types
yet.

Based on work by Thierry Reding for TrimSlice.

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

index 94a71c91beb580b2f88f080cbbeeeeefa5bc0ba2..20d576ecd5555d61c1f66057fb105c980ff44d8d 100644 (file)
                reg = <0x00000000 0x20000000>;
        };
 
+       host1x {
+               hdmi {
+                       status = "okay";
+
+                       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>;
                clock-frequency = <216000000>;
        };
 
+       hdmi_ddc: i2c@7000c400 {
+               status = "okay";
+               clock-frequency = <100000>;
+       };
+
        i2c@7000d000 {
                status = "okay";
                clock-frequency = <100000>;
                                        regulator-always-on;
                                };
 
-                               ldo6 {
+                               hdmi_pll_reg: ldo6 {
                                        regulator-name = "nvvdd_ldo6,avdd_hdmi_pll";
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <1800000>;
                                        regulator-always-on;
                                };
 
-                               ldo11 {
+                               hdmi_vdd_reg: ldo11 {
                                        regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi";
                                        regulator-min-microvolt = <3300000>;
                                        regulator-max-microvolt = <3300000>;