Commit ffff29d1 authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Inki Dae

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: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent ff219937
...@@ -225,7 +225,6 @@ ldo7_reg: LDO7 { ...@@ -225,7 +225,6 @@ ldo7_reg: LDO7 {
regulator-name = "VLCD+VMIPI_1.8V"; regulator-name = "VLCD+VMIPI_1.8V";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-always-on;
}; };
ldo8_reg: LDO8 { ldo8_reg: LDO8 {
...@@ -289,7 +288,6 @@ ldo17_reg: LDO17 { ...@@ -289,7 +288,6 @@ ldo17_reg: LDO17 {
regulator-name = "VCC_3.0V_LCD"; regulator-name = "VCC_3.0V_LCD";
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
regulator-always-on;
}; };
buck1_reg: BUCK1 { buck1_reg: BUCK1 {
...@@ -347,27 +345,66 @@ safeout2_reg: ESAFEOUT2 { ...@@ -347,27 +345,66 @@ safeout2_reg: ESAFEOUT2 {
}; };
}; };
spi-lcd {
compatible = "spi-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpio-sck = <&gpy3 1 0>;
gpio-mosi = <&gpy3 3 0>;
num-chipselects = <1>;
cs-gpios = <&gpy4 3 0>;
lcd@0 {
compatible = "samsung,ld9040";
reg = <0>;
vdd3-supply = <&ldo7_reg>;
vci-supply = <&ldo17_reg>;
reset-gpios = <&gpy4 5 0>;
spi-max-frequency = <1200000>;
spi-cpol;
spi-cpha;
power-on-delay = <10>;
reset-delay = <10>;
panel-width-mm = <90>;
panel-height-mm = <154>;
display-timings {
timing {
clock-frequency = <23492370>;
hactive = <480>;
vactive = <800>;
hback-porch = <16>;
hfront-porch = <16>;
vback-porch = <2>;
vfront-porch = <28>;
hsync-len = <2>;
vsync-len = <1>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
port {
lcd_ep: endpoint {
remote-endpoint = <&fimd_dpi_ep>;
};
};
};
};
fimd: fimd@11c00000 { fimd: fimd@11c00000 {
pinctrl-0 = <&lcd_clk>, <&lcd_data24>; pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
samsung,invert-vden; samsung,invert-vden;
samsung,invert-vclk; samsung,invert-vclk;
display-timings { #address-cells = <1>;
timing { #size-cells = <0>;
clock-frequency = <23492370>; port@3 {
hactive = <480>; reg = <3>;
vactive = <800>; fimd_dpi_ep: endpoint {
hback-porch = <16>; remote-endpoint = <&lcd_ep>;
hfront-porch = <16>;
vback-porch = <2>;
vfront-porch = <28>;
hsync-len = <2>;
vsync-len = <1>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment