2024-02-27 12:20:53

by Jianhua Lu

[permalink] [raw]
Subject: [PATCH] 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.

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

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 <[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";

--
2.43.2



2024-03-01 23:59:34

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sm8250-xiaomi-elish: set rotation

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 <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

2024-03-04 21:40:39

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sm8250-xiaomi-elish: set rotation


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,
--
Bjorn Andersson <[email protected]>