Re: [PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-04-09 Thread Rob Herring
On Fri, Mar 30, 2018 at 07:18:19PM +0200, Sebastian Reichel wrote:
> Merge "rotation" property description into common panel
> binding.
> 
> Suggested-by: Rob Herring 
> Signed-off-by: Sebastian Reichel 
> ---
>  .../devicetree/bindings/display/panel/panel-common.txt   | 12 
> 
>  Documentation/devicetree/bindings/display/panel/panel.txt|  4 
>  2 files changed, 12 insertions(+), 4 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt

Reviewed-by: Rob Herring 

Thanks for consolidating.

Rob


Re: [PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-04-09 Thread Rob Herring
On Fri, Mar 30, 2018 at 07:18:19PM +0200, Sebastian Reichel wrote:
> Merge "rotation" property description into common panel
> binding.
> 
> Suggested-by: Rob Herring 
> Signed-off-by: Sebastian Reichel 
> ---
>  .../devicetree/bindings/display/panel/panel-common.txt   | 12 
> 
>  Documentation/devicetree/bindings/display/panel/panel.txt|  4 
>  2 files changed, 12 insertions(+), 4 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt

Reviewed-by: Rob Herring 

Thanks for consolidating.

Rob


Re: [PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-04-03 Thread Pavel Machek
Hi!

> +- rotation: Display rotation in degrees counter clockwise (0,90,180,270).
> +  The following values are possible:
> +
> +0 = The top side of the panel matches the top side of the
> +device's casing (default).

This is still ambiguous for devices such as N900 and Droid4, which can
be used in two modes.

"For phone-like devices that can be used in two orientations, top side
is the one that is pointing up in keyboard-closed, portrait mode."

?


Best regards,
Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


signature.asc
Description: Digital signature


Re: [PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-04-03 Thread Pavel Machek
Hi!

> +- rotation: Display rotation in degrees counter clockwise (0,90,180,270).
> +  The following values are possible:
> +
> +0 = The top side of the panel matches the top side of the
> +device's casing (default).

This is still ambiguous for devices such as N900 and Droid4, which can
be used in two modes.

"For phone-like devices that can be used in two orientations, top side
is the one that is pointing up in keyboard-closed, portrait mode."

?


Best regards,
Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


signature.asc
Description: Digital signature


[PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-03-30 Thread Sebastian Reichel
Merge "rotation" property description into common panel
binding.

Suggested-by: Rob Herring 
Signed-off-by: Sebastian Reichel 
---
 .../devicetree/bindings/display/panel/panel-common.txt   | 12 
 Documentation/devicetree/bindings/display/panel/panel.txt|  4 
 2 files changed, 12 insertions(+), 4 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt

diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.txt 
b/Documentation/devicetree/bindings/display/panel/panel-common.txt
index 557fa765adcb..46ff3c2d0811 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-common.txt
+++ b/Documentation/devicetree/bindings/display/panel/panel-common.txt
@@ -18,6 +18,18 @@ Descriptive Properties
   physical area where images are displayed. These properties are expressed in
   millimeters and rounded to the closest unit.
 
+- rotation: Display rotation in degrees counter clockwise (0,90,180,270).
+  The following values are possible:
+
+0 = The top side of the panel matches the top side of the
+device's casing (default).
+   90 = The top side of the panel matches the left side of the
+device's casing.
+  180 = The top side of the panel matches the bottom side of
+the device's casing. The panel is mounted upside-down.
+  270 = The top side of the panel matches the right side of
+the device's casing.
+
 - label: The label property specifies a symbolic name for the panel as a
   string suitable for use by humans. It typically contains a name inscribed on
   the system (e.g. as an affixed label) or specified in the system's
diff --git a/Documentation/devicetree/bindings/display/panel/panel.txt 
b/Documentation/devicetree/bindings/display/panel/panel.txt
deleted file mode 100644
index e2e6867852b8..
--- a/Documentation/devicetree/bindings/display/panel/panel.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Common display properties
--
-
-- rotation:Display rotation in degrees counter clockwise (0,90,180,270)
-- 
2.16.2



[PATCHv3 5/8] dt-bindings: panel: common: document orientation property

2018-03-30 Thread Sebastian Reichel
Merge "rotation" property description into common panel
binding.

Suggested-by: Rob Herring 
Signed-off-by: Sebastian Reichel 
---
 .../devicetree/bindings/display/panel/panel-common.txt   | 12 
 Documentation/devicetree/bindings/display/panel/panel.txt|  4 
 2 files changed, 12 insertions(+), 4 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/panel.txt

diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.txt 
b/Documentation/devicetree/bindings/display/panel/panel-common.txt
index 557fa765adcb..46ff3c2d0811 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-common.txt
+++ b/Documentation/devicetree/bindings/display/panel/panel-common.txt
@@ -18,6 +18,18 @@ Descriptive Properties
   physical area where images are displayed. These properties are expressed in
   millimeters and rounded to the closest unit.
 
+- rotation: Display rotation in degrees counter clockwise (0,90,180,270).
+  The following values are possible:
+
+0 = The top side of the panel matches the top side of the
+device's casing (default).
+   90 = The top side of the panel matches the left side of the
+device's casing.
+  180 = The top side of the panel matches the bottom side of
+the device's casing. The panel is mounted upside-down.
+  270 = The top side of the panel matches the right side of
+the device's casing.
+
 - label: The label property specifies a symbolic name for the panel as a
   string suitable for use by humans. It typically contains a name inscribed on
   the system (e.g. as an affixed label) or specified in the system's
diff --git a/Documentation/devicetree/bindings/display/panel/panel.txt 
b/Documentation/devicetree/bindings/display/panel/panel.txt
deleted file mode 100644
index e2e6867852b8..
--- a/Documentation/devicetree/bindings/display/panel/panel.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Common display properties
--
-
-- rotation:Display rotation in degrees counter clockwise (0,90,180,270)
-- 
2.16.2