From: AngeloGioacchino Del Regno Date: Tue, 13 Jan 2026 11:00:10 +0000 (+0100) Subject: pmdomain: mediatek: scpsys: Add MT7622 Audio power domain to legacy driver X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1fdcfeb026bc3efbe2f06bf2204152b21c401e;p=thirdparty%2Flinux.git pmdomain: mediatek: scpsys: Add MT7622 Audio power domain to legacy driver 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 Signed-off-by: Ulf Hansson --- diff --git a/drivers/pmdomain/mediatek/mtk-scpsys.c b/drivers/pmdomain/mediatek/mtk-scpsys.c index 1a80c1537a43d..efc8f276ffce1 100644 --- a/drivers/pmdomain/mediatek/mtk-scpsys.c +++ b/drivers/pmdomain/mediatek/mtk-scpsys.c @@ -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, + }, }; /*