Re: [PATCH] clk: qcom: gdsc: Add a flag to skip setting power collapse bits

From: Mike Tipton
Date: Mon Aug 26 2024 - 21:42:18 EST


On Tue, Aug 13, 2024 at 05:00:15AM -0700, Georgi Djakov wrote:
> The sdm845 platforms have a hardware issue that requires keeping
> some of the MMNOC GDSCs in SW collapse mode (which is the power-on
> default). But if some driver tries to use these GDSCs and the mode
> is updated because of runtime pm calls, we may get a board hang.
> Introduce a flag to skip any updates to the power collapse settings
> for the impacted GDSCs to avoid unexpected board hangs.
>
> Cc: Mike Tipton <quic_mdtipton@xxxxxxxxxxx>
> Cc: Vivek Aknurwar <quic_viveka@xxxxxxxxxxx>
> Signed-off-by: Georgi Djakov <quic_c_gdjako@xxxxxxxxxxx>
> ---
> drivers/clk/qcom/gcc-sdm845.c | 6 +++---
> drivers/clk/qcom/gdsc.c | 3 +++
> drivers/clk/qcom/gdsc.h | 1 +
> 3 files changed, 7 insertions(+), 3 deletions(-)
>

Reviewed-by: Mike Tipton <quic_mdtipton@xxxxxxxxxxx>