]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: enable display controller for exynos5800-peach-pi board
authorRahul Sharma <rahul.sharma@samsung.com>
Fri, 16 May 2014 22:51:33 +0000 (07:51 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 May 2014 14:15:02 +0000 (23:15 +0900)
Enable display controller with timing information for 1080p
panel in Exynos5800 peach-pi board.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5800-peach-pi.dts

index 78e350b78d698ea78e561cb4668cf2c3946add55..462cadb7dda3833c920491eef87533f0f5e24653 100644 (file)
                samsung,pin-drv = <0>;
        };
 
+       dp_hpd_gpio: dp_hpd_gpio {
+               samsung,pins = "gpx2-6";
+               samsung,pin-function = <0>;
+               samsung,pin-pud = <3>;
+               samsung,pin-drv = <0>;
+       };
+
        hdmi_hpd_irq: hdmi-hpd-irq {
                samsung,pins = "gpx3-7";
                samsung,pin-function = <0>;
        };
 };
 
+&dp {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&dp_hpd_gpio>;
+       samsung,color-space = <0>;
+       samsung,dynamic-range = <0>;
+       samsung,ycbcr-coeff = <0>;
+       samsung,color-depth = <1>;
+       samsung,link-rate = <0x0a>;
+       samsung,lane-count = <2>;
+       samsung,hpd-gpio = <&gpx2 6 0>;
+
+       display-timings {
+               native-mode = <&timing1>;
+
+               timing1: timing@1 {
+                       clock-frequency = <150660000>;
+                       hactive = <1920>;
+                       vactive = <1080>;
+                       hfront-porch = <60>;
+                       hback-porch = <172>;
+                       hsync-len = <80>;
+                       vback-porch = <25>;
+                       vfront-porch = <10>;
+                       vsync-len = <10>;
+               };
+       };
+};
+
 &hsi2c_9 {
        status = "okay";
        clock-frequency = <400000>;