]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: update display related nodes for exynos5800-peach-pi
authorAjay Kumar <ajaykumar.rs@samsung.com>
Sun, 14 Sep 2014 00:22:45 +0000 (09:22 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 14 Sep 2014 00:22:45 +0000 (09:22 +0900)
Add DT nodes for panel-simple "auo,b133htn01" panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also, add panel phandle needed by dp to enable display on peach_pi.

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

index 025a095774141b07b461e2d9ccae1c2c3cea00da..1d31c813255849087233fda0e52c7dc61d1faa10 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>;
+               enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
+               power-supply = <&tps65090_fet1>;
                pinctrl-0 = <&pwm0_out>;
                pinctrl-names = "default";
        };
                regulator-boot-on;
                regulator-always-on;
        };
+
+       panel: panel {
+               compatible = "auo,b133htn01";
+               power-supply = <&tps65090_fet6>;
+               backlight = <&backlight>;
+       };
 };
 
 &adc {
        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>;
-               };
-       };
+       panel = <&panel>;
 };
 
 &fimd {