aboutsummaryrefslogtreecommitdiff
path: root/drivers/soc/samsung/pm_domains.c
diff options
context:
space:
mode:
authorChanwoo Choi2017-01-25 12:55:35 +0100
committerKrzysztof Kozlowski2017-01-27 09:38:54 +0200
commit6bce1974f64aba108ad344cb2ef0110d9c09ebd2 (patch)
treeaee0b17029be9d48048e460bc4036c1ce64185c1 /drivers/soc/samsung/pm_domains.c
parentfa59aa70907b2e5c08f58d63ed7c1e5017e39301 (diff)
soc: samsung: pm_domains: Add new Exynos5433 compatible
Add a new compatible string for Exynos5433 because it uses the 0xf value instead of 0x7 for domain on/off registers. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/soc/samsung/pm_domains.c')
-rw-r--r--drivers/soc/samsung/pm_domains.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c
index 7112004b8032..15bad1543409 100644
--- a/drivers/soc/samsung/pm_domains.c
+++ b/drivers/soc/samsung/pm_domains.c
@@ -128,10 +128,17 @@ static const struct exynos_pm_domain_config exynos4210_cfg __initconst = {
.local_pwr_cfg = 0x7,
};
+static const struct exynos_pm_domain_config exynos5433_cfg __initconst = {
+ .local_pwr_cfg = 0xf,
+};
+
static const struct of_device_id exynos_pm_domain_of_match[] __initconst = {
{
.compatible = "samsung,exynos4210-pd",
.data = &exynos4210_cfg,
+ }, {
+ .compatible = "samsung,exynos5433-pd",
+ .data = &exynos5433_cfg,
},
{ },
};