Re: [PATCH] clk: qcom: smd: Add missing pnoc clock

From: Stephen Boyd
Date: Thu Nov 07 2019 - 16:42:14 EST


Quoting Jeffrey Hugo (2019-11-07 11:06:15)
> When MSM8998 support was added, and analysis was done to determine what
> clocks would be consumed. That analysis had a flaw, which caused the
> pnoc to be skipped. The pnoc clock needs to be on to access the uart
> for the console. The clock is on from boot, but has no consumer votes
> in the RPM. When we attempt to boot the modem, it causes the RPM to
> turn off pnoc, which kills our access to the console and causes CPU hangs.
>
> We need pnoc to be defined, so that clk_smd_rpm_handoff() will put in
> an implicit vote for linux and prevent issues when booting modem.
> Hopefully pnoc can be consumed by the interconnect framework in future
> so that Linux can rely on explicit votes.
>
> Fixes: 6131dc81211c ("clk: qcom: smd: Add support for MSM8998 rpm clocks")
> Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@xxxxxxxxx>
> ---

Applied to clk-next