riscv: dts: light-lpi4a-z14inch-m0: add 14inch screen support
authorLu Hui <luhui@sipeed.com>
Mon, 25 Dec 2023 08:14:26 +0000 (16:14 +0800)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 13 Mar 2024 06:59:00 +0000 (15:59 +0900)
(cherry picked from commit 117a49c9b2c49b4757d5f49db846fa1407d31d34)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/riscv/boot/dts/thead/light-lpi4a-z14inch-m0.dts

index 90441e480fc655b14b4d938be1e09798794426b8..49d10b3c0645c28fb3aa16f2b40ee36c43de8a38 100644 (file)
@@ -9,6 +9,24 @@
         model = "T-HEAD Light Lichee Pi 4A configuration for Z14INCH-M0";
 };
 
+&dsi0_panel0 {
+       compatible = "custom,z14inch_2160x1440_40Hz";
+       /* display-timings in devicetree is it not working, but I haven't time to fix it, so move it into simple-panel.c */
+       /*
+       display-timings {
+               clock-frequency = <136000000>;
+               hactive = <2160>;
+               vactive = <1440>;
+               hfront-porch = <48>;
+               hback-porch = <80>;
+               hsync-len = <32>;
+               vback-porch = <14>;
+               vfront-porch = <3>;
+               vsync-len = <10>;
+       };
+       */
+};
+
 &cw2015 {
        cellwise,battery-profile = /bits/ 8 <
                0x17 0x67 0x72 0x68 0x66 0x63 0x62 0x5A