diff options
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 9 | ||||
-rw-r--r-- | drivers/pinctrl/Kconfig | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6aa228da2d88..e51d99060d33 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -17,6 +17,7 @@ config ARCH_EXYNOS4 | |||
17 | select HAVE_ARM_SCU if SMP | 17 | select HAVE_ARM_SCU if SMP |
18 | select HAVE_SMP | 18 | select HAVE_SMP |
19 | select MIGHT_HAVE_CACHE_L2X0 | 19 | select MIGHT_HAVE_CACHE_L2X0 |
20 | select PINCTRL | ||
20 | help | 21 | help |
21 | Samsung EXYNOS4 SoCs based systems | 22 | Samsung EXYNOS4 SoCs based systems |
22 | 23 | ||
@@ -24,6 +25,7 @@ config ARCH_EXYNOS5 | |||
24 | bool "SAMSUNG EXYNOS5" | 25 | bool "SAMSUNG EXYNOS5" |
25 | select HAVE_ARM_SCU if SMP | 26 | select HAVE_ARM_SCU if SMP |
26 | select HAVE_SMP | 27 | select HAVE_SMP |
28 | select PINCTRL | ||
27 | help | 29 | help |
28 | Samsung EXYNOS5 (Cortex-A15) SoC based systems | 30 | Samsung EXYNOS5 (Cortex-A15) SoC based systems |
29 | 31 | ||
@@ -34,6 +36,7 @@ config CPU_EXYNOS4210 | |||
34 | default y | 36 | default y |
35 | depends on ARCH_EXYNOS4 | 37 | depends on ARCH_EXYNOS4 |
36 | select ARM_CPU_SUSPEND if PM | 38 | select ARM_CPU_SUSPEND if PM |
39 | select PINCTRL_EXYNOS | ||
37 | select PM_GENERIC_DOMAINS | 40 | select PM_GENERIC_DOMAINS |
38 | select S5P_PM if PM | 41 | select S5P_PM if PM |
39 | select S5P_SLEEP if PM | 42 | select S5P_SLEEP if PM |
@@ -45,6 +48,7 @@ config SOC_EXYNOS4212 | |||
45 | bool "SAMSUNG EXYNOS4212" | 48 | bool "SAMSUNG EXYNOS4212" |
46 | default y | 49 | default y |
47 | depends on ARCH_EXYNOS4 | 50 | depends on ARCH_EXYNOS4 |
51 | select PINCTRL_EXYNOS | ||
48 | select S5P_PM if PM | 52 | select S5P_PM if PM |
49 | select S5P_SLEEP if PM | 53 | select S5P_SLEEP if PM |
50 | select SAMSUNG_DMADEV | 54 | select SAMSUNG_DMADEV |
@@ -55,6 +59,7 @@ config SOC_EXYNOS4412 | |||
55 | bool "SAMSUNG EXYNOS4412" | 59 | bool "SAMSUNG EXYNOS4412" |
56 | default y | 60 | default y |
57 | depends on ARCH_EXYNOS4 | 61 | depends on ARCH_EXYNOS4 |
62 | select PINCTRL_EXYNOS | ||
58 | select SAMSUNG_DMADEV | 63 | select SAMSUNG_DMADEV |
59 | help | 64 | help |
60 | Enable EXYNOS4412 SoC support | 65 | Enable EXYNOS4412 SoC support |
@@ -63,6 +68,7 @@ config SOC_EXYNOS5250 | |||
63 | bool "SAMSUNG EXYNOS5250" | 68 | bool "SAMSUNG EXYNOS5250" |
64 | default y | 69 | default y |
65 | depends on ARCH_EXYNOS5 | 70 | depends on ARCH_EXYNOS5 |
71 | select PINCTRL_EXYNOS | ||
66 | select PM_GENERIC_DOMAINS if PM | 72 | select PM_GENERIC_DOMAINS if PM |
67 | select S5P_PM if PM | 73 | select S5P_PM if PM |
68 | select S5P_SLEEP if PM | 74 | select S5P_SLEEP if PM |
@@ -78,7 +84,6 @@ config SOC_EXYNOS5440 | |||
78 | select ARCH_HAS_OPP | 84 | select ARCH_HAS_OPP |
79 | select ARM_ARCH_TIMER | 85 | select ARM_ARCH_TIMER |
80 | select AUTO_ZRELADDR | 86 | select AUTO_ZRELADDR |
81 | select PINCTRL | ||
82 | select PINCTRL_EXYNOS5440 | 87 | select PINCTRL_EXYNOS5440 |
83 | select PM_OPP | 88 | select PM_OPP |
84 | help | 89 | help |
@@ -413,8 +418,6 @@ config MACH_EXYNOS4_DT | |||
413 | select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210 | 418 | select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210 |
414 | select CPU_EXYNOS4210 | 419 | select CPU_EXYNOS4210 |
415 | select KEYBOARD_SAMSUNG if INPUT_KEYBOARD | 420 | select KEYBOARD_SAMSUNG if INPUT_KEYBOARD |
416 | select PINCTRL | ||
417 | select PINCTRL_EXYNOS | ||
418 | select S5P_DEV_MFC | 421 | select S5P_DEV_MFC |
419 | select USE_OF | 422 | select USE_OF |
420 | help | 423 | help |
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 8f6692438149..a1c6dd32e14b 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig | |||
@@ -207,12 +207,13 @@ config PINCTRL_SAMSUNG | |||
207 | select PINCONF | 207 | select PINCONF |
208 | 208 | ||
209 | config PINCTRL_EXYNOS | 209 | config PINCTRL_EXYNOS |
210 | bool "Pinctrl driver data for Samsung EXYNOS SoCs" | 210 | bool "Pinctrl driver data for Samsung EXYNOS SoCs other than 5440" |
211 | depends on OF && GPIOLIB | 211 | depends on OF && GPIOLIB && ARCH_EXYNOS |
212 | select PINCTRL_SAMSUNG | 212 | select PINCTRL_SAMSUNG |
213 | 213 | ||
214 | config PINCTRL_EXYNOS5440 | 214 | config PINCTRL_EXYNOS5440 |
215 | bool "Samsung EXYNOS5440 SoC pinctrl driver" | 215 | bool "Samsung EXYNOS5440 SoC pinctrl driver" |
216 | depends on SOC_EXYNOS5440 | ||
216 | select PINMUX | 217 | select PINMUX |
217 | select PINCONF | 218 | select PINCONF |
218 | 219 | ||