aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-03-04 16:51:18 -0500
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-06-07 19:36:04 -0400
commitf54b4df6b14fb5858bec605aee4356a2e801dddb (patch)
treef153e52681bb227e89587d73e33f2f18064f0eb2
parent1ddf2d4ad898e5e793681680489fc4c1173d2d42 (diff)
dt-bindings: display: renesas: lvds: Add renesas,companion property
Add a new optional renesas,companion property to point to the companion LVDS encoder. This is used to support dual-link operation where the main LVDS encoder splits even-numbered and odd-numbered pixels between the two LVDS encoders. The new property doesn't control the mode of operation, it only describes the relationship between the master and companion LVDS encoders. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
-rw-r--r--Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt18
1 files changed, 14 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt b/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt
index 86a691a5dcf5..c6a196d0b075 100644
--- a/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt
+++ b/Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt
@@ -46,14 +46,24 @@ OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
46 46
47Each port shall have a single endpoint. 47Each port shall have a single endpoint.
48 48
49Optional properties:
50
51- renesas,companion : phandle to the companion LVDS encoder. This property is
52 mandatory for the first LVDS encoder on D3 and E3 SoCs, and shall point to
53 the second encoder to be used as a companion in dual-link mode. It shall not
54 be set for any other LVDS encoder.
55
49 56
50Example: 57Example:
51 58
52 lvds0: lvds@feb90000 { 59 lvds0: lvds@feb90000 {
53 compatible = "renesas,r8a7790-lvds"; 60 compatible = "renesas,r8a77990-lvds";
54 reg = <0 0xfeb90000 0 0x1c>; 61 reg = <0 0xfeb90000 0 0x20>;
55 clocks = <&cpg CPG_MOD 726>; 62 clocks = <&cpg CPG_MOD 727>;
56 resets = <&cpg 726>; 63 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
64 resets = <&cpg 727>;
65
66 renesas,companion = <&lvds1>;
57 67
58 ports { 68 ports {
59 #address-cells = <1>; 69 #address-cells = <1>;