clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags
authorTaniya Das <quic_tdas@quicinc.com>
Wed, 12 Jun 2024 11:08:24 +0000 (16:38 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sun, 23 Jun 2024 22:14:04 +0000 (17:14 -0500)
commite69386d4a42afa5da6bfdcd4ac5ec61e1db04c61
treef7ca753041dc2df543b21ce231fe656927945e14
parent955606a7b073d724a50a6ab1119987e189fc3e36
clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags

The GPU clocks/GDSCs have been marked critical from the clock driver
but the GPU driver votes on these resources as per the HW requirement.
In the case where these clocks & GDSCs are left enabled, would have
power impact and also cause GPU stability/corruptions.
Fix the same by removing the CLK_IS_CRITICAL for clocks and ALWAYS_ON
flags for the GPU GDSCs.

Fixes: 0afa16afc36d ("clk: qcom: add the GPUCC driver for sa8775p")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20240612-sa8775p-v2-gcc-gpucc-fixes-v2-4-adcc756a23df@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gpucc-sa8775p.c