[lkml]   [2020]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/2] clk: qcom: gcc-msm8996: Fix CLKREF parenting
We've always seen intermittent resets of msm8996 during boot, seemingly related
to PCIe somehow. The likely cause of these errors are the fact that the CLKREF
of all PHYs are parented by LN_BB, which while being on during boot is disabled
by the UFS host driver if it fails to find its PHY.

As such, depending on the timeing (and success) of the UFS initialization, PCIe
might loose its clocking.

These two patches ensures that LN_BB, connected to the CXO2 pad on the SoC, is
described as parent for all the CLKREF clocks. So that they all vote for this
clock appropriately.

Bjorn Andersson (2):
clk: qcom: gcc-msm8996: Fix parent for CLKREF clocks
arm64: dts: qcom: msm8996: Define parent clocks for gcc

.../devicetree/bindings/clock/qcom,gcc.yaml | 10 ++++++
arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 ++
drivers/clk/qcom/gcc-msm8996.c | 35 +++++++++++++++----
3 files changed, 41 insertions(+), 7 deletions(-)


 \ /
  Last update: 2020-01-06 09:07    [W:0.086 / U:6.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site