From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: linux-mediatek@lists.infradead.org
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
mturquette@baylibre.com, sboyd@kernel.org,
matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
ulf.hansson@linaro.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
kernel@collabora.com
Subject: [PATCH 3/5] pmdomain: mediatek: scpsys: Add MT7622 Audio power domain to legacy driver
Date: Tue, 13 Jan 2026 12:00:10 +0100 [thread overview]
Message-ID: <20260113110012.36984-4-angelogioacchino.delregno@collabora.com> (raw)
In-Reply-To: <20260113110012.36984-1-angelogioacchino.delregno@collabora.com>
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>
---
drivers/pmdomain/mediatek/mtk-scpsys.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/pmdomain/mediatek/mtk-scpsys.c b/drivers/pmdomain/mediatek/mtk-scpsys.c
index 1a80c1537a43..efc8f276ffce 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,
+ },
};
/*
--
2.52.0
next prev parent reply other threads:[~2026-01-13 11:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 11:00 [PATCH 0/5] Fix dtbs_check warnings for MediaTek MT7622 platform AngeloGioacchino Del Regno
2026-01-13 11:00 ` [PATCH 1/5] dt-bindings: clock: mediatek,mt7622-pciesys: Remove syscon compatible AngeloGioacchino Del Regno
2026-01-13 21:34 ` Rob Herring (Arm)
2026-01-14 8:16 ` Matthias Brugger
2026-01-23 1:44 ` Stephen Boyd
2026-01-13 11:00 ` [PATCH 2/5] dt-bindings: power: mt7622-power: Add MT7622_POWER_DOMAIN_AUDIO AngeloGioacchino Del Regno
2026-01-13 21:34 ` Rob Herring (Arm)
2026-01-13 11:00 ` AngeloGioacchino Del Regno [this message]
2026-01-13 11:00 ` [PATCH 4/5] arm64: dts: mediatek: mt7622: Add missing clock to audio-controller AngeloGioacchino Del Regno
2026-01-21 18:44 ` Rob Herring
2026-01-13 11:00 ` [PATCH 5/5] arm64: dts: mediatek: mt7622: Add missing power domain to afe AngeloGioacchino Del Regno
2026-01-21 18:44 ` Rob Herring
2026-01-15 16:23 ` [PATCH 0/5] Fix dtbs_check warnings for MediaTek MT7622 platform Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260113110012.36984-4-angelogioacchino.delregno@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@collabora.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=mturquette@baylibre.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®