Skip to content

Commit 2219626

Browse files
lujianhuaandersson
authored andcommitted
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]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a4f82b8 commit 2219626

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
/*
3-
* Copyright (c) 2022, 2023 Jianhua Lu <[email protected]>
3+
* Copyright (c) 2022-2024 Jianhua Lu <[email protected]>
44
*/
55

66
#include <dt-bindings/arm/qcom,ids.h>
@@ -551,6 +551,7 @@
551551
vddio-supply = <&vreg_l14a_1p88>;
552552
reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
553553
backlight = <&backlight>;
554+
rotation = <90>;
554555

555556
status = "disabled";
556557

0 commit comments

Comments
 (0)