aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-10-16 17:04:16 -0400
committerRob Clark <robdclark@gmail.com>2017-10-28 11:01:34 -0400
commit63d51e36b5add80bb2d94e67de3d643854faaf10 (patch)
tree775ded5b707381644037401025f548eea7d88737
parentaede1e9ee4ec3d7a7b996d260ce7297a6b4dc4ca (diff)
dt-bindings: display: msm: update clk names
Now that drm/msm is converted over to use msm_get_clk() everywhere (that matters), which handles falling back to looking for a clock with the "_clk" suffix, we can remove "_clk" from the documentation so that new dts files added do not include "_clk" in the name. Previously we were doing this for the more recently upstreamed bindings but not for (nearly) all. Signed-off-by: Rob Clark <robdclark@gmail.com> Acked-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/display/msm/dsi.txt36
-rw-r--r--Documentation/devicetree/bindings/display/msm/edp.txt20
-rw-r--r--Documentation/devicetree/bindings/display/msm/hdmi.txt8
-rw-r--r--Documentation/devicetree/bindings/display/msm/mdp5.txt32
4 files changed, 48 insertions, 48 deletions
diff --git a/Documentation/devicetree/bindings/display/msm/dsi.txt b/Documentation/devicetree/bindings/display/msm/dsi.txt
index fa00e62e1cf6..a6671bd2c85a 100644
--- a/Documentation/devicetree/bindings/display/msm/dsi.txt
+++ b/Documentation/devicetree/bindings/display/msm/dsi.txt
@@ -13,16 +13,16 @@ Required properties:
13- power-domains: Should be <&mmcc MDSS_GDSC>. 13- power-domains: Should be <&mmcc MDSS_GDSC>.
14- clocks: Phandles to device clocks. 14- clocks: Phandles to device clocks.
15- clock-names: the following clocks are required: 15- clock-names: the following clocks are required:
16 * "mdp_core_clk" 16 * "mdp_core"
17 * "iface_clk" 17 * "iface"
18 * "bus_clk" 18 * "bus"
19 * "core_mmss_clk" 19 * "core_mmss"
20 * "byte_clk" 20 * "byte"
21 * "pixel_clk" 21 * "pixel"
22 * "core_clk" 22 * "core"
23 For DSIv2, we need an additional clock: 23 For DSIv2, we need an additional clock:
24 * "src_clk" 24 * "src"
25- assigned-clocks: Parents of "byte_clk" and "pixel_clk" for the given platform. 25- assigned-clocks: Parents of "byte" and "pixel" for the given platform.
26- assigned-clock-parents: The Byte clock and Pixel clock PLL outputs provided 26- assigned-clock-parents: The Byte clock and Pixel clock PLL outputs provided
27 by a DSI PHY block. See [1] for details on clock bindings. 27 by a DSI PHY block. See [1] for details on clock bindings.
28- vdd-supply: phandle to vdd regulator device node 28- vdd-supply: phandle to vdd regulator device node
@@ -101,7 +101,7 @@ Required properties:
101- power-domains: Should be <&mmcc MDSS_GDSC>. 101- power-domains: Should be <&mmcc MDSS_GDSC>.
102- clocks: Phandles to device clocks. See [1] for details on clock bindings. 102- clocks: Phandles to device clocks. See [1] for details on clock bindings.
103- clock-names: the following clocks are required: 103- clock-names: the following clocks are required:
104 * "iface_clk" 104 * "iface"
105- vddio-supply: phandle to vdd-io regulator device node 105- vddio-supply: phandle to vdd-io regulator device node
106 106
107Optional properties: 107Optional properties:
@@ -123,13 +123,13 @@ Example:
123 reg = <0xfd922800 0x200>; 123 reg = <0xfd922800 0x200>;
124 power-domains = <&mmcc MDSS_GDSC>; 124 power-domains = <&mmcc MDSS_GDSC>;
125 clock-names = 125 clock-names =
126 "bus_clk", 126 "bus",
127 "byte_clk", 127 "byte",
128 "core_clk", 128 "core",
129 "core_mmss_clk", 129 "core_mmss",
130 "iface_clk", 130 "iface",
131 "mdp_core_clk", 131 "mdp_core",
132 "pixel_clk"; 132 "pixel";
133 clocks = 133 clocks =
134 <&mmcc MDSS_AXI_CLK>, 134 <&mmcc MDSS_AXI_CLK>,
135 <&mmcc MDSS_BYTE0_CLK>, 135 <&mmcc MDSS_BYTE0_CLK>,
@@ -207,7 +207,7 @@ Example:
207 reg = <0xfd922a00 0xd4>, 207 reg = <0xfd922a00 0xd4>,
208 <0xfd922b00 0x2b0>, 208 <0xfd922b00 0x2b0>,
209 <0xfd922d80 0x7b>; 209 <0xfd922d80 0x7b>;
210 clock-names = "iface_clk"; 210 clock-names = "iface";
211 clocks = <&mmcc MDSS_AHB_CLK>; 211 clocks = <&mmcc MDSS_AHB_CLK>;
212 #clock-cells = <1>; 212 #clock-cells = <1>;
213 vddio-supply = <&pma8084_l12>; 213 vddio-supply = <&pma8084_l12>;
diff --git a/Documentation/devicetree/bindings/display/msm/edp.txt b/Documentation/devicetree/bindings/display/msm/edp.txt
index e63032be5401..95ce19ca7bc5 100644
--- a/Documentation/devicetree/bindings/display/msm/edp.txt
+++ b/Documentation/devicetree/bindings/display/msm/edp.txt
@@ -12,11 +12,11 @@ Required properties:
12- clocks: device clocks 12- clocks: device clocks
13 See Documentation/devicetree/bindings/clock/clock-bindings.txt for details. 13 See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
14- clock-names: the following clocks are required: 14- clock-names: the following clocks are required:
15 * "core_clk" 15 * "core"
16 * "iface_clk" 16 * "iface"
17 * "mdp_core_clk" 17 * "mdp_core"
18 * "pixel_clk" 18 * "pixel"
19 * "link_clk" 19 * "link"
20- #clock-cells: The value should be 1. 20- #clock-cells: The value should be 1.
21- vdda-supply: phandle to vdda regulator device node 21- vdda-supply: phandle to vdda regulator device node
22- lvl-vdd-supply: phandle to regulator device node which is used to supply power 22- lvl-vdd-supply: phandle to regulator device node which is used to supply power
@@ -41,11 +41,11 @@ Example:
41 interrupts = <12 0>; 41 interrupts = <12 0>;
42 power-domains = <&mmcc MDSS_GDSC>; 42 power-domains = <&mmcc MDSS_GDSC>;
43 clock-names = 43 clock-names =
44 "core_clk", 44 "core",
45 "pixel_clk", 45 "pixel",
46 "iface_clk", 46 "iface",
47 "link_clk", 47 "link",
48 "mdp_core_clk"; 48 "mdp_core";
49 clocks = 49 clocks =
50 <&mmcc MDSS_EDPAUX_CLK>, 50 <&mmcc MDSS_EDPAUX_CLK>,
51 <&mmcc MDSS_EDPPIXEL_CLK>, 51 <&mmcc MDSS_EDPPIXEL_CLK>,
diff --git a/Documentation/devicetree/bindings/display/msm/hdmi.txt b/Documentation/devicetree/bindings/display/msm/hdmi.txt
index 2d306f402d18..5f90a40da51b 100644
--- a/Documentation/devicetree/bindings/display/msm/hdmi.txt
+++ b/Documentation/devicetree/bindings/display/msm/hdmi.txt
@@ -64,9 +64,9 @@ Example:
64 interrupts = <GIC_SPI 79 0>; 64 interrupts = <GIC_SPI 79 0>;
65 power-domains = <&mmcc MDSS_GDSC>; 65 power-domains = <&mmcc MDSS_GDSC>;
66 clock-names = 66 clock-names =
67 "core_clk", 67 "core",
68 "master_iface_clk", 68 "master_iface",
69 "slave_iface_clk"; 69 "slave_iface";
70 clocks = 70 clocks =
71 <&mmcc HDMI_APP_CLK>, 71 <&mmcc HDMI_APP_CLK>,
72 <&mmcc HDMI_M_AHB_CLK>, 72 <&mmcc HDMI_M_AHB_CLK>,
@@ -92,7 +92,7 @@ Example:
92 <0x4a00500 0x100>; 92 <0x4a00500 0x100>;
93 #phy-cells = <0>; 93 #phy-cells = <0>;
94 power-domains = <&mmcc MDSS_GDSC>; 94 power-domains = <&mmcc MDSS_GDSC>;
95 clock-names = "slave_iface_clk"; 95 clock-names = "slave_iface";
96 clocks = <&mmcc HDMI_S_AHB_CLK>; 96 clocks = <&mmcc HDMI_S_AHB_CLK>;
97 core-vdda-supply = <&pm8921_hdmi_mvs>; 97 core-vdda-supply = <&pm8921_hdmi_mvs>;
98 }; 98 };
diff --git a/Documentation/devicetree/bindings/display/msm/mdp5.txt b/Documentation/devicetree/bindings/display/msm/mdp5.txt
index 30c11ea83754..1b31977a68ba 100644
--- a/Documentation/devicetree/bindings/display/msm/mdp5.txt
+++ b/Documentation/devicetree/bindings/display/msm/mdp5.txt
@@ -22,16 +22,16 @@ Required properties:
22 Documentation/devicetree/bindings/power/power_domain.txt 22 Documentation/devicetree/bindings/power/power_domain.txt
23- clocks: device clocks. See ../clocks/clock-bindings.txt for details. 23- clocks: device clocks. See ../clocks/clock-bindings.txt for details.
24- clock-names: the following clocks are required. 24- clock-names: the following clocks are required.
25 * "iface_clk" 25 * "iface"
26 * "bus_clk" 26 * "bus"
27 * "vsync_clk" 27 * "vsync"
28- #address-cells: number of address cells for the MDSS children. Should be 1. 28- #address-cells: number of address cells for the MDSS children. Should be 1.
29- #size-cells: Should be 1. 29- #size-cells: Should be 1.
30- ranges: parent bus address space is the same as the child bus address space. 30- ranges: parent bus address space is the same as the child bus address space.
31 31
32Optional properties: 32Optional properties:
33- clock-names: the following clocks are optional: 33- clock-names: the following clocks are optional:
34 * "lut_clk" 34 * "lut"
35 35
36MDP5: 36MDP5:
37Required properties: 37Required properties:
@@ -45,10 +45,10 @@ Required properties:
45 through MDP block 45 through MDP block
46- clocks: device clocks. See ../clocks/clock-bindings.txt for details. 46- clocks: device clocks. See ../clocks/clock-bindings.txt for details.
47- clock-names: the following clocks are required. 47- clock-names: the following clocks are required.
48- * "bus_clk" 48- * "bus"
49- * "iface_clk" 49- * "iface"
50- * "core_clk" 50- * "core"
51- * "vsync_clk" 51- * "vsync"
52- ports: contains the list of output ports from MDP. These connect to interfaces 52- ports: contains the list of output ports from MDP. These connect to interfaces
53 that are external to the MDP hardware, such as HDMI, DSI, EDP etc (LVDS is a 53 that are external to the MDP hardware, such as HDMI, DSI, EDP etc (LVDS is a
54 special case since it is a part of the MDP block itself). 54 special case since it is a part of the MDP block itself).
@@ -77,7 +77,7 @@ Required properties:
77 77
78Optional properties: 78Optional properties:
79- clock-names: the following clocks are optional: 79- clock-names: the following clocks are optional:
80 * "lut_clk" 80 * "lut"
81 81
82Example: 82Example:
83 83
@@ -95,9 +95,9 @@ Example:
95 clocks = <&gcc GCC_MDSS_AHB_CLK>, 95 clocks = <&gcc GCC_MDSS_AHB_CLK>,
96 <&gcc GCC_MDSS_AXI_CLK>, 96 <&gcc GCC_MDSS_AXI_CLK>,
97 <&gcc GCC_MDSS_VSYNC_CLK>; 97 <&gcc GCC_MDSS_VSYNC_CLK>;
98 clock-names = "iface_clk", 98 clock-names = "iface",
99 "bus_clk", 99 "bus",
100 "vsync_clk" 100 "vsync"
101 101
102 interrupts = <0 72 0>; 102 interrupts = <0 72 0>;
103 103
@@ -120,10 +120,10 @@ Example:
120 <&gcc GCC_MDSS_AXI_CLK>, 120 <&gcc GCC_MDSS_AXI_CLK>,
121 <&gcc GCC_MDSS_MDP_CLK>, 121 <&gcc GCC_MDSS_MDP_CLK>,
122 <&gcc GCC_MDSS_VSYNC_CLK>; 122 <&gcc GCC_MDSS_VSYNC_CLK>;
123 clock-names = "iface_clk", 123 clock-names = "iface",
124 "bus_clk", 124 "bus",
125 "core_clk", 125 "core",
126 "vsync_clk"; 126 "vsync";
127 127
128 ports { 128 ports {
129 #address-cells = <1>; 129 #address-cells = <1>;