diff mbox series

[2/2] clk: qcom: mmcc-sdm660: Add hw_ctrl flag to venus_core0_gdsc

Message ID 20211008102041.268253-2-angelogioacchino.delregno@collabora.com (mailing list archive)
State Not Applicable
Headers show
Series [1/2] clk: qcom: mmcc-sdm660: Add necessary CXCs to venus_gdsc | expand

Commit Message

AngeloGioacchino Del Regno Oct. 8, 2021, 10:20 a.m. UTC
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 <angelogioacchino.delregno@collabora.com>
---
 drivers/clk/qcom/mmcc-sdm660.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Boyd Oct. 13, 2021, 10:09 p.m. UTC | #1
Quoting AngeloGioacchino Del Regno (2021-10-08 03:20:41)
> 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 <angelogioacchino.delregno@collabora.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/qcom/mmcc-sdm660.c b/drivers/clk/qcom/mmcc-sdm660.c
index c5fdc36e3c34..bc19a23e13f8 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 = {