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 <nor...@tronnes.org>
Acked-by: Thierry Reding <tred...@nvidia.com>
---

Changes since version 3:
- Changed display/display.txt -> display/panel/panel.txt

 Documentation/devicetree/bindings/display/panel/panel.txt | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt

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

Reply via email to