Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628044

[PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme
Date 2017-04-21 10:40 +0200
Message-ID <tyCgG-3B2-17@gated-at.bofh.it> (permalink)
References <tyCgF-3B2-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 10 ++++++++++
 1 file changed, 10 insertions(+)

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
 The Allwinner A10 Display pipeline is composed of several components
 that are going to be documented below:
 
+For the input port of all components up to the TCON in the display
+pipeline, if there are multiple components, the local endpoint IDs
+must correspond to the index of the upstream block. For example, if
+the remote endpoint is Frontend 1, then the local endpoint ID must
+be 1.
+
+Conversely, for the output ports of the same group, the remote endpoint
+ID must be the index of the local hardware block. If the local backend
+is backend 1, then the remote endpoint ID must be 1.
+
 TV Encoder
 ----------
 
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] drm/sun4i: Support multiple display pipelines Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:40 +0200
  [PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:40 +0200
  [PATCH v2 9/9] ARM: dts: sun6i: Enable tcon0 by default Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:40 +0200
  [PATCH v2 7/9] drm/sun4i: tcon: Copy ID from associated backend Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:40 +0200
  [PATCH v2 5/9] drm/sun4i: backend: Save pointer to device tree node Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  [PATCH v2 4/9] drm/sun4i: backend: Fetch backend ID from device tree Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  [PATCH v2 3/9] drm/sun4i: backend: Drop trailing 0 from backend in error message Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  [PATCH v2 8/9] ARM: dts: sun6i: Add second display pipeline device nodes Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  [PATCH v2 6/9] drm/sun4i: tcon: Find matching display backend by device node matching Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  [PATCH v2 2/9] drm/sun4i: Use lists to track registered display backends and TCONs Chen-Yu Tsai <wens@csie.org> - 2017-04-21 10:50 +0200
  Re: [PATCH v2 0/9] drm/sun4i: Support multiple display pipelines Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-24 08:00 +0200

csiph-web