[PATCH] soc: mediatek: mtk-regulator-coupler: Add support for MT8189

Justin Yeh posted 1 patch 3 weeks, 2 days ago
drivers/soc/mediatek/mtk-regulator-coupler.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] soc: mediatek: mtk-regulator-coupler: Add support for MT8189
Posted by Justin Yeh 3 weeks, 2 days ago
MT8189 couples its GPU supply (buck_vgpu) with the GPU SRAM supply
(ldo_sram_gpu), which is exactly the GPU<->SRAM relationship this
coupler already handles for MT8183, MT8186, MT8188 and MT8192.

Register the coupler on MT8189 as well so that both supplies stay
voltage-balanced.

Signed-off-by: Justin Yeh <justin.yeh@mediatek.com>
---
 drivers/soc/mediatek/mtk-regulator-coupler.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/mediatek/mtk-regulator-coupler.c b/drivers/soc/mediatek/mtk-regulator-coupler.c
index 0b6a2884145e..1109e3d9a319 100644
--- a/drivers/soc/mediatek/mtk-regulator-coupler.c
+++ b/drivers/soc/mediatek/mtk-regulator-coupler.c
@@ -148,6 +148,7 @@ static int mediatek_regulator_coupler_init(void)
 	if (!of_machine_is_compatible("mediatek,mt8183") &&
 	    !of_machine_is_compatible("mediatek,mt8186") &&
 	    !of_machine_is_compatible("mediatek,mt8188") &&
+	    !of_machine_is_compatible("mediatek,mt8189") &&
 	    !of_machine_is_compatible("mediatek,mt8192"))
 		return 0;
 
-- 
2.45.2
Re: [PATCH] soc: mediatek: mtk-regulator-coupler: Add support for MT8189
Posted by AngeloGioacchino Del Regno 2 weeks, 2 days ago
On Thu, 03 Sep 2026 14:21:24 +0800, Justin Yeh wrote:
> MT8189 couples its GPU supply (buck_vgpu) with the GPU SRAM supply
> (ldo_sram_gpu), which is exactly the GPU<->SRAM relationship this
> coupler already handles for MT8183, MT8186, MT8188 and MT8192.
> 
> Register the coupler on MT8189 as well so that both supplies stay
> voltage-balanced.
> 
> [...]

Applied to v7.3-next/soc, thanks!

[1/1] soc: mediatek: mtk-regulator-coupler: Add support for MT8189
      commit: 6c5388154299ee0b5ab2c654d5f3631bafd524a7

Cheers,
Angelo