aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-03-25 08:10:36 -0400
committerInki Dae <daeinki@gmail.com>2014-04-04 08:24:49 -0400
commitffff29d1e37eb1e4a739ba920982284f98a4b1b6 (patch)
tree772d210650d6f37dac58da117aaeb4a5f633d9ad /arch/arm
parentff21993776325316cdbcb4ced888ce4cd31a8bc6 (diff)
ARM: dts: exynos4210-universal_c210: add proper panel node
This patch replaces panel bindings for panel initialized by boot loader with bindings to proper ld9040 panel. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/exynos4210-universal_c210.dts71
1 files changed, 54 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index 477208d98c6d..0a80a72368d3 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -225,7 +225,6 @@
225 regulator-name = "VLCD+VMIPI_1.8V"; 225 regulator-name = "VLCD+VMIPI_1.8V";
226 regulator-min-microvolt = <1800000>; 226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>; 227 regulator-max-microvolt = <1800000>;
228 regulator-always-on;
229 }; 228 };
230 229
231 ldo8_reg: LDO8 { 230 ldo8_reg: LDO8 {
@@ -289,7 +288,6 @@
289 regulator-name = "VCC_3.0V_LCD"; 288 regulator-name = "VCC_3.0V_LCD";
290 regulator-min-microvolt = <3000000>; 289 regulator-min-microvolt = <3000000>;
291 regulator-max-microvolt = <3000000>; 290 regulator-max-microvolt = <3000000>;
292 regulator-always-on;
293 }; 291 };
294 292
295 buck1_reg: BUCK1 { 293 buck1_reg: BUCK1 {
@@ -347,27 +345,66 @@
347 }; 345 };
348 }; 346 };
349 347
348 spi-lcd {
349 compatible = "spi-gpio";
350 #address-cells = <1>;
351 #size-cells = <0>;
352
353 gpio-sck = <&gpy3 1 0>;
354 gpio-mosi = <&gpy3 3 0>;
355 num-chipselects = <1>;
356 cs-gpios = <&gpy4 3 0>;
357
358 lcd@0 {
359 compatible = "samsung,ld9040";
360 reg = <0>;
361 vdd3-supply = <&ldo7_reg>;
362 vci-supply = <&ldo17_reg>;
363 reset-gpios = <&gpy4 5 0>;
364 spi-max-frequency = <1200000>;
365 spi-cpol;
366 spi-cpha;
367 power-on-delay = <10>;
368 reset-delay = <10>;
369 panel-width-mm = <90>;
370 panel-height-mm = <154>;
371 display-timings {
372 timing {
373 clock-frequency = <23492370>;
374 hactive = <480>;
375 vactive = <800>;
376 hback-porch = <16>;
377 hfront-porch = <16>;
378 vback-porch = <2>;
379 vfront-porch = <28>;
380 hsync-len = <2>;
381 vsync-len = <1>;
382 hsync-active = <0>;
383 vsync-active = <0>;
384 de-active = <0>;
385 pixelclk-active = <0>;
386 };
387 };
388 port {
389 lcd_ep: endpoint {
390 remote-endpoint = <&fimd_dpi_ep>;
391 };
392 };
393 };
394 };
395
350 fimd: fimd@11c00000 { 396 fimd: fimd@11c00000 {
351 pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 397 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
352 pinctrl-names = "default"; 398 pinctrl-names = "default";
353 status = "okay"; 399 status = "okay";
354 samsung,invert-vden; 400 samsung,invert-vden;
355 samsung,invert-vclk; 401 samsung,invert-vclk;
356 display-timings { 402 #address-cells = <1>;
357 timing { 403 #size-cells = <0>;
358 clock-frequency = <23492370>; 404 port@3 {
359 hactive = <480>; 405 reg = <3>;
360 vactive = <800>; 406 fimd_dpi_ep: endpoint {
361 hback-porch = <16>; 407 remote-endpoint = <&lcd_ep>;
362 hfront-porch = <16>;
363 vback-porch = <2>;
364 vfront-porch = <28>;
365 hsync-len = <2>;
366 vsync-len = <1>;
367 hsync-active = <0>;
368 vsync-active = <0>;
369 de-active = <0>;
370 pixelclk-active = <0>;
371 }; 408 };
372 }; 409 };
373 }; 410 };