diff options
author | Fabien Parent <fparent@baylibre.com> | 2020-12-09 14:32:37 +0100 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2021-01-31 11:19:30 +0100 |
commit | 207f13b419a60c56fb75baeb3d668de080514354 (patch) | |
tree | 9ca532fc5d840e85fab6258e4d25df4609711a1e /drivers/soc/mediatek/mtk-pm-domains.c | |
parent | dt-bindings: power: Add MT8167 power domains (diff) | |
download | linux-207f13b419a60c56fb75baeb3d668de080514354.tar.xz linux-207f13b419a60c56fb75baeb3d668de080514354.zip |
soc: mediatek: pm-domains: Add support for mt8167
Add the needed board data to support mt8167 SoC.
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201209133238.384030-2-fparent@baylibre.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.c | 5 |
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 fb70cb3b07b3..2d0d50ff35f0 100644 --- a/drivers/soc/mediatek/mtk-pm-domains.c +++ b/drivers/soc/mediatek/mtk-pm-domains.c @@ -15,6 +15,7 @@ #include <linux/regmap.h> #include <linux/soc/mediatek/infracfg.h> +#include "mt8167-pm-domains.h" #include "mt8173-pm-domains.h" #include "mt8183-pm-domains.h" #include "mt8192-pm-domains.h" @@ -515,6 +516,10 @@ static void scpsys_domain_cleanup(struct scpsys *scpsys) static const struct of_device_id scpsys_of_match[] = { { + .compatible = "mediatek,mt8167-power-controller", + .data = &mt8167_scpsys_data, + }, + { .compatible = "mediatek,mt8173-power-controller", .data = &mt8173_scpsys_data, }, |