ARM: omap3-n900.dts: add display information
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 Dec 2013 07:33:33 +0000 (09:33 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Mar 2014 09:14:17 +0000 (11:14 +0200)
Add DT data for OMAP3 N900 board. The board has the following displays:

lcd: LCD panel connected to OMAP's SDI output
tv: analog svideo

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Sebastian Reichel <sre@debian.org>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts

index 64aa416ee4c106f7ad2b88eb8ce30fb79d9ac5ff..6311393bf5a93037d3d84fa50ee48ba0d904f6d8 100644 (file)
                nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_HIGH>;
                usb-phy = <&usb2_phy>;
        };
+
+       tv: connector {
+               compatible = "composite-connector";
+               label = "tv";
+
+               port {
+                       tv_connector_in: endpoint {
+                               remote-endpoint = <&venc_out>;
+                       };
+               };
+       };
 };
 
 &omap3_pmx_core {
                >;
        };
 
-       display_pins: pinmux_display_pins {
+       acx565akm_pins: pinmux_acx565akm_pins {
                pinctrl-single,pins = <
                        0x0d4 (PIN_OUTPUT | MUX_MODE4)          /* RX51_LCD_RESET_GPIO */
                >;
        };
+
+       dss_sdi_pins: pinmux_dss_sdi_pins {
+               pinctrl-single,pins = <
+                       0x0c0 (PIN_OUTPUT | MUX_MODE1)   /* dss_data10.sdi_dat1n */
+                       0x0c2 (PIN_OUTPUT | MUX_MODE1)   /* dss_data11.sdi_dat1p */
+                       0x0c4 (PIN_OUTPUT | MUX_MODE1)   /* dss_data12.sdi_dat2n */
+                       0x0c6 (PIN_OUTPUT | MUX_MODE1)   /* dss_data13.sdi_dat2p */
+
+                       0x0d8 (PIN_OUTPUT | MUX_MODE1)   /* dss_data22.sdi_clkp */
+                       0x0da (PIN_OUTPUT | MUX_MODE1)   /* dss_data23.sdi_clkn */
+               >;
+       };
 };
 
 &i2c1 {
                spi-max-frequency = <6000000>;
                reg = <0>;
        };
-       mipid@2 {
-               compatible = "acx565akm";
+
+       acx565akm@2 {
+               compatible = "sony,acx565akm";
                spi-max-frequency = <6000000>;
                reg = <2>;
 
                pinctrl-names = "default";
-               pinctrl-0 = <&display_pins>;
+               pinctrl-0 = <&acx565akm_pins>;
+
+               label = "lcd";
+               reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
+
+               port {
+                       lcd_in: endpoint {
+                               remote-endpoint = <&sdi_out>;
+                       };
+               };
        };
 };
 
        pinctrl-names = "default";
        pinctrl-0 = <&uart3_pins>;
 };
+
+&dss {
+       status = "ok";
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&dss_sdi_pins>;
+
+       vdds_sdi-supply = <&vaux1>;
+
+       ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@1 {
+                       reg = <1>;
+
+                       sdi_out: endpoint {
+                               remote-endpoint = <&lcd_in>;
+                               datapairs = <2>;
+                       };
+               };
+       };
+};
+
+&venc {
+       status = "ok";
+
+       vdda-supply = <&vdac>;
+
+       port {
+               venc_out: endpoint {
+                       remote-endpoint = <&tv_connector_in>;
+                       ti,channels = <1>;
+               };
+       };
+};