mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
fa59aa7090
commit
6bce1974f6
|
@ -6,6 +6,7 @@ to gate power to one or more peripherals on the processor.
|
||||||
Required Properties:
|
Required Properties:
|
||||||
- compatible: should be one of the following.
|
- compatible: should be one of the following.
|
||||||
* samsung,exynos4210-pd - for exynos4210 type power domain.
|
* samsung,exynos4210-pd - for exynos4210 type power domain.
|
||||||
|
* samsung,exynos5433-pd - for exynos5433 type power domain.
|
||||||
- reg: physical base address of the controller and length of memory mapped
|
- reg: physical base address of the controller and length of memory mapped
|
||||||
region.
|
region.
|
||||||
- #power-domain-cells: number of cells in power domain specifier;
|
- #power-domain-cells: number of cells in power domain specifier;
|
||||||
|
|
|
@ -128,10 +128,17 @@ static const struct exynos_pm_domain_config exynos4210_cfg __initconst = {
|
||||||
.local_pwr_cfg = 0x7,
|
.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 = {
|
static const struct of_device_id exynos_pm_domain_of_match[] __initconst = {
|
||||||
{
|
{
|
||||||
.compatible = "samsung,exynos4210-pd",
|
.compatible = "samsung,exynos4210-pd",
|
||||||
.data = &exynos4210_cfg,
|
.data = &exynos4210_cfg,
|
||||||
|
}, {
|
||||||
|
.compatible = "samsung,exynos5433-pd",
|
||||||
|
.data = &exynos5433_cfg,
|
||||||
},
|
},
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue