summaryrefslogtreecommitdiff
path: root/drivers/soc/mediatek/mtk-pm-domains.c
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-10-30 12:36:17 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2020-11-27 12:04:43 +0100
commiteb9fa767fbe19d3db7d303e9fde7f3056221ffe1 (patch)
tree84aa97bed6ebbd5ed5685fccfb65eccd1791aab0 /drivers/soc/mediatek/mtk-pm-domains.c
parent1d4597fa18b2e5d38deebdaa8121734a166a6c73 (diff)
downloadlwn-eb9fa767fbe19d3db7d303e9fde7f3056221ffe1.tar.gz
lwn-eb9fa767fbe19d3db7d303e9fde7f3056221ffe1.zip
soc: mediatek: pm-domains: Add support for mt8183
Add the needed board data to support mt8183 SoC. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20201030113622.201188-12-enric.balletbo@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/mtk-pm-domains.c')
-rw-r--r--drivers/soc/mediatek/mtk-pm-domains.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/mtk-pm-domains.c b/drivers/soc/mediatek/mtk-pm-domains.c
index 03279a999dfc..8703d50cd2b7 100644
--- a/drivers/soc/mediatek/mtk-pm-domains.c
+++ b/drivers/soc/mediatek/mtk-pm-domains.c
@@ -16,6 +16,7 @@
#include <linux/soc/mediatek/infracfg.h>
#include "mt8173-pm-domains.h"
+#include "mt8183-pm-domains.h"
#define MTK_POLL_DELAY_US 10
#define MTK_POLL_TIMEOUT USEC_PER_SEC
@@ -505,6 +506,10 @@ static const struct of_device_id scpsys_of_match[] = {
.compatible = "mediatek,mt8173-power-controller",
.data = &mt8173_scpsys_data,
},
+ {
+ .compatible = "mediatek,mt8183-power-controller",
+ .data = &mt8183_scpsys_data,
+ },
{ }
};