xref: /freebsd-src/sys/contrib/device-tree/Bindings/display/msm/mdss-common.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/mdss-common.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Display MDSS common properties
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Krishna Manikandan <quic_mkrishn@quicinc.com>
118bab661aSEmmanuel Vadot  - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
128bab661aSEmmanuel Vadot  - Rob Clark <robdclark@gmail.com>
138bab661aSEmmanuel Vadot
148bab661aSEmmanuel Vadotdescription:
158bab661aSEmmanuel Vadot  Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates
168bab661aSEmmanuel Vadot  sub-blocks like DPU display controller, DSI and DP interfaces etc.
178bab661aSEmmanuel Vadot
18cb7aa33aSEmmanuel Vadot# Do not select this by default, otherwise it is also selected for qcom,mdss
19cb7aa33aSEmmanuel Vadot# devices.
20cb7aa33aSEmmanuel Vadotselect:
21cb7aa33aSEmmanuel Vadot  false
22cb7aa33aSEmmanuel Vadot
238bab661aSEmmanuel Vadotproperties:
24cb7aa33aSEmmanuel Vadot  $nodename:
25cb7aa33aSEmmanuel Vadot    pattern: "^display-subsystem@[0-9a-f]+$"
26cb7aa33aSEmmanuel Vadot
278bab661aSEmmanuel Vadot  reg:
288bab661aSEmmanuel Vadot    maxItems: 1
298bab661aSEmmanuel Vadot
308bab661aSEmmanuel Vadot  reg-names:
318bab661aSEmmanuel Vadot    const: mdss
328bab661aSEmmanuel Vadot
338bab661aSEmmanuel Vadot  power-domains:
348bab661aSEmmanuel Vadot    maxItems: 1
358bab661aSEmmanuel Vadot
368bab661aSEmmanuel Vadot  clocks:
378bab661aSEmmanuel Vadot    minItems: 2
388bab661aSEmmanuel Vadot    maxItems: 4
398bab661aSEmmanuel Vadot
408bab661aSEmmanuel Vadot  clock-names:
418bab661aSEmmanuel Vadot    minItems: 2
428bab661aSEmmanuel Vadot    maxItems: 4
438bab661aSEmmanuel Vadot
448bab661aSEmmanuel Vadot  interrupts:
458bab661aSEmmanuel Vadot    maxItems: 1
468bab661aSEmmanuel Vadot
478bab661aSEmmanuel Vadot  interrupt-controller: true
488bab661aSEmmanuel Vadot
498bab661aSEmmanuel Vadot  "#address-cells": true
508bab661aSEmmanuel Vadot
518bab661aSEmmanuel Vadot  "#size-cells": true
528bab661aSEmmanuel Vadot
538bab661aSEmmanuel Vadot  "#interrupt-cells":
548bab661aSEmmanuel Vadot    const: 1
558bab661aSEmmanuel Vadot
568bab661aSEmmanuel Vadot  iommus:
578bab661aSEmmanuel Vadot    minItems: 1
588bab661aSEmmanuel Vadot    items:
598bab661aSEmmanuel Vadot      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
608bab661aSEmmanuel Vadot      - description: Phandle to apps_smmu node with SID mask for Hard-Fail port1
618bab661aSEmmanuel Vadot
628bab661aSEmmanuel Vadot  ranges: true
638bab661aSEmmanuel Vadot
64*8d13bc63SEmmanuel Vadot  # This is not a perfect description, but it's impossible to discern and match
65*8d13bc63SEmmanuel Vadot  # the entries like we do with interconnect-names
668bab661aSEmmanuel Vadot  interconnects:
678bab661aSEmmanuel Vadot    minItems: 1
688bab661aSEmmanuel Vadot    items:
698bab661aSEmmanuel Vadot      - description: Interconnect path from mdp0 (or a single mdp) port to the data bus
708bab661aSEmmanuel Vadot      - description: Interconnect path from mdp1 port to the data bus
71*8d13bc63SEmmanuel Vadot      - description: Interconnect path from CPU to the reg bus
728bab661aSEmmanuel Vadot
738bab661aSEmmanuel Vadot  interconnect-names:
74*8d13bc63SEmmanuel Vadot    oneOf:
75*8d13bc63SEmmanuel Vadot      - minItems: 1
76*8d13bc63SEmmanuel Vadot        items:
77*8d13bc63SEmmanuel Vadot          - const: mdp0-mem
78*8d13bc63SEmmanuel Vadot          - const: cpu-cfg
79*8d13bc63SEmmanuel Vadot
80*8d13bc63SEmmanuel Vadot      - minItems: 2
818bab661aSEmmanuel Vadot        items:
828bab661aSEmmanuel Vadot          - const: mdp0-mem
838bab661aSEmmanuel Vadot          - const: mdp1-mem
84*8d13bc63SEmmanuel Vadot          - const: cpu-cfg
858bab661aSEmmanuel Vadot
868bab661aSEmmanuel Vadot  resets:
878bab661aSEmmanuel Vadot    items:
888bab661aSEmmanuel Vadot      - description: MDSS_CORE reset
898bab661aSEmmanuel Vadot
90aa1a8ff2SEmmanuel Vadot  memory-region:
91aa1a8ff2SEmmanuel Vadot    maxItems: 1
92aa1a8ff2SEmmanuel Vadot    description:
93aa1a8ff2SEmmanuel Vadot      Phandle to a node describing a reserved framebuffer memory region.
94aa1a8ff2SEmmanuel Vadot      For example, the splash memory region set up by the bootloader.
95aa1a8ff2SEmmanuel Vadot
968bab661aSEmmanuel Vadotrequired:
978bab661aSEmmanuel Vadot  - reg
988bab661aSEmmanuel Vadot  - reg-names
998bab661aSEmmanuel Vadot  - power-domains
1008bab661aSEmmanuel Vadot  - clocks
1018bab661aSEmmanuel Vadot  - interrupts
1028bab661aSEmmanuel Vadot  - interrupt-controller
1038bab661aSEmmanuel Vadot  - iommus
1048bab661aSEmmanuel Vadot  - ranges
1058bab661aSEmmanuel Vadot
1068bab661aSEmmanuel VadotadditionalProperties: true
107