]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
arm: dts: dra7-evm: Add pinmux configs needed for display
authorArchit Taneja <archit@ti.com>
Thu, 30 May 2013 15:51:07 +0000 (21:21 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 30 May 2013 23:03:40 +0000 (04:33 +0530)
DSS requires pinmux configurations for the VOUT1 DPI lines and I2C2 as it
controls a PCF 8575 IO expander needed by the HDMI level shifter.

Add pinmux configurations for them.

Signed-off-by: Archit Taneja <archit@ti.com>
arch/arm/boot/dts/dra7-evm.dts

index eeced45ce4ce8c7a1424a2dead3958082762bce8..1084acd876585cfffeb2db8ea683e1fd7948fc0d 100644 (file)
        };
 };
 
+&dra7_pmx_core {
+        pinctrl-names = "default";
+        pinctrl-0 = <
+               &vout1_pins
+       >;
+
+       i2c2_pins: pinmux_i2c2_pins {
+                pinctrl-single,pins = <
+                       0x408   0x60000 /* i2c2_sda INPUT | MODE0 */
+                       0x40C   0x60000 /* i2c2_scl INPUT | MODE0 */
+                >;
+        };
+
+       vout1_pins: pinmux_vout1_pins {
+               pinctrl-single,pins = <
+                       0x1C8   0x0     /* vout1_clk OUTPUT | MODE0 */
+                       0x1CC   0x0     /* vout1_de OUTPUT | MODE0 */
+                       0x1D0   0x0     /* vout1_fld OUTPUT | MODE0 */
+                       0x1D4   0x0     /* vout1_hsync OUTPUT | MODE0 */
+                       0x1D8   0x0     /* vout1_vsync OUTPUT | MODE0 */
+                       0x1DC   0x0     /* vout1_d0 OUTPUT | MODE0 */
+                       0x1E0   0x0     /* vout1_d1 OUTPUT | MODE0 */
+                       0x1E4   0x0     /* vout1_d2 OUTPUT | MODE0 */
+                       0x1E8   0x0     /* vout1_d3 OUTPUT | MODE0 */
+                       0x1EC   0x0     /* vout1_d4 OUTPUT | MODE0 */
+                       0x1F0   0x0     /* vout1_d5 OUTPUT | MODE0 */
+                       0x1F4   0x0     /* vout1_d6 OUTPUT | MODE0 */
+                       0x1F8   0x0     /* vout1_d7 OUTPUT | MODE0 */
+                       0x1FC   0x0     /* vout1_d8 OUTPUT | MODE0 */
+                       0x200   0x0     /* vout1_d9 OUTPUT | MODE0 */
+                       0x204   0x0     /* vout1_d10 OUTPUT | MODE0 */
+                       0x208   0x0     /* vout1_d11 OUTPUT | MODE0 */
+                       0x20C   0x0     /* vout1_d12 OUTPUT | MODE0 */
+                       0x210   0x0     /* vout1_d13 OUTPUT | MODE0 */
+                       0x214   0x0     /* vout1_d14 OUTPUT | MODE0 */
+                       0x218   0x0     /* vout1_d15 OUTPUT | MODE0 */
+                       0x21C   0x0     /* vout1_d16 OUTPUT | MODE0 */
+                       0x220   0x0     /* vout1_d17 OUTPUT | MODE0 */
+                       0x224   0x0     /* vout1_d18 OUTPUT | MODE0 */
+                       0x228   0x0     /* vout1_d19 OUTPUT | MODE0 */
+                       0x22C   0x0     /* vout1_d20 OUTPUT | MODE0 */
+                       0x230   0x0     /* vout1_d21 OUTPUT | MODE0 */
+                       0x234   0x0     /* vout1_d22 OUTPUT | MODE0 */
+                       0x238   0x0     /* vout1_d23 OUTPUT | MODE0 */
+               >;
+       };
+};
+
 &i2c1 {
        clock-frequency = <400000>;
 
@@ -50,6 +98,9 @@
 /include/ "tps659038.dtsi"
 
 &i2c2 {
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c2_pins>;
+
        clock-frequency = <400000>;
 
        pcf_hdmi: pcf8575@26 {