0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/sprd/sprd,display-subsystem.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Unisoc DRM master device
0008
0009 maintainers:
0010 - Kevin Tang <kevin.tang@unisoc.com>
0011
0012 description: |
0013 The Unisoc DRM master device is a virtual device needed to list all
0014 DPU devices or other display interface nodes that comprise the
0015 graphics subsystem.
0016
0017 Unisoc's display pipeline have several components as below description,
0018 multi display controllers and corresponding physical interfaces.
0019 For different display scenarios, dpu0 and dpu1 maybe binding to different
0020 encoder.
0021
0022 E.g:
0023 dpu0 and dpu1 both binding to DSI for dual mipi-dsi display;
0024 dpu0 binding to DSI for primary display, and dpu1 binding to DP for external display;
0025
0026 +-----------------------------------------+
0027 | |
0028 | +---------+ |
0029 +----+ | +----+ +---------+ |DPHY/CPHY| | +------+
0030 | +----->+dpu0+--->+MIPI|DSI +--->+Combo +----->+Panel0|
0031 |AXI | | +----+ +---------+ +---------+ | +------+
0032 | | | ^ |
0033 | | | | |
0034 | | | +-----------+ |
0035 | | | | |
0036 |APB | | +--+-+ +-----------+ +---+ | +------+
0037 | +----->+dpu1+--->+DisplayPort+--->+PHY+--------->+Panel1|
0038 | | | +----+ +-----------+ +---+ | +------+
0039 +----+ | |
0040 +-----------------------------------------+
0041
0042 properties:
0043 compatible:
0044 const: sprd,display-subsystem
0045
0046 ports:
0047 $ref: /schemas/types.yaml#/definitions/phandle-array
0048 items:
0049 maxItems: 1
0050 description:
0051 Should contain a list of phandles pointing to display interface port
0052 of DPU devices.
0053
0054 required:
0055 - compatible
0056 - ports
0057
0058 additionalProperties: false
0059
0060 examples:
0061 - |
0062 display-subsystem {
0063 compatible = "sprd,display-subsystem";
0064 ports = <&dpu_out>;
0065 };