Thread (2 messages) read the whole thread 2 messages, 2 authors, 2021-06-19
STALE1871d LANDED

Landed in mainline as edb39de5d731 on 2021-06-19.

[PATCH] arm64: dts: rockchip: Add Rotation Property for OGA Panel

From: Chris Morgan <hidden>
Date: 2021-06-14 16:19:13
Subsystem: the rest · Maintainer: Linus Torvalds

From: Chris Morgan <redacted>

Add rotation property for Odroid Go Advance panel to note that it is
rotated 270 degrees. Rotation affects DRM connector after this patch:

https://cgit.freedesktop.org/drm/drm/commit/drivers/gpu/drm/panel/panel-elida-kd35t133.c?id=610d9c311b1387f8c4ac602fee1f2a1cb0508707

Note: following example of motorola-mapphone-common and
tegra30-asus-nexus7-grouper-common where rotation is specified by
itself with other physical properties (which are already hard-coded
into the driver in this case so not necessary). Please advise if this
is not the correct manner in the devicetree to specify this.

Signed-off-by: Chris Morgan <redacted>
---
 arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
index 49c97f76df77..32d7b8270649 100644
--- a/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
@@ -241,6 +241,8 @@ panel@0 {
 		reset-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
 		vdd-supply = <&vcc_lcd>;
 
+		rotation = <270>;
+
 		port {
 			mipi_in_panel: endpoint {
 				remote-endpoint = <&mipi_out_panel>;
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help