xref: /freebsd/sys/contrib/device-tree/Bindings/display/msm/mdss-common.yaml (revision 19fae0f66023a97a9b464b3beeeabb2081f575b3)
1# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/msm/mdss-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Display MDSS common properties
8
9maintainers:
10  - Krishna Manikandan <quic_mkrishn@quicinc.com>
11  - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
12  - Rob Clark <robdclark@gmail.com>
13
14description:
15  Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates
16  sub-blocks like DPU display controller, DSI and DP interfaces etc.
17
18# Do not select this by default, otherwise it is also selected for qcom,mdss
19# devices.
20select:
21  false
22
23properties:
24  $nodename:
25    pattern: "^display-subsystem@[0-9a-f]+$"
26
27  reg:
28    maxItems: 1
29
30  reg-names:
31    const: mdss
32
33  power-domains:
34    maxItems: 1
35
36  clocks:
37    minItems: 2
38    maxItems: 4
39
40  clock-names:
41    minItems: 2
42    maxItems: 4
43
44  interrupts:
45    maxItems: 1
46
47  interrupt-controller: true
48
49  "#address-cells": true
50
51  "#size-cells": true
52
53  "#interrupt-cells":
54    const: 1
55
56  iommus:
57    minItems: 1
58    items:
59      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
60      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port1
61
62  ranges: true
63
64  interconnects:
65    minItems: 1
66    items:
67      - description: Interconnect path from mdp0 (or a single mdp) port to the data bus
68      - description: Interconnect path from mdp1 port to the data bus
69
70  interconnect-names:
71    minItems: 1
72    items:
73      - const: mdp0-mem
74      - const: mdp1-mem
75
76  resets:
77    items:
78      - description: MDSS_CORE reset
79
80required:
81  - reg
82  - reg-names
83  - power-domains
84  - clocks
85  - interrupts
86  - interrupt-controller
87  - iommus
88  - ranges
89
90additionalProperties: true
91