18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Allwinner A10 Display Engine Pipeline Device Tree Bindings 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Chen-Yu Tsai <wens@csie.org> 118c2ecf20Sopenharmony_ci - Maxime Ripard <mripard@kernel.org> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidescription: | 148c2ecf20Sopenharmony_ci The display engine pipeline (and its entry point, since it can be 158c2ecf20Sopenharmony_ci either directly the backend or the frontend) is represented as an 168c2ecf20Sopenharmony_ci extra node. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci The Allwinner A10 Display pipeline is composed of several components 198c2ecf20Sopenharmony_ci that are going to be documented below: 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci For all connections between components up to the TCONs in the 228c2ecf20Sopenharmony_ci display pipeline, when there are multiple components of the same 238c2ecf20Sopenharmony_ci type at the same depth, the local endpoint ID must be the same as 248c2ecf20Sopenharmony_ci the remote component's index. For example, if the remote endpoint is 258c2ecf20Sopenharmony_ci Frontend 1, then the local endpoint ID must be 1. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0 288c2ecf20Sopenharmony_ci [1] -- -- [1] [1] -- -- [1] 298c2ecf20Sopenharmony_ci \ / \ / 308c2ecf20Sopenharmony_ci X X 318c2ecf20Sopenharmony_ci / \ / \ 328c2ecf20Sopenharmony_ci [0] -- -- [0] [0] -- -- [0] 338c2ecf20Sopenharmony_ci Frontend 1 [1] ------- [1] Backend 1 [1] ------- [1] TCON 1 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci For a two pipeline system such as the one depicted above, the lines 368c2ecf20Sopenharmony_ci represent the connections between the components, while the numbers 378c2ecf20Sopenharmony_ci within the square brackets corresponds to the ID of the local endpoint. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci The same rule also applies to DE 2.0 mixer-TCON connections: 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci Mixer 0 [0] ----------- [0] TCON 0 428c2ecf20Sopenharmony_ci [1] ---- ---- [1] 438c2ecf20Sopenharmony_ci \ / 448c2ecf20Sopenharmony_ci X 458c2ecf20Sopenharmony_ci / \ 468c2ecf20Sopenharmony_ci [0] ---- ---- [0] 478c2ecf20Sopenharmony_ci Mixer 1 [1] ----------- [1] TCON 1 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciproperties: 508c2ecf20Sopenharmony_ci compatible: 518c2ecf20Sopenharmony_ci enum: 528c2ecf20Sopenharmony_ci - allwinner,sun4i-a10-display-engine 538c2ecf20Sopenharmony_ci - allwinner,sun5i-a10s-display-engine 548c2ecf20Sopenharmony_ci - allwinner,sun5i-a13-display-engine 558c2ecf20Sopenharmony_ci - allwinner,sun6i-a31-display-engine 568c2ecf20Sopenharmony_ci - allwinner,sun6i-a31s-display-engine 578c2ecf20Sopenharmony_ci - allwinner,sun7i-a20-display-engine 588c2ecf20Sopenharmony_ci - allwinner,sun8i-a23-display-engine 598c2ecf20Sopenharmony_ci - allwinner,sun8i-a33-display-engine 608c2ecf20Sopenharmony_ci - allwinner,sun8i-a83t-display-engine 618c2ecf20Sopenharmony_ci - allwinner,sun8i-h3-display-engine 628c2ecf20Sopenharmony_ci - allwinner,sun8i-r40-display-engine 638c2ecf20Sopenharmony_ci - allwinner,sun8i-v3s-display-engine 648c2ecf20Sopenharmony_ci - allwinner,sun9i-a80-display-engine 658c2ecf20Sopenharmony_ci - allwinner,sun50i-a64-display-engine 668c2ecf20Sopenharmony_ci - allwinner,sun50i-h6-display-engine 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ci allwinner,pipelines: 698c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle-array 708c2ecf20Sopenharmony_ci minItems: 1 718c2ecf20Sopenharmony_ci maxItems: 2 728c2ecf20Sopenharmony_ci description: | 738c2ecf20Sopenharmony_ci Available display engine frontends (DE 1.0) or mixers (DE 748c2ecf20Sopenharmony_ci 2.0/3.0) available. 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_cirequired: 778c2ecf20Sopenharmony_ci - compatible 788c2ecf20Sopenharmony_ci - allwinner,pipelines 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ciadditionalProperties: false 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ciif: 838c2ecf20Sopenharmony_ci properties: 848c2ecf20Sopenharmony_ci compatible: 858c2ecf20Sopenharmony_ci contains: 868c2ecf20Sopenharmony_ci enum: 878c2ecf20Sopenharmony_ci - allwinner,sun4i-a10-display-engine 888c2ecf20Sopenharmony_ci - allwinner,sun6i-a31-display-engine 898c2ecf20Sopenharmony_ci - allwinner,sun6i-a31s-display-engine 908c2ecf20Sopenharmony_ci - allwinner,sun7i-a20-display-engine 918c2ecf20Sopenharmony_ci - allwinner,sun8i-a83t-display-engine 928c2ecf20Sopenharmony_ci - allwinner,sun8i-r40-display-engine 938c2ecf20Sopenharmony_ci - allwinner,sun9i-a80-display-engine 948c2ecf20Sopenharmony_ci - allwinner,sun50i-a64-display-engine 958c2ecf20Sopenharmony_ci 968c2ecf20Sopenharmony_cithen: 978c2ecf20Sopenharmony_ci properties: 988c2ecf20Sopenharmony_ci allwinner,pipelines: 998c2ecf20Sopenharmony_ci minItems: 2 1008c2ecf20Sopenharmony_ci 1018c2ecf20Sopenharmony_cielse: 1028c2ecf20Sopenharmony_ci properties: 1038c2ecf20Sopenharmony_ci allwinner,pipelines: 1048c2ecf20Sopenharmony_ci maxItems: 1 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ciexamples: 1078c2ecf20Sopenharmony_ci - | 1088c2ecf20Sopenharmony_ci de: display-engine { 1098c2ecf20Sopenharmony_ci compatible = "allwinner,sun4i-a10-display-engine"; 1108c2ecf20Sopenharmony_ci allwinner,pipelines = <&fe0>, <&fe1>; 1118c2ecf20Sopenharmony_ci }; 1128c2ecf20Sopenharmony_ci 1138c2ecf20Sopenharmony_ci... 114