diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-18 02:20:48 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-24 18:36:54 -0400 |
commit | 72bd986030a30bdeb57ffa9efedcce73929edcb2 (patch) | |
tree | b9f99c8637cff331fbd592d8531caef68e71f112 /drivers/gpio/Kconfig | |
parent | 75edd5af601800cf1c8797ed1da14f4ddbda6d47 (diff) |
gpio: tps6586x: Add gpio support through platform driver
Converting the gpio driver of tps6586x to a platform
driver in place of registering the gpio through core
driver.
The motivation of the change is:
- This is inline with the mfd drivers implementation.
- This will move the related gpio support to gpio driver
folder where all gpio related drivers are available.
This will be easy the maintenance and enhancement is
anything done for gpio.
- The gpio functionality can be selected through config
variable.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.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 c4067d0141f..f141befe981 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -579,6 +579,13 @@ config GPIO_AB8500 | |||
579 | help | 579 | help |
580 | Select this to enable the AB8500 IC GPIO driver | 580 | Select this to enable the AB8500 IC GPIO driver |
581 | 581 | ||
582 | config GPIO_TPS6586X | ||
583 | bool "TPS6586X GPIO" | ||
584 | depends on MFD_TPS6586X | ||
585 | help | ||
586 | Select this option to enable GPIO driver for the TPS6586X | ||
587 | chip family. | ||
588 | |||
582 | config GPIO_TPS65910 | 589 | config GPIO_TPS65910 |
583 | bool "TPS65910 GPIO" | 590 | bool "TPS65910 GPIO" |
584 | depends on MFD_TPS65910 | 591 | depends on MFD_TPS65910 |