ARM: dts: update display related nodes for exynos5250-snow
authorAjay Kumar <ajaykumar.rs@samsung.com>
Sat, 13 Sep 2014 17:16:35 +0000 (02:16 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Sep 2014 17:16:35 +0000 (02:16 +0900)
Add DT nodes for ptn3460 bridge chip and panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also add bridge phandle needed by dp to enable display on snow.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-snow.dts

index 2a62459..e51fcef 100644 (file)
@@ -9,6 +9,7 @@
 */
 
 /dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
 #include "exynos5250.dtsi"
 
 / {
                                        dcdc3 {
                                                ti,enable-ext-control;
                                        };
-                                       fet1 {
+                                       fet1: fet1 {
                                                regulator-name = "vcd_led";
                                                ti,overcurrent-wait = <3>;
                                        };
                                                regulator-always-on;
                                                ti,overcurrent-wait = <3>;
                                        };
-                                       fet6 {
+                                       fet6: fet6 {
                                                regulator-name = "lcd_vdd";
                                                ti,overcurrent-wait = <3>;
                                        };
                        pinctrl-0 = <&max98095_en>;
                        pinctrl-names = "default";
                };
+
+               ptn3460: lvds-bridge@20 {
+                       compatible = "nxp,ptn3460";
+                       reg = <0x20>;
+                       powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
+                       reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
+                       edid-emulation = <5>;
+                       panel = <&panel>;
+               };
        };
 
        i2s0: i2s@03830000 {
                vdd_pll-supply = <&ldo8_reg>;
        };
 
-       backlight {
+       backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm 0 1000000 0>;
                brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
                default-brightness-level = <7>;
+               enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
+               power-supply = <&fet1>;
                pinctrl-0 = <&pwm0_out>;
                pinctrl-names = "default";
        };
                samsung,invert-vclk;
        };
 
+       panel: panel {
+               compatible = "auo,b116xw03";
+               power-supply = <&fet6>;
+               backlight = <&backlight>;
+       };
+
        dp-controller@145B0000 {
                status = "okay";
                pinctrl-names = "default";
                samsung,link-rate = <0x0a>;
                samsung,lane-count = <2>;
                samsung,hpd-gpio = <&gpx0 7 0>;
-
-               display-timings {
-                       native-mode = <&timing1>;
-
-                       timing1: timing@1 {
-                               clock-frequency = <70589280>;
-                               hactive = <1366>;
-                               vactive = <768>;
-                               hfront-porch = <40>;
-                               hback-porch = <40>;
-                               hsync-len = <32>;
-                               vback-porch = <10>;
-                               vfront-porch = <12>;
-                               vsync-len = <6>;
-                       };
-               };
+               bridge = <&ptn3460>;
        };
 };