[PATCH 4/8] drm/sun4i: Add optional 'mode' property to TCON

From: Priit Laes
Date: Sat Feb 11 2017 - 12:45:42 EST


Add variable to enable either 'rgb' or 'lvds' output.

Signed-off-by: Priit Laes <plaes@xxxxxxxxx>
---
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
index b82c004..c367ede 100644
--- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
+++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
@@ -43,6 +43,9 @@ Required properties:
- reset-names: the reset names mentioned above
- clock-output-names: Name of the pixel clock created

+- mode: Defines which encoder will be enabled. Values are 'rgb', 'lvds'.
+ Defaults to 'rgb' if not set.
+
- ports: A ports node with endpoint definitions as defined in
Documentation/devicetree/bindings/media/video-interfaces.txt. The
first port should be the input endpoint, the second one the output
--
2.9.3