aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-04-21 04:38:49 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-14 02:27:41 -0400
commitde120d092eeb69b5285586a9fd33b1778ce9ee27 (patch)
tree51fe638790fd9d8fd7f7024c554b7f25a269eebc
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
dt-bindings: display: sun4i: Add component endpoint ID numbering scheme
The Allwinner display pipeline contains many hardware components, some of which can consume data from one of multiple upstream components. The numbering scheme of these components must be encoded into the device tree so the driver can figure out which component out of two or more of the same type it is supposed to use or program. This patch adds the constraint that local endpoint IDs must be the index or number of the remote endpoint's hardware block, for all components in the display pipeline up to the TCONs. 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.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
index 57a8d0610062..7acdbf14ae1c 100644
--- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
+++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
@@ -4,6 +4,16 @@ 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
8pipeline, if there are multiple components, the local endpoint IDs
9must correspond to the index of the upstream block. For example, if
10the remote endpoint is Frontend 1, then the local endpoint ID must
11be 1.
12
13Conversely, for the output ports of the same group, the remote endpoint
14ID must be the index of the local hardware block. If the local backend
15is backend 1, then the remote endpoint ID must be 1.
16
7TV Encoder 17TV Encoder
8---------- 18----------
9 19