]> Git Repo - J-linux.git/commitdiff
arm64: dts: qcom: sm8250-xiaomi-elish: set rotation
authorJianhua Lu <[email protected]>
Tue, 27 Feb 2024 12:17:44 +0000 (20:17 +0800)
committerBjorn Andersson <[email protected]>
Mon, 4 Mar 2024 04:06:13 +0000 (20:06 -0800)
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]>
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

index 946365f15a5985a6791d587308151ee9c1764b6c..6f54f50a70b0f8e0b0c81da5963e319858b6ddcd 100644 (file)
@@ -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>
                vddio-supply = <&vreg_l14a_1p88>;
                reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
                backlight = <&backlight>;
+               rotation = <90>;
 
                status = "disabled";
 
This page took 0.060234 seconds and 4 git commands to generate.