]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pmdomain: mediatek: scpsys: Add MT7622 Audio power domain to legacy driver
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 13 Jan 2026 11:00:10 +0000 (12:00 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 1 Apr 2026 11:07:31 +0000 (13:07 +0200)
Add the Audio power domain of the MT7622 SoC to the legacy
mtk-scpsys driver (as this legacy SoC is supported only there).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/mediatek/mtk-scpsys.c

index 1a80c1537a43d2f3ae3ee0456090bd9e41834afa..efc8f276ffce1eb1c3a2bc47dcbcfcfbc2b7ee89 100644 (file)
@@ -867,6 +867,16 @@ static const struct scp_domain_data scp_domain_data_mt7622[] = {
                .bus_prot_mask = MT7622_TOP_AXI_PROT_EN_WB,
                .caps = MTK_SCPD_ACTIVE_WAKEUP | MTK_SCPD_FWAIT_SRAM,
        },
+       [MT7622_POWER_DOMAIN_AUDIO] = {
+               .name = "audsys",
+               .sta_mask = PWR_STATUS_AUDIO,
+               .ctl_offs = SPM_AUDIO_PWR_CON,
+               .sram_pdn_bits = GENMASK(11, 8),
+               .sram_pdn_ack_bits = GENMASK(15, 12),
+               .clk_id = {CLK_NONE},
+               .bus_prot_mask = MT7622_TOP_AXI_PROT_EN_HIF1,
+               .caps = MTK_SCPD_ACTIVE_WAKEUP,
+       },
 };
 
 /*