aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-07-18 00:02:01 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-07-18 10:52:44 -0400
commit9181b5bbdff2739efa196c204cb307cc3cab210a (patch)
tree023c26129e8b130890c703c3f15559eea48e83af
parent9cbcbdbaff9e5dbf1b8f4eb28b4f0e18e0f36bbc (diff)
dt-bindings: display: sunxi: Improve endpoint ID scheme readability
The explanation for the endpoint ID numbering scheme is convoluted and hard to understand. This patch aims to improve the readability of it by combining the existing two paragraphs, while also providing a diagram example, and how endpoints should be numbered based on that example. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt36
1 files changed, 27 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
index b83e6018041d..2ee6ff0ef98e 100644
--- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
+++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
@@ -4,15 +4,33 @@ Allwinner A10 Display Pipeline
4The Allwinner A10 Display pipeline is composed of several components 4The Allwinner A10 Display pipeline is composed of several components
5that are going to be documented below: 5that are going to be documented below:
6 6
7For the input port of all components up to the TCON in the display 7For all connections between components up to the TCONs in the display
8pipeline, if there are multiple components, the local endpoint IDs 8pipeline, when there are multiple components of the same type at the
9must correspond to the index of the upstream block. For example, if 9same depth, the local endpoint ID must be the same as the remote
10the remote endpoint is Frontend 1, then the local endpoint ID must 10component's index. For example, if the remote endpoint is Frontend 1,
11be 1. 11then the local endpoint ID must be 1.
12 12
13Conversely, for the output ports of the same group, the remote endpoint 13 Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0
14ID must be the index of the local hardware block. If the local backend 14 [1] -- -- [1] [1] -- -- [1]
15is backend 1, then the remote endpoint ID must be 1. 15 \ / \ /
16 X X
17 / \ / \
18 [0] -- -- [0] [0] -- -- [0]
19 Frontend 1 [1] ------- [1] Backend 1 [1] ------- [1] TCON 1
20
21For a two pipeline system such as the one depicted above, the lines
22represent the connections between the components, while the numbers
23within the square brackets corresponds to the ID of the local endpoint.
24
25The same rule also applies to DE 2.0 mixer-TCON connections:
26
27 Mixer 0 [0] ----------- [0] TCON 0
28 [1] ---- ---- [1]
29 \ /
30 X
31 / \
32 [0] ---- ---- [0]
33 Mixer 1 [1] ----------- [1] TCON 1
16 34
17HDMI Encoder 35HDMI Encoder
18------------ 36------------