From 117a49c9b2c49b4757d5f49db846fa1407d31d34 Mon Sep 17 00:00:00 2001 From: Lu Hui Date: Mon, 25 Dec 2023 16:14:26 +0800 Subject: [PATCH] riscv: dts: light-lpi4a-z14inch-m0: add 14inch screen support --- .../boot/dts/thead/light-lpi4a-z14inch-m0.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/riscv/boot/dts/thead/light-lpi4a-z14inch-m0.dts b/arch/riscv/boot/dts/thead/light-lpi4a-z14inch-m0.dts index 90441e480..49d10b3c0 100644 --- a/arch/riscv/boot/dts/thead/light-lpi4a-z14inch-m0.dts +++ b/arch/riscv/boot/dts/thead/light-lpi4a-z14inch-m0.dts @@ -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