brintos

brintos / linux-shallow public Read only

0
0
Text · 3.6 KiB · e6088f3 Raw
118 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 Display Engine Pipeline8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11  - Maxime Ripard <mripard@kernel.org>12 13description: |14  The display engine pipeline (and its entry point, since it can be15  either directly the backend or the frontend) is represented as an16  extra node.17 18  The Allwinner A10 Display pipeline is composed of several components19  that are going to be documented below:20 21  For all connections between components up to the TCONs in the22  display pipeline, when there are multiple components of the same23  type at the same depth, the local endpoint ID must be the same as24  the remote component's index. For example, if the remote endpoint is25  Frontend 1, then the local endpoint ID must be 1.26 27  Frontend 0  [0] ------- [0]  Backend 0  [0] ------- [0]  TCON 028              [1] --   -- [1]             [1] --   -- [1]29                    \ /                         \ /30                     X                           X31                    / \                         / \32              [0] --   -- [0]             [0] --   -- [0]33  Frontend 1  [1] ------- [1]  Backend 1  [1] ------- [1]  TCON 134 35  For a two pipeline system such as the one depicted above, the lines36  represent the connections between the components, while the numbers37  within the square brackets corresponds to the ID of the local endpoint.38 39  The same rule also applies to DE 2.0 mixer-TCON connections:40 41  Mixer 0  [0] ----------- [0]  TCON 042           [1] ----   ---- [1]43                   \ /44                    X45                   / \46           [0] ----   ---- [0]47  Mixer 1  [1] ----------- [1]  TCON 148 49properties:50  compatible:51    enum:52      - allwinner,sun4i-a10-display-engine53      - allwinner,sun5i-a10s-display-engine54      - allwinner,sun5i-a13-display-engine55      - allwinner,sun6i-a31-display-engine56      - allwinner,sun6i-a31s-display-engine57      - allwinner,sun7i-a20-display-engine58      - allwinner,sun8i-a23-display-engine59      - allwinner,sun8i-a33-display-engine60      - allwinner,sun8i-a83t-display-engine61      - allwinner,sun8i-h3-display-engine62      - allwinner,sun8i-r40-display-engine63      - allwinner,sun8i-v3s-display-engine64      - allwinner,sun9i-a80-display-engine65      - allwinner,sun20i-d1-display-engine66      - allwinner,sun50i-a64-display-engine67      - allwinner,sun50i-h6-display-engine68 69  allwinner,pipelines:70    $ref: /schemas/types.yaml#/definitions/phandle-array71    minItems: 172    maxItems: 273    items:74      maxItems: 175    description: |76      Available display engine frontends (DE 1.0) or mixers (DE77      2.0/3.0) available.78 79required:80  - compatible81  - allwinner,pipelines82 83additionalProperties: false84 85if:86  properties:87    compatible:88      contains:89        enum:90          - allwinner,sun4i-a10-display-engine91          - allwinner,sun6i-a31-display-engine92          - allwinner,sun6i-a31s-display-engine93          - allwinner,sun7i-a20-display-engine94          - allwinner,sun8i-a83t-display-engine95          - allwinner,sun8i-r40-display-engine96          - allwinner,sun9i-a80-display-engine97          - allwinner,sun20i-d1-display-engine98          - allwinner,sun50i-a64-display-engine99 100then:101  properties:102    allwinner,pipelines:103      minItems: 2104 105else:106  properties:107    allwinner,pipelines:108      maxItems: 1109 110examples:111  - |112      de: display-engine {113          compatible = "allwinner,sun4i-a10-display-engine";114          allwinner,pipelines = <&fe0>, <&fe1>;115      };116 117...118