linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v1] arm64: dts: qcom: sc7280: assign DSI clock source parents
@ 2022-09-07 11:35 Rajeev Nandan
  2022-10-18  3:14 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Rajeev Nandan @ 2022-09-07 11:35 UTC (permalink / raw)
  To: dri-devel, linux-arm-msm, freedreno, devicetree
  Cc: Rajeev Nandan, linux-kernel, sean, robdclark, robh+dt,
	dmitry.baryshkov, andersson, agross, konrad.dybcio,
	quic_abhinavk, quic_kalyant

Assign DSI clock source parents to DSI PHY clocks.

Signed-off-by: Rajeev Nandan <quic_rajeevny@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---

This change is needed after the refactor done by the patch [2] 
(drm/msm/dsi: stop setting clock parents manually) of series [1],
to fix the DSI pixel clock set rate error:
  dsi_link_clk_set_rate_6g: Failed to set rate pixel clk, -22
  msm_dsi_host_power_on: failed to enable link clocks. ret=-22

[1] https://github.com/torvalds/linux/commit/9b077c1581cf57206f5f7788ea569e8fae0719a7
[2] https://lore.kernel.org/all/20210709210729.953114-1-dmitry.baryshkov@linaro.org/

 arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 50c3d79..a80aa64 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -3650,6 +3650,9 @@
 					      "iface",
 					      "bus";
 
+				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
+				assigned-clock-parents = <&mdss_dsi_phy 0>, <&mdss_dsi_phy 1>;
+
 				operating-points-v2 = <&dsi_opp_table>;
 				power-domains = <&rpmhpd SC7280_CX>;
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [v1] arm64: dts: qcom: sc7280: assign DSI clock source parents
  2022-09-07 11:35 [v1] arm64: dts: qcom: sc7280: assign DSI clock source parents Rajeev Nandan
@ 2022-10-18  3:14 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-10-18  3:14 UTC (permalink / raw)
  To: quic_rajeevny, devicetree, freedreno, linux-arm-msm, dri-devel
  Cc: quic_kalyant, dmitry.baryshkov, sean, robdclark, linux-kernel,
	agross, quic_abhinavk, robh+dt, konrad.dybcio

On Wed, 7 Sep 2022 17:05:53 +0530, Rajeev Nandan wrote:
> Assign DSI clock source parents to DSI PHY clocks.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sc7280: assign DSI clock source parents
      commit: 80edac18ac173f0f0130c2164f75ddadcd68fa7f

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-18  3:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07 11:35 [v1] arm64: dts: qcom: sc7280: assign DSI clock source parents Rajeev Nandan
2022-10-18  3:14 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).