aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-06-14 06:43:51 -0400
committerRob Clark <robdclark@gmail.com>2016-07-16 10:09:03 -0400
commitfd7ef70617ff0c93f3d5f2ff64237bb670edd231 (patch)
treeeaa527bf4d2183b4c2932b9fb275dfdd28a77d89
parentacc58caa7016784cc52e8bcb4268191a1e03cfa6 (diff)
dt-bindings: msm/mdp5: Add MDP5 display bindings
Add a new doc for DT bindings for platforms that contain MDP5 display controller hardware. The doc describes bindings for the top level MDSS wrapper hardware and MDP5 itself. Add an example for the bindings as found in MSM8916. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/display/msm/mdp5.txt114
1 files changed, 114 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/msm/mdp5.txt b/Documentation/devicetree/bindings/display/msm/mdp5.txt
new file mode 100644
index 000000000000..b395905ae04f
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/msm/mdp5.txt
@@ -0,0 +1,114 @@
1Qualcomm adreno/snapdragon MDP5 display controller
2
3Description:
4
5This is the bindings documentation for the Mobile Display Subsytem(MDSS) that
6encapsulates sub-blocks like MDP5, DSI, HDMI, eDP etc, and the MDP5 display
7controller found in SoCs like MSM8974, APQ8084, MSM8916, MSM8994 and MSM8996.
8
9MDSS:
10Required properties:
11- compatible:
12 * "qcom,mdss" - MDSS
13- reg: Physical base address and length of the controller's registers.
14- reg-names: The names of register regions. The following regions are required:
15 * "mdss_phys"
16 * "vbif_phys"
17- interrupts: The interrupt signal from MDSS.
18- interrupt-controller: identifies the node as an interrupt controller.
19- #interrupt-cells: specifies the number of cells needed to encode an interrupt
20 source, should be 1.
21- power-domains: a power domain consumer specifier according to
22 Documentation/devicetree/bindings/power/power_domain.txt
23- clocks: device clocks. See ../clocks/clock-bindings.txt for details.
24- clock-names: the following clocks are required.
25 * "iface_clk"
26 * "bus_clk"
27 * "vsync_clk"
28- #address-cells: number of address cells for the MDSS children. Should be 1.
29- #size-cells: Should be 1.
30- ranges: parent bus address space is the same as the child bus address space.
31
32Optional properties:
33- clock-names: the following clocks are optional:
34 * "lut_clk"
35
36MDP5:
37Required properties:
38- compatible:
39 * "qcom,mdp5" - MDP5
40- reg: Physical base address and length of the controller's registers.
41- reg-names: The names of register regions. The following regions are required:
42 * "mdp_phys"
43- interrupts: Interrupt line from MDP5 to MDSS interrupt controller.
44- interrupt-parent: phandle to the MDSS block
45 through MDP block
46- clocks: device clocks. See ../clocks/clock-bindings.txt for details.
47- clock-names: the following clocks are required.
48- * "bus_clk"
49- * "iface_clk"
50- * "core_clk"
51- * "vsync_clk"
52
53Optional properties:
54- clock-names: the following clocks are optional:
55 * "lut_clk"
56
57
58Example:
59
60/ {
61 ...
62
63 mdss: mdss@1a00000 {
64 compatible = "qcom,mdss";
65 reg = <0x1a00000 0x1000>,
66 <0x1ac8000 0x3000>;
67 reg-names = "mdss_phys", "vbif_phys";
68
69 power-domains = <&gcc MDSS_GDSC>;
70
71 clocks = <&gcc GCC_MDSS_AHB_CLK>,
72 <&gcc GCC_MDSS_AXI_CLK>,
73 <&gcc GCC_MDSS_VSYNC_CLK>;
74 clock-names = "iface_clk",
75 "bus_clk",
76 "vsync_clk"
77
78 interrupts = <0 72 0>;
79
80 interrupt-controller;
81 #interrupt-cells = <1>;
82
83 #address-cells = <1>;
84 #size-cells = <1>;
85 ranges;
86
87 mdp: mdp@1a01000 {
88 compatible = "qcom,mdp5";
89 reg = <0x1a01000 0x90000>;
90 reg-names = "mdp_phys";
91
92 interrupt-parent = <&mdss>;
93 interrupts = <0 0>;
94
95 clocks = <&gcc GCC_MDSS_AHB_CLK>,
96 <&gcc GCC_MDSS_AXI_CLK>,
97 <&gcc GCC_MDSS_MDP_CLK>,
98 <&gcc GCC_MDSS_VSYNC_CLK>;
99 clock-names = "iface_clk",
100 "bus_clk",
101 "core_clk",
102 "vsync_clk";
103
104 };
105
106 dsi0: dsi@1a98000 {
107 ...
108 };
109
110 dsi_phy0: dsi-phy@1a98300 {
111 ...
112 };
113 };
114};