xref: /linux/Documentation/devicetree/bindings/display/rockchip/rockchip-drm.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1# SPDX-License-Identifier: (GPL-2.0-only)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/rockchip/rockchip-drm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rockchip DRM master device
8
9maintainers:
10  - Sandy Huang <hjc@rock-chips.com>
11  - Heiko Stuebner <heiko@sntech.de>
12
13description: |
14  The Rockchip DRM master device is a virtual device needed to list all
15  vop devices or other display interface nodes that comprise the
16  graphics subsystem.
17
18properties:
19  compatible:
20    const: rockchip,display-subsystem
21
22  ports:
23    $ref: /schemas/types.yaml#/definitions/phandle-array
24    items:
25      maxItems: 1
26    description: |
27      Should contain a list of phandles pointing to display interface port
28      of vop devices. vop definitions as defined in
29      Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml
30
31required:
32  - compatible
33  - ports
34
35additionalProperties: false
36
37examples:
38  - |
39    display-subsystem {
40        compatible = "rockchip,display-subsystem";
41        ports = <&vopl_out>, <&vopb_out>;
42    };
43