Commit 63d51e36 authored by Rob Clark's avatar Rob Clark

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: default avatarRob Clark <robdclark@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
parent aede1e9e
...@@ -13,16 +13,16 @@ Required properties: ...@@ -13,16 +13,16 @@ Required properties:
- power-domains: Should be <&mmcc MDSS_GDSC>. - power-domains: Should be <&mmcc MDSS_GDSC>.
- clocks: Phandles to device clocks. - clocks: Phandles to device clocks.
- clock-names: the following clocks are required: - clock-names: the following clocks are required:
* "mdp_core_clk" * "mdp_core"
* "iface_clk" * "iface"
* "bus_clk" * "bus"
* "core_mmss_clk" * "core_mmss"
* "byte_clk" * "byte"
* "pixel_clk" * "pixel"
* "core_clk" * "core"
For DSIv2, we need an additional clock: For DSIv2, we need an additional clock:
* "src_clk" * "src"
- assigned-clocks: Parents of "byte_clk" and "pixel_clk" for the given platform. - assigned-clocks: Parents of "byte" and "pixel" for the given platform.
- assigned-clock-parents: The Byte clock and Pixel clock PLL outputs provided - assigned-clock-parents: The Byte clock and Pixel clock PLL outputs provided
by a DSI PHY block. See [1] for details on clock bindings. by a DSI PHY block. See [1] for details on clock bindings.
- vdd-supply: phandle to vdd regulator device node - vdd-supply: phandle to vdd regulator device node
...@@ -101,7 +101,7 @@ Required properties: ...@@ -101,7 +101,7 @@ Required properties:
- power-domains: Should be <&mmcc MDSS_GDSC>. - power-domains: Should be <&mmcc MDSS_GDSC>.
- clocks: Phandles to device clocks. See [1] for details on clock bindings. - clocks: Phandles to device clocks. See [1] for details on clock bindings.
- clock-names: the following clocks are required: - clock-names: the following clocks are required:
* "iface_clk" * "iface"
- vddio-supply: phandle to vdd-io regulator device node - vddio-supply: phandle to vdd-io regulator device node
Optional properties: Optional properties:
...@@ -123,13 +123,13 @@ Example: ...@@ -123,13 +123,13 @@ Example:
reg = <0xfd922800 0x200>; reg = <0xfd922800 0x200>;
power-domains = <&mmcc MDSS_GDSC>; power-domains = <&mmcc MDSS_GDSC>;
clock-names = clock-names =
"bus_clk", "bus",
"byte_clk", "byte",
"core_clk", "core",
"core_mmss_clk", "core_mmss",
"iface_clk", "iface",
"mdp_core_clk", "mdp_core",
"pixel_clk"; "pixel";
clocks = clocks =
<&mmcc MDSS_AXI_CLK>, <&mmcc MDSS_AXI_CLK>,
<&mmcc MDSS_BYTE0_CLK>, <&mmcc MDSS_BYTE0_CLK>,
...@@ -207,7 +207,7 @@ Example: ...@@ -207,7 +207,7 @@ Example:
reg = <0xfd922a00 0xd4>, reg = <0xfd922a00 0xd4>,
<0xfd922b00 0x2b0>, <0xfd922b00 0x2b0>,
<0xfd922d80 0x7b>; <0xfd922d80 0x7b>;
clock-names = "iface_clk"; clock-names = "iface";
clocks = <&mmcc MDSS_AHB_CLK>; clocks = <&mmcc MDSS_AHB_CLK>;
#clock-cells = <1>; #clock-cells = <1>;
vddio-supply = <&pma8084_l12>; vddio-supply = <&pma8084_l12>;
......
...@@ -12,11 +12,11 @@ Required properties: ...@@ -12,11 +12,11 @@ Required properties:
- clocks: device clocks - clocks: device clocks
See Documentation/devicetree/bindings/clock/clock-bindings.txt for details. See Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
- clock-names: the following clocks are required: - clock-names: the following clocks are required:
* "core_clk" * "core"
* "iface_clk" * "iface"
* "mdp_core_clk" * "mdp_core"
* "pixel_clk" * "pixel"
* "link_clk" * "link"
- #clock-cells: The value should be 1. - #clock-cells: The value should be 1.
- vdda-supply: phandle to vdda regulator device node - vdda-supply: phandle to vdda regulator device node
- lvl-vdd-supply: phandle to regulator device node which is used to supply power - lvl-vdd-supply: phandle to regulator device node which is used to supply power
...@@ -41,11 +41,11 @@ Example: ...@@ -41,11 +41,11 @@ Example:
interrupts = <12 0>; interrupts = <12 0>;
power-domains = <&mmcc MDSS_GDSC>; power-domains = <&mmcc MDSS_GDSC>;
clock-names = clock-names =
"core_clk", "core",
"pixel_clk", "pixel",
"iface_clk", "iface",
"link_clk", "link",
"mdp_core_clk"; "mdp_core";
clocks = clocks =
<&mmcc MDSS_EDPAUX_CLK>, <&mmcc MDSS_EDPAUX_CLK>,
<&mmcc MDSS_EDPPIXEL_CLK>, <&mmcc MDSS_EDPPIXEL_CLK>,
......
...@@ -64,9 +64,9 @@ Example: ...@@ -64,9 +64,9 @@ Example:
interrupts = <GIC_SPI 79 0>; interrupts = <GIC_SPI 79 0>;
power-domains = <&mmcc MDSS_GDSC>; power-domains = <&mmcc MDSS_GDSC>;
clock-names = clock-names =
"core_clk", "core",
"master_iface_clk", "master_iface",
"slave_iface_clk"; "slave_iface";
clocks = clocks =
<&mmcc HDMI_APP_CLK>, <&mmcc HDMI_APP_CLK>,
<&mmcc HDMI_M_AHB_CLK>, <&mmcc HDMI_M_AHB_CLK>,
...@@ -92,7 +92,7 @@ Example: ...@@ -92,7 +92,7 @@ Example:
<0x4a00500 0x100>; <0x4a00500 0x100>;
#phy-cells = <0>; #phy-cells = <0>;
power-domains = <&mmcc MDSS_GDSC>; power-domains = <&mmcc MDSS_GDSC>;
clock-names = "slave_iface_clk"; clock-names = "slave_iface";
clocks = <&mmcc HDMI_S_AHB_CLK>; clocks = <&mmcc HDMI_S_AHB_CLK>;
core-vdda-supply = <&pm8921_hdmi_mvs>; core-vdda-supply = <&pm8921_hdmi_mvs>;
}; };
......
...@@ -22,16 +22,16 @@ Required properties: ...@@ -22,16 +22,16 @@ Required properties:
Documentation/devicetree/bindings/power/power_domain.txt Documentation/devicetree/bindings/power/power_domain.txt
- clocks: device clocks. See ../clocks/clock-bindings.txt for details. - clocks: device clocks. See ../clocks/clock-bindings.txt for details.
- clock-names: the following clocks are required. - clock-names: the following clocks are required.
* "iface_clk" * "iface"
* "bus_clk" * "bus"
* "vsync_clk" * "vsync"
- #address-cells: number of address cells for the MDSS children. Should be 1. - #address-cells: number of address cells for the MDSS children. Should be 1.
- #size-cells: Should be 1. - #size-cells: Should be 1.
- ranges: parent bus address space is the same as the child bus address space. - ranges: parent bus address space is the same as the child bus address space.
Optional properties: Optional properties:
- clock-names: the following clocks are optional: - clock-names: the following clocks are optional:
* "lut_clk" * "lut"
MDP5: MDP5:
Required properties: Required properties:
...@@ -45,10 +45,10 @@ Required properties: ...@@ -45,10 +45,10 @@ Required properties:
through MDP block through MDP block
- clocks: device clocks. See ../clocks/clock-bindings.txt for details. - clocks: device clocks. See ../clocks/clock-bindings.txt for details.
- clock-names: the following clocks are required. - clock-names: the following clocks are required.
- * "bus_clk" - * "bus"
- * "iface_clk" - * "iface"
- * "core_clk" - * "core"
- * "vsync_clk" - * "vsync"
- ports: contains the list of output ports from MDP. These connect to interfaces - ports: contains the list of output ports from MDP. These connect to interfaces
that are external to the MDP hardware, such as HDMI, DSI, EDP etc (LVDS is a that are external to the MDP hardware, such as HDMI, DSI, EDP etc (LVDS is a
special case since it is a part of the MDP block itself). special case since it is a part of the MDP block itself).
...@@ -77,7 +77,7 @@ Required properties: ...@@ -77,7 +77,7 @@ Required properties:
Optional properties: Optional properties:
- clock-names: the following clocks are optional: - clock-names: the following clocks are optional:
* "lut_clk" * "lut"
Example: Example:
...@@ -95,9 +95,9 @@ Example: ...@@ -95,9 +95,9 @@ Example:
clocks = <&gcc GCC_MDSS_AHB_CLK>, clocks = <&gcc GCC_MDSS_AHB_CLK>,
<&gcc GCC_MDSS_AXI_CLK>, <&gcc GCC_MDSS_AXI_CLK>,
<&gcc GCC_MDSS_VSYNC_CLK>; <&gcc GCC_MDSS_VSYNC_CLK>;
clock-names = "iface_clk", clock-names = "iface",
"bus_clk", "bus",
"vsync_clk" "vsync"
interrupts = <0 72 0>; interrupts = <0 72 0>;
...@@ -120,10 +120,10 @@ Example: ...@@ -120,10 +120,10 @@ Example:
<&gcc GCC_MDSS_AXI_CLK>, <&gcc GCC_MDSS_AXI_CLK>,
<&gcc GCC_MDSS_MDP_CLK>, <&gcc GCC_MDSS_MDP_CLK>,
<&gcc GCC_MDSS_VSYNC_CLK>; <&gcc GCC_MDSS_VSYNC_CLK>;
clock-names = "iface_clk", clock-names = "iface",
"bus_clk", "bus",
"core_clk", "core",
"vsync_clk"; "vsync";
ports { ports {
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment