Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: mediatek: mediatek-regulator-coupler: Support mt8188

The Mali GPU in mt8188 also requires coupled power supplies,
that is, the "vsram" voltage should follow the "vgpu" voltage.
Therefore add the compatible to enable this coupling behavior.

Signed-off-by: Pablo Sun <pablo.sun@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241002022138.29241-6-pablo.sun@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

authored by

Pablo Sun and committed by
AngeloGioacchino Del Regno
d0fa55cc 34771841

+1
+1
drivers/soc/mediatek/mtk-regulator-coupler.c
··· 147 147 { 148 148 if (!of_machine_is_compatible("mediatek,mt8183") && 149 149 !of_machine_is_compatible("mediatek,mt8186") && 150 + !of_machine_is_compatible("mediatek,mt8188") && 150 151 !of_machine_is_compatible("mediatek,mt8192")) 151 152 return 0; 152 153