Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 344ee71f authored by Taniya Das's avatar Taniya Das
Browse files

ARM: dts: msm: add display clock nodes for MSM8936



Model the DSI clocks in GCC as a separate device. The byte and pixel clocks
exposed by the DSI PLL device is needed by the GCC DSI clocks. Finally, the
DSI controller can get the clocks exposed by GCC DSI. So, the order of
probes for this to work is GCC->DSI PLL->GCC_MDSS_DSI->DSI controller.

Change-Id: I9c7357211b68b9a02ee2782000b942d98618b178
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 3bb9501c
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -216,6 +216,7 @@
#include "msm8939-mdss.dtsi"
#include "msm8939-iommu-domains.dtsi"
#include "msm8939-camera.dtsi"
#include "msm8939-mdss-pll.dtsi"

&soc {
	#address-cells = <1>;
@@ -779,6 +780,17 @@
		#clock-cells = <1>;
	};

	clock_gcc_mdss: qcom,gcc-mdss@1a98300 {
		compatible = "qcom,gcc-mdss-8936";
		clocks = <&mdss_dsi0_pll clk_pixel_clk_src>,
			 <&mdss_dsi0_pll clk_byte_clk_src>,
			 <&mdss_dsi0_pll clk_pixel_clk_src>,
			 <&mdss_dsi0_pll clk_byte_clk_src>;
		clock-names = "pclk0_src", "byte0_src", "pclk1_src",
				 "byte1_src";
		#clock-cells = <1>;
	};

	clock_debug: qcom,cc-debug@1874000 {
		compatible = "qcom,cc-debug-8936";
		reg = <0x1874000 0x4>;