diff mbox

[3/6] dt-bindings: drm/msm: Update MDP bindings

Message ID 1447845547-6801-4-git-send-email-architt@codeaurora.org (mailing list archive)
State New, archived
Headers show

Commit Message

Archit Taneja Nov. 18, 2015, 11:19 a.m. UTC
Update DT bindings for mdp. We now have a more uniform and future-proof
set of compatible strings.

MDP5 bindings were missing. Add those and update details on the
clock-names properties.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
---
 .../devicetree/bindings/display/msm/mdp.txt        | 26 +++++++++++++++-------
 1 file changed, 18 insertions(+), 8 deletions(-)

Comments

Archit Taneja Nov. 18, 2015, 3:26 p.m. UTC | #1
+dt list

On 11/18/2015 4:49 PM, Archit Taneja wrote:
> Update DT bindings for mdp. We now have a more uniform and future-proof
> set of compatible strings.
>
> MDP5 bindings were missing. Add those and update details on the
> clock-names properties.
>
> Signed-off-by: Archit Taneja <architt@codeaurora.org>
> ---
>   .../devicetree/bindings/display/msm/mdp.txt        | 26 +++++++++++++++-------
>   1 file changed, 18 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/mdp.txt b/Documentation/devicetree/bindings/display/msm/mdp.txt
> index 0833eda..a214f6c 100644
> --- a/Documentation/devicetree/bindings/display/msm/mdp.txt
> +++ b/Documentation/devicetree/bindings/display/msm/mdp.txt
> @@ -2,18 +2,28 @@ Qualcomm adreno/snapdragon display controller
>
>   Required properties:
>   - compatible:
> -  * "qcom,mdp" - mdp4
> +  * "qcom,mdp4" - mdp4
> +  * "qcom,mdp5" - mdp5
>   - reg: Physical base address and length of the controller's registers.
>   - interrupts: The interrupt signal from the display controller.
>   - connectors: array of phandles for output device(s)
>   - clocks: device clocks
>     See ../clocks/clock-bindings.txt for details.
> -- clock-names: the following clocks are required:
> -  * "core_clk"
> -  * "iface_clk"
> -  * "src_clk"
> -  * "hdmi_clk"
> -  * "mpd_clk"
> +- clock-names: the following clocks are required.
> +  For MDP4:
> +   * "core_clk"
> +   * "iface_clk"
> +   * "lut_clk"
> +   * "src_clk"
> +   * "hdmi_clk"
> +   * "mdp_clk"
> +  For MDP5:
> +   * "bus_clk"
> +   * "iface_clk"
> +   * "core_clk_src"
> +   * "core_clk"
> +   * "lut_clk" (some MDP5 versions may not need this)
> +   * "vsync_clk"
>
>   Optional properties:
>   - gpus: phandle for gpu device
> @@ -26,7 +36,7 @@ Example:
>   	...
>
>   	mdp: qcom,mdp@5100000 {
> -		compatible = "qcom,mdp";
> +		compatible = "qcom,mdp4";
>   		reg = <0x05100000 0xf0000>;
>   		interrupts = <GIC_SPI 75 0>;
>   		connectors = <&hdmi>;
>
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/display/msm/mdp.txt b/Documentation/devicetree/bindings/display/msm/mdp.txt
index 0833eda..a214f6c 100644
--- a/Documentation/devicetree/bindings/display/msm/mdp.txt
+++ b/Documentation/devicetree/bindings/display/msm/mdp.txt
@@ -2,18 +2,28 @@  Qualcomm adreno/snapdragon display controller
 
 Required properties:
 - compatible:
-  * "qcom,mdp" - mdp4
+  * "qcom,mdp4" - mdp4
+  * "qcom,mdp5" - mdp5
 - reg: Physical base address and length of the controller's registers.
 - interrupts: The interrupt signal from the display controller.
 - connectors: array of phandles for output device(s)
 - clocks: device clocks
   See ../clocks/clock-bindings.txt for details.
-- clock-names: the following clocks are required:
-  * "core_clk"
-  * "iface_clk"
-  * "src_clk"
-  * "hdmi_clk"
-  * "mpd_clk"
+- clock-names: the following clocks are required.
+  For MDP4:
+   * "core_clk"
+   * "iface_clk"
+   * "lut_clk"
+   * "src_clk"
+   * "hdmi_clk"
+   * "mdp_clk"
+  For MDP5:
+   * "bus_clk"
+   * "iface_clk"
+   * "core_clk_src"
+   * "core_clk"
+   * "lut_clk" (some MDP5 versions may not need this)
+   * "vsync_clk"
 
 Optional properties:
 - gpus: phandle for gpu device
@@ -26,7 +36,7 @@  Example:
 	...
 
 	mdp: qcom,mdp@5100000 {
-		compatible = "qcom,mdp";
+		compatible = "qcom,mdp4";
 		reg = <0x05100000 0xf0000>;
 		interrupts = <GIC_SPI 75 0>;
 		connectors = <&hdmi>;