summaryrefslogtreecommitdiff
path: root/drivers/soc/mediatek/mt8183-pm-domains.h
diff options
context:
space:
mode:
authorHsin-Yi Wang <hsinyi@chromium.org>2021-01-29 18:12:07 +0800
committerMatthias Brugger <matthias.bgg@gmail.com>2021-01-31 15:47:49 +0100
commit1b18c0558d092b29b0d9ccdf14a6915156e6cf32 (patch)
tree38c8ed721d12e66fc0365d8478faa55c993a0a63 /drivers/soc/mediatek/mt8183-pm-domains.h
parentebfe73f7079a9ef5e6487ae8dfe48c43787118e8 (diff)
downloadlwn-1b18c0558d092b29b0d9ccdf14a6915156e6cf32.tar.gz
lwn-1b18c0558d092b29b0d9ccdf14a6915156e6cf32.zip
soc: mediatek: pm-domains: Add domain regulator supply
Some power domains (eg. mfg) needs to turn on power supply before power on. Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210129101208.2625249-3-hsinyi@chromium.org Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/mt8183-pm-domains.h')
-rw-r--r--drivers/soc/mediatek/mt8183-pm-domains.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mt8183-pm-domains.h b/drivers/soc/mediatek/mt8183-pm-domains.h
index 8d996c5d2682..aa5230e6c12f 100644
--- a/drivers/soc/mediatek/mt8183-pm-domains.h
+++ b/drivers/soc/mediatek/mt8183-pm-domains.h
@@ -38,6 +38,7 @@ static const struct scpsys_domain_data scpsys_domain_data_mt8183[] = {
.ctl_offs = 0x0338,
.sram_pdn_bits = GENMASK(8, 8),
.sram_pdn_ack_bits = GENMASK(12, 12),
+ .caps = MTK_SCPD_DOMAIN_SUPPLY,
},
[MT8183_POWER_DOMAIN_MFG_CORE0] = {
.sta_mask = BIT(7),