]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: update display related nodes for exynos5420-peach-pit
authorAjay Kumar <ajaykumar.rs@samsung.com>
Sat, 13 Sep 2014 17:20:18 +0000 (02:20 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 13 Sep 2014 17:20:18 +0000 (02:20 +0900)
Add DT nodes for ps8622 bridge chip and panel.
Add backlight power supply for pwm-backlight.
Also add bridge phandle needed by dp to enable display on peach_pit.

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

index 22c8224f3107741d8072044e16b67f335c410d96..9a233828539cfbce55a3ea81ccc504a0a7ad434d 100644 (file)
                i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
        };
 
-       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>;
+               power-supply = <&tps65090_fet1>;
                pinctrl-0 = <&pwm0_out>;
                pinctrl-names = "default";
        };
                regulator-boot-on;
                regulator-always-on;
        };
+
+       panel: panel {
+               compatible = "auo,b116xw03";
+               power-supply = <&tps65090_fet6>;
+               backlight = <&backlight>;
+       };
 };
 
 &adc {
        samsung,link-rate = <0x06>;
        samsung,lane-count = <2>;
        samsung,hpd-gpio = <&gpx2 6 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 = <&ps8625>;
 };
 
 &fimd {
                reg = <0x44>;
                vcc-supply = <&tps65090_fet5>;
        };
+
+       ps8625: lvds-bridge@48 {
+               compatible = "parade,ps8625";
+               reg = <0x48>;
+               sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
+               lane-count = <2>;
+               panel = <&panel>;
+               use-external-pwm;
+       };
 };
 
 &hsi2c_8 {