Commit 6f9e95e6 authored by Prasanna Kumar's avatar Prasanna Kumar Committed by Kukjin Kim

ARM: dts: Set up power domain for MFC and G-scaler for exynos5250

This patch adds device tree nodes for MFC and G-scaler power
domains of exynos5250.It binds these power-domain nodes to repsective
device tree nodes

It also adds support to enable PM generic domains for exynos5250.
Signed-off-by: default avatarPrasanna Kumar <prasanna.ps@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 7d40d867
...@@ -46,6 +46,16 @@ aliases { ...@@ -46,6 +46,16 @@ aliases {
i2c8 = &i2c_8; i2c8 = &i2c_8;
}; };
pd_gsc: gsc-power-domain@0x10044000 {
compatible = "samsung,exynos4210-pd";
reg = <0x10044000 0x20>;
};
pd_mfc: mfc-power-domain@0x10044040 {
compatible = "samsung,exynos4210-pd";
reg = <0x10044040 0x20>;
};
gic:interrupt-controller@10481000 { gic:interrupt-controller@10481000 {
compatible = "arm,cortex-a9-gic"; compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>; #interrupt-cells = <3>;
...@@ -79,6 +89,7 @@ codec@11000000 { ...@@ -79,6 +89,7 @@ codec@11000000 {
compatible = "samsung,mfc-v6"; compatible = "samsung,mfc-v6";
reg = <0x11000000 0x10000>; reg = <0x11000000 0x10000>;
interrupts = <0 96 0>; interrupts = <0 96 0>;
samsung,power-domain = <&pd_mfc>;
}; };
rtc { rtc {
...@@ -604,28 +615,33 @@ gpz: gpio-controller@03860000 { ...@@ -604,28 +615,33 @@ gpz: gpio-controller@03860000 {
}; };
}; };
gsc_0: gsc@0x13e00000 { gsc_0: gsc@0x13e00000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e00000 0x1000>; reg = <0x13e00000 0x1000>;
interrupts = <0 85 0>; interrupts = <0 85 0>;
samsung,power-domain = <&pd_gsc>;
}; };
gsc_1: gsc@0x13e10000 { gsc_1: gsc@0x13e10000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e10000 0x1000>; reg = <0x13e10000 0x1000>;
interrupts = <0 86 0>; interrupts = <0 86 0>;
samsung,power-domain = <&pd_gsc>;
}; };
gsc_2: gsc@0x13e20000 { gsc_2: gsc@0x13e20000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e20000 0x1000>; reg = <0x13e20000 0x1000>;
interrupts = <0 87 0>; interrupts = <0 87 0>;
samsung,power-domain = <&pd_gsc>;
}; };
gsc_3: gsc@0x13e30000 { gsc_3: gsc@0x13e30000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e30000 0x1000>; reg = <0x13e30000 0x1000>;
interrupts = <0 88 0>; interrupts = <0 88 0>;
samsung,power-domain = <&pd_gsc>;
}; };
hdmi { hdmi {
......
...@@ -61,6 +61,7 @@ config SOC_EXYNOS5250 ...@@ -61,6 +61,7 @@ config SOC_EXYNOS5250
bool "SAMSUNG EXYNOS5250" bool "SAMSUNG EXYNOS5250"
default y default y
depends on ARCH_EXYNOS5 depends on ARCH_EXYNOS5
select PM_GENERIC_DOMAINS if PM
select S5P_PM if PM select S5P_PM if PM
select S5P_SLEEP if PM select S5P_SLEEP if PM
select S5P_DEV_MFC select S5P_DEV_MFC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment