linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] clk: qcom: Skip halt checks on gcc_pcie_0_pipe_clk for 8998
@ 2019-03-25 13:49 Marc Gonzalez
  2019-03-28 16:26 ` Marc Gonzalez
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Marc Gonzalez @ 2019-03-25 13:49 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: Jeffrey Hugo, Bjorn Andersson, linux-clk, MSM

See similar issue solved by commit 5f2420ed2189
("clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998")

Without this patch, PCIe PHY init fails:

qcom-qmp-phy 1c06000.phy: pipe_clk enable failed err=-16
phy phy-1c06000.phy.0: phy init failed --> -16

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---
 drivers/clk/qcom/gcc-msm8998.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
index c240fba794c7..033688264c7b 100644
--- a/drivers/clk/qcom/gcc-msm8998.c
+++ b/drivers/clk/qcom/gcc-msm8998.c
@@ -2161,7 +2161,7 @@ static struct clk_branch gcc_pcie_0_mstr_axi_clk = {
 
 static struct clk_branch gcc_pcie_0_pipe_clk = {
 	.halt_reg = 0x6b018,
-	.halt_check = BRANCH_HALT,
+	.halt_check = BRANCH_HALT_SKIP,
 	.clkr = {
 		.enable_reg = 0x6b018,
 		.enable_mask = BIT(0),
-- 
2.17.1

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

end of thread, other threads:[~2019-10-17 17:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-25 13:49 [PATCH v1] clk: qcom: Skip halt checks on gcc_pcie_0_pipe_clk for 8998 Marc Gonzalez
2019-03-28 16:26 ` Marc Gonzalez
2019-03-29 22:32   ` Stephen Boyd
2019-04-01  8:48     ` Marc Gonzalez
2019-10-09  8:31     ` Manu Gautam
2019-10-10  4:15       ` Stephen Boyd
2019-10-10  7:33         ` Manu Gautam
2019-10-10 19:48           ` Stephen Boyd
2019-10-11  3:47             ` Manu Gautam
2019-10-17 17:49               ` Stephen Boyd
2019-04-05 12:29 ` Marc Gonzalez
2019-04-09 13:25 ` Jeffrey Hugo
2019-04-11 20:38 ` Stephen Boyd

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).