From: AngeloGioacchino Del Regno Date: Fri, 8 Oct 2021 10:20:41 +0000 (+0200) Subject: clk: qcom: mmcc-sdm660: Add hw_ctrl flag to venus_core0_gdsc X-Git-Tag: v6.1-rc5~2625^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=196eb9285255795093007af7e2bed3ebb83b6b61;p=platform%2Fkernel%2Flinux-starfive.git clk: qcom: mmcc-sdm660: Add hw_ctrl flag to venus_core0_gdsc As shown downstream[1], this GDSC supports HW trigger mode and we're supposed to enable it in order to ensure correct operation. [1]: https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.6.4.r1/arch/arm/boot/dts/qcom/sdm630.dtsi#L2181 Signed-off-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20211008102041.268253-2-angelogioacchino.delregno@collabora.com Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/qcom/mmcc-sdm660.c b/drivers/clk/qcom/mmcc-sdm660.c index c5fdc36..bc19a23 100644 --- a/drivers/clk/qcom/mmcc-sdm660.c +++ b/drivers/clk/qcom/mmcc-sdm660.c @@ -2575,6 +2575,7 @@ static struct gdsc venus_core0_gdsc = { }, .parent = &venus_gdsc.pd, .pwrsts = PWRSTS_OFF_ON, + .flags = HW_CTRL, }; static struct gdsc mdss_gdsc = {