diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-08-06 09:12:35 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-14 15:00:42 -0400 |
commit | 0a8d3e2412841c6b1dab1006fd5f7ab5b689db21 (patch) | |
tree | 85073dffb6f90054e59446578315ec3a67ffc5e8 /drivers/pinctrl/Kconfig | |
parent | e81c8f18afc4fdd6e34d8c83814b8b5134dbb30f (diff) |
pinctrl: palmas: add pincontrol driver
TI Palmas series Power Management IC have multiple pins which can be
configured for different functionality. This pins can be configured
for different function. Also their properties like pull up/down,
open drain enable/disable are configurable.
Add support for pincontrol driver Palmas series device like TPS65913,
TPS80036. The driver supports to be register from DT only.
Changes from V1:
- Add generic property for pins and functions in pinconf-generic.
- Add APIs to map the DT and subnode.
- Move common utils APIs to the pinctrl-utils from this file.
- Update the binding document accordingly.
Changes from V2:
- Add ack by Lee.
- Correct the binding docs.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index bc830af1b23d..8542cd4a176a 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig | |||
@@ -261,6 +261,16 @@ config PINCTRL_EXYNOS5440 | |||
261 | select PINMUX | 261 | select PINMUX |
262 | select PINCONF | 262 | select PINCONF |
263 | 263 | ||
264 | config PINCTRL_PALMAS | ||
265 | bool "Pinctrl driver for the PALMA Series MFD devices" | ||
266 | depends on OF && MFD_PALMAS | ||
267 | select GENERIC_PINCONF | ||
268 | help | ||
269 | Palmas device supports the configuration of pins for different | ||
270 | functionality. This driver supports the pinmux, push-pull and | ||
271 | open drain configuration for the Palmas series devices like | ||
272 | TPS65913, TPS80036 etc. | ||
273 | |||
264 | config PINCTRL_S3C24XX | 274 | config PINCTRL_S3C24XX |
265 | bool "Samsung S3C24XX SoC pinctrl driver" | 275 | bool "Samsung S3C24XX SoC pinctrl driver" |
266 | depends on ARCH_S3C24XX | 276 | depends on ARCH_S3C24XX |