thermal: mnh-clk: Ignore request to auto AXI gating
Force disable automatic AXI gating feature at kernel level. This
is a preventive measure to improve stability. This also aligns
behavior with B1C1, where this feature is not used.
Bug: 119834879
Change-Id: I51c1f14216a45ff16d59e8c9530aaf354ea047ac
Signed-off-by: Cheng Gu <gucheng@google.com>
diff --git a/drivers/thermal/mnh-clk.c b/drivers/thermal/mnh-clk.c
index e066016..6df152c 100644
--- a/drivers/thermal/mnh-clk.c
+++ b/drivers/thermal/mnh-clk.c
@@ -1208,7 +1208,10 @@
if (enabled != 1 && enabled != 0)
return -EINVAL;
+ /* WR: ignore request to set HALT_AXICG_EN. Context: b/119834879. */
+#if 0
HW_OUTf(mnh_dev->regs, SCU, CCU_CLK_CTL, HALT_AXICG_EN, enabled);
+#endif
return 0;
}