diff options
author | Weiyi Lu <weiyi.lu@mediatek.com> | 2020-10-30 14:36:21 +0300 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2020-11-27 14:04:43 +0300 |
commit | c1f3163d8ff36f5b75d467bf95581b8f2319cd64 (patch) | |
tree | d6d5ce879283cb9a6c3421991e894fe32c31d630 /drivers/soc/mediatek/mtk-pm-domains.h | |
parent | eb9fa767fbe19d3db7d303e9fde7f3056221ffe1 (diff) | |
download | linux-c1f3163d8ff36f5b75d467bf95581b8f2319cd64.tar.xz |
soc: mediatek: pm-domains: Add default power off flag
For some power domain, like conn on MT8192, it should be default OFF.
Because the power on/off control relies the function of connectivity chip
and its firmware. And if project choose other chip vendor solution,
those necessary connectivity functions will not provided.
Signed-off-by: Weiyi Lu <weiyi.lu@mediatek.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201030113622.201188-16-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/mtk-pm-domains.h')
-rw-r--r-- | drivers/soc/mediatek/mtk-pm-domains.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-pm-domains.h b/drivers/soc/mediatek/mtk-pm-domains.h index 2c745f11b422..a2f4d8f97e05 100644 --- a/drivers/soc/mediatek/mtk-pm-domains.h +++ b/drivers/soc/mediatek/mtk-pm-domains.h @@ -6,6 +6,7 @@ #define MTK_SCPD_ACTIVE_WAKEUP BIT(0) #define MTK_SCPD_FWAIT_SRAM BIT(1) #define MTK_SCPD_SRAM_ISO BIT(2) +#define MTK_SCPD_KEEP_DEFAULT_OFF BIT(3) #define MTK_SCPD_CAPS(_scpd, _x) ((_scpd)->data->caps & (_x)) #define SPM_VDE_PWR_CON 0x0210 |