diff mbox series

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

Message ID 20240227121744.10918-1-lujianhua000@gmail.com
State Accepted
Commit 2219626708d7300402a46c31e2347d40db7c4971
Headers show
Series arm64: dts: qcom: sm8250-xiaomi-elish: set rotation | expand

Commit Message

Jianhua Lu Feb. 27, 2024, 12:17 p.m. UTC
Xiaomi Pad 5 Pro has a 2560x1600 portrait screen, set RIGHT_UP rotation
to make it look like a landscape screen.

Signed-off-by: Jianhua Lu <lujianhua000@gmail.com>
---
 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Konrad Dybcio March 1, 2024, 11:59 p.m. UTC | #1
On 27.02.2024 13:17, Jianhua Lu wrote:
> Xiaomi Pad 5 Pro has a 2560x1600 portrait screen, set RIGHT_UP rotation
> to make it look like a landscape screen.
> 
> Signed-off-by: Jianhua Lu <lujianhua000@gmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
Bjorn Andersson March 4, 2024, 9:28 p.m. UTC | #2
On Tue, 27 Feb 2024 20:17:44 +0800, Jianhua Lu wrote:
> 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,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
index 946365f15a59..6f54f50a70b0 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
@@ -1,6 +1,6 @@ 
 // SPDX-License-Identifier: BSD-3-Clause
 /*
- * Copyright (c) 2022, 2023 Jianhua Lu <lujianhua000@gmail.com>
+ * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
  */
 
 #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";