aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrasanna Kumar <prasanna.ps@samsung.com>2013-02-12 18:27:43 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-03-07 05:47:13 -0500
commit6f9e95e6ed34ceff090ec1a1d27dfc85828d1dbd (patch)
tree8e4b277d870bda0d3c26d0feb787eda6755aad06
parent7d40d86766e12ef54e770a1e3f350afe0cdb4c58 (diff)
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: Prasanna Kumar <prasanna.ps@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos5250.dtsi16
-rw-r--r--arch/arm/mach-exynos/Kconfig1
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 64101f1f85dd..37a90dd6a4d2 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -46,6 +46,16 @@
46 i2c8 = &i2c_8; 46 i2c8 = &i2c_8;
47 }; 47 };
48 48
49 pd_gsc: gsc-power-domain@0x10044000 {
50 compatible = "samsung,exynos4210-pd";
51 reg = <0x10044000 0x20>;
52 };
53
54 pd_mfc: mfc-power-domain@0x10044040 {
55 compatible = "samsung,exynos4210-pd";
56 reg = <0x10044040 0x20>;
57 };
58
49 gic:interrupt-controller@10481000 { 59 gic:interrupt-controller@10481000 {
50 compatible = "arm,cortex-a9-gic"; 60 compatible = "arm,cortex-a9-gic";
51 #interrupt-cells = <3>; 61 #interrupt-cells = <3>;
@@ -79,6 +89,7 @@
79 compatible = "samsung,mfc-v6"; 89 compatible = "samsung,mfc-v6";
80 reg = <0x11000000 0x10000>; 90 reg = <0x11000000 0x10000>;
81 interrupts = <0 96 0>; 91 interrupts = <0 96 0>;
92 samsung,power-domain = <&pd_mfc>;
82 }; 93 };
83 94
84 rtc { 95 rtc {
@@ -604,28 +615,33 @@
604 }; 615 };
605 }; 616 };
606 617
618
607 gsc_0: gsc@0x13e00000 { 619 gsc_0: gsc@0x13e00000 {
608 compatible = "samsung,exynos5-gsc"; 620 compatible = "samsung,exynos5-gsc";
609 reg = <0x13e00000 0x1000>; 621 reg = <0x13e00000 0x1000>;
610 interrupts = <0 85 0>; 622 interrupts = <0 85 0>;
623 samsung,power-domain = <&pd_gsc>;
611 }; 624 };
612 625
613 gsc_1: gsc@0x13e10000 { 626 gsc_1: gsc@0x13e10000 {
614 compatible = "samsung,exynos5-gsc"; 627 compatible = "samsung,exynos5-gsc";
615 reg = <0x13e10000 0x1000>; 628 reg = <0x13e10000 0x1000>;
616 interrupts = <0 86 0>; 629 interrupts = <0 86 0>;
630 samsung,power-domain = <&pd_gsc>;
617 }; 631 };
618 632
619 gsc_2: gsc@0x13e20000 { 633 gsc_2: gsc@0x13e20000 {
620 compatible = "samsung,exynos5-gsc"; 634 compatible = "samsung,exynos5-gsc";
621 reg = <0x13e20000 0x1000>; 635 reg = <0x13e20000 0x1000>;
622 interrupts = <0 87 0>; 636 interrupts = <0 87 0>;
637 samsung,power-domain = <&pd_gsc>;
623 }; 638 };
624 639
625 gsc_3: gsc@0x13e30000 { 640 gsc_3: gsc@0x13e30000 {
626 compatible = "samsung,exynos5-gsc"; 641 compatible = "samsung,exynos5-gsc";
627 reg = <0x13e30000 0x1000>; 642 reg = <0x13e30000 0x1000>;
628 interrupts = <0 88 0>; 643 interrupts = <0 88 0>;
644 samsung,power-domain = <&pd_gsc>;
629 }; 645 };
630 646
631 hdmi { 647 hdmi {
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 78bd3479c7e1..66b12f76e4ad 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -61,6 +61,7 @@ config SOC_EXYNOS5250
61 bool "SAMSUNG EXYNOS5250" 61 bool "SAMSUNG EXYNOS5250"
62 default y 62 default y
63 depends on ARCH_EXYNOS5 63 depends on ARCH_EXYNOS5
64 select PM_GENERIC_DOMAINS if PM
64 select S5P_PM if PM 65 select S5P_PM if PM
65 select S5P_SLEEP if PM 66 select S5P_SLEEP if PM
66 select S5P_DEV_MFC 67 select S5P_DEV_MFC