pinctrl: palmas: add pincontrol driver support
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 15 Mar 2013 13:41:06 +0000 (18:41 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Tue, 19 Mar 2013 23:06:48 +0000 (16:06 -0700)
commit7a6c5babe4bdd2399c503684fe00ce088fdc6c8c
treead313979332e3a45c29a59b5edf0a56a51692ec5
parent2c0367c36788f514dc0da51192c7f9d93ee4149c
pinctrl: palmas: add pincontrol driver support

Palmas series PMIC has the pins which can work on multiple mode.
Also the pull up/down, open drain can be configured on this pins.

Add pin control driver to configure the different pads.

bug 1242260

Change-Id: I8b9f51f9799783a2e8c4f2345d63a02627a8cff6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/209983
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Tested-by: Naveen Kumar S <nkumars@nvidia.com>
GVS: Gerrit_Virtual_Submit
arch/arm/mach-tegra/Kconfig
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-palmas.c [new file with mode: 0644]
include/linux/mfd/palmas.h