OSDN Git Service

dt-bindings: display/panel: Add common rotation property
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 31 Jan 2017 15:05:57 +0000 (16:05 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Sat, 18 Feb 2017 17:05:01 +0000 (18:05 +0100)
Display panels can be oriented many ways, especially in the embedded
world. The rotation property is a way to describe this orientation.
The counter clockwise direction is chosen because that's what fbdev
and drm use.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/panel/panel.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/display/panel/panel.txt b/Documentation/devicetree/bindings/display/panel/panel.txt
new file mode 100644 (file)
index 0000000..e2e6867
--- /dev/null
@@ -0,0 +1,4 @@
+Common display properties
+-------------------------
+
+- rotation:    Display rotation in degrees counter clockwise (0,90,180,270)