distribution/projects/Rockchip/packages/linux/patches/RK3566-X55/0004-dts-Define-the-orientation-of-the-Powkiddy-X55-panel.patch

25 lines
964 B
Diff

From ad469e3890607d81f4b6ee0f8035537d76937370 Mon Sep 17 00:00:00 2001
From: Johnny on Flame <johnnyonflame@hotmail.com>
Date: Mon, 7 Aug 2023 20:59:28 +0000
Subject: [PATCH 4/4] dts: Define the orientation of the Powkiddy X55 panel.
---
.../boot/dts/rockchip/lcd/lcd_HX8394F_720x1280_mipi_dsi0.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/lcd/lcd_HX8394F_720x1280_mipi_dsi0.dtsi b/arch/arm64/boot/dts/rockchip/lcd/lcd_HX8394F_720x1280_mipi_dsi0.dtsi
index 5eb492203..b3745a81b 100755
--- a/arch/arm64/boot/dts/rockchip/lcd/lcd_HX8394F_720x1280_mipi_dsi0.dtsi
+++ b/arch/arm64/boot/dts/rockchip/lcd/lcd_HX8394F_720x1280_mipi_dsi0.dtsi
@@ -16,7 +16,7 @@
init-delay-ms = <60>;
unprepare-delay-ms = <60>;
disable-delay-ms = <60>;
-
+ rotation = <90>;
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
--
2.34.1