summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/Kconfig
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-06-18 16:24:12 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2013-06-18 16:24:37 (GMT)
commit105dddbfcc3ceb8bde60af1121a60ea9978fe714 (patch)
treeacadbe906dcf18ff08b4c3cba22a248b6447c178 /arch/arm/plat-samsung/Kconfig
parent38d0a99e9b09fd9cd57638a9603a0dd26c8909f4 (diff)
downloadlinux-fsl-qoriq-105dddbfcc3ceb8bde60af1121a60ea9978fe714.tar.xz
ARM: SAMSUNG: Compile legacy IRQ and GPIO PM code only with ATAGS support
This patch adds new Kconfig symbols, SAMSUNG_PM_GPIO and S5P_IRQ_PM that get enabled when GPIO_SAMSUNG, PM and S5P_PM are enabled, but only if SAMSUNG_ATAGS is selected. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/Kconfig')
-rw-r--r--arch/arm/plat-samsung/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index c0f0542..7b08b26 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -421,6 +421,19 @@ config S3C_DMA
help
Internal configuration for S3C DMA core
+config S5P_IRQ_PM
+ bool
+ default y if S5P_PM
+ help
+ Legacy IRQ power management for S5P platforms
+
+config SAMSUNG_PM_GPIO
+ bool
+ default y if GPIO_SAMSUNG && PM
+ help
+ Include legacy GPIO power management code for platforms not using
+ pinctrl-samsung driver.
+
endif
config SAMSUNG_DMADEV