Skip to contentSkip to conversation

arm64: dts: qcom: sm8250-xiaomi-elish: set rotation

PATCH Applied Jianhua Lu 3 participants 3 messages Feb 27, 2024 – Mar 4, 2024

Subsystems (3)
lore
Share & tools
lore

Jianhua Lu

author
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sm8250-xiaomi-elish: set rotation

Xiaomi Pad 5 Pro has a 2560x1600 portrait screen, set RIGHT_UP rotation to make it look like a landscape screen.

---
 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +2 -1
index 946365f15a59..6f54f50a70b0 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: BSD-3-Clause
 /*
- * Copyright (c) 2022, 2023 Jianhua Lu <[email protected]>
+ * Copyright (c) 2022-2024 Jianhua Lu <[email protected]>
  */
 
 #include <dt-bindings/arm/qcom,ids.h>
@@ -551,6 +551,7 @@ display_panel: panel@0 {
 		vddio-supply = <&vreg_l14a_1p88>;
 		reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
 		backlight = <&backlight>;
+		rotation = <90>;
 
 		status = "disabled";
 
Signature · 1 line
2.43.2
maintainer Applied
#2 lore raw
In reply to Jianhua Lu
Quoted 4 lines · Jianhua Lu

Xiaomi Pad 5 Pro has a 2560x1600 portrait screen, set RIGHT_UP rotation to make it look like a landscape screen.

Applied, thanks!

[1/1] arm64: dts: qcom: sm8250-xiaomi-elish: set rotation

      commit: 2219626708d7300402a46c31e2347d40db7c4971

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>