Enable DECON and DSI nodes, and add the compatible display panel and appropriate panel timings for this device. Also, remove the simple-framebuffer node in favor of the panel. This device has a 720x1480 AMOLED Samsung S6E8AA5X01 display panel. Signed-off-by: Kaustabh Chakraborty <kauschluss@xxxxxxxxxxx> --- arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts | 49 ++++++++++++++++++------- 1 file changed, 36 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts b/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts index 61eec1aff32ef397c69ee3f0cba8050755f74fc6..6d57f583d687003850f0b03bd19fa9e2f6e33332 100644 --- a/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts +++ b/arch/arm64/boot/dts/exynos/exynos7870-j6lte.dts @@ -27,20 +27,7 @@ aliases { }; chosen { - #address-cells = <2>; - #size-cells = <1>; - ranges; - stdout-path = &serial2; - - framebuffer@67000000 { - compatible = "simple-framebuffer"; - reg = <0x0 0x67000000 (720 * 1480 * 4)>; - width = <720>; - height = <1480>; - stride = <(720 * 4)>; - format = "a8r8g8b8"; - }; }; gpio-hall-effect-sensor { @@ -133,6 +120,42 @@ vibrator { }; }; +&decon { + status = "okay"; +}; + +&dsi { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + samsung,burst-clock-frequency = <500000000>; + samsung,esc-clock-frequency = <16000000>; + samsung,pll-clock-frequency = <26000000>; + + panel@0 { + compatible = "samsung,s6e8aa5x01"; + reg = <0>; + + width-mm = <62>; + height-mm = <128>; + + panel-timing { + clock-frequency = <73094400>; + + hactive = <720>; + hsync-len = <2>; + hfront-porch = <62>; + hback-porch = <26>; + + vactive = <1480>; + vsync-len = <2>; + vfront-porch = <12>; + vback-porch = <10>; + }; + }; +}; + &gpu { status = "okay"; }; -- 2.49.0