pmdomain: mediatek: Move ctl sequences out of power_on/off functions
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 5 Aug 2025 07:47:42 +0000 (09:47 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Aug 2025 12:12:40 +0000 (14:12 +0200)
commit0e8e6b5f6a31a3d001ab83f7af9394fccd4bb569
tree3f9587601221ccc3847c1c8de420e32c6a6783c0
parentad4bbdc59b75edf7f3bda836136a1f2bace427b8
pmdomain: mediatek: Move ctl sequences out of power_on/off functions

In preparation to support power domains of new SoCs and the modem
power domains for both new and already supported chips, move the
generic control power sequences out of the scpsys_power_on() and
scpsys_power_off() and put them in new scpsys_ctl_pwrseq_on(),
scpsys_ctl_pewseq_off() functions.

Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250805074746.29457-7-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/mediatek/mtk-pm-domains.c