diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-06-18 12:22:20 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 12:24:27 -0400 |
commit | 880cf0717f70678b2ecd6bb762e469c64c3b0d83 (patch) | |
tree | dcd85c5a21b19676f5f40d78a8875c196c7b95d2 /drivers/gpio/Kconfig | |
parent | 8eaa9e42dab29507df70f58025f5e8b7dee17e19 (diff) |
ARM: SAMSUNG: Introduce GPIO_SAMSUNG Kconfig entry
This patch adds Kconfig entry that selects whether legacy Samsung GPIO
driver should be built or not. For platforms that support only DT based
boot, the new pinctrl driver is used and so the old one is not needed.
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
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 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 573c449c49b9..9c993ed491f1 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -209,6 +209,13 @@ config GPIO_RCAR | |||
209 | help | 209 | help |
210 | Say yes here to support GPIO on Renesas R-Car SoCs. | 210 | Say yes here to support GPIO on Renesas R-Car SoCs. |
211 | 211 | ||
212 | config GPIO_SAMSUNG | ||
213 | bool | ||
214 | depends on PLAT_SAMSUNG | ||
215 | help | ||
216 | Legacy GPIO support. Use only for platforms without support for | ||
217 | pinctrl. | ||
218 | |||
212 | config GPIO_SPEAR_SPICS | 219 | config GPIO_SPEAR_SPICS |
213 | bool "ST SPEAr13xx SPI Chip Select as GPIO support" | 220 | bool "ST SPEAr13xx SPI Chip Select as GPIO support" |
214 | depends on PLAT_SPEAR | 221 | depends on PLAT_SPEAR |