Skip to contentSkip to conversation

dt-bindings: display: panel: Document the rotation property

PATCH Applied Luca Leonardo Scorcia 2 participants 2 messages Mar 9 – Mar 10

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 dt-bindings: display: panel: Document the rotation property

The Jadard jd9365da-h3 driver already allows DRM to get the panel orientation via the device tree rotation property (described in panel-common.yaml), but it's currently not documented. Describe it in the driver documentation to fix a dtbs_check error in Xiaomi Mi Smart Clock x04g, where the panel is landscape-oriented.

---
v3: Fixed commit message wrapping
v2: Review feedback: improved commit message to explain how the rotation
property is used by the driver and why it's needed in the driver documentation.

 .../devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml +1 -2
index b8783eba3ddc..25024f4a63e1 100644
@@ -33,9 +33,8 @@ properties:
     description: supply regulator for VCCIO, usually 1.8V
 
   reset-gpios: true
-
   backlight: true
-
+  rotation: true
   port: true
 
 required:
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw

Hi,

Quoted 8 lines · Luca Leonardo Scorcia

The Jadard jd9365da-h3 driver already allows DRM to get the panel orientation via the device tree rotation property (described in panel-common.yaml), but it's currently not documented. Describe it in the driver documentation to fix a dtbs_check error in Xiaomi Mi Smart Clock x04g, where the panel is landscape-oriented.

[...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/1] dt-bindings: display: panel: Document the rotation property

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/4063a4d39f97b02cb7bbdb47f0b0050b7821e187
Signature · 1 line
Neil