extcon: palmas: make vbus/ID cable detection to platform choice
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 25 Mar 2013 16:12:42 +0000 (21:12 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:06:59 +0000 (13:06 -0700)
commit78088047854bbb8513094da697bfe0c597707c06
tree2af4db68fb44bbf76b53ad0b44728309b7b774aa
parent826613cf7f76c19319596e939fd6d0064e8fff77
extcon: palmas: make vbus/ID cable detection to platform choice

Enable vbus/id pin detection only if it is enabled through
platform data. Also provide the connection name through platform
data.

bug 1242273
Bug 1249130
Bug 1249783

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/212609
(Cherry picked from commit de31f6b38ea1a96fb99c8f72db7029f23d693fb2)

Change-Id: I06dbedb0462e77ef05a42b164b9d457254ed47e7
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/214920
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
arch/arm/mach-tegra/board-macallan-power.c
drivers/extcon/extcon-palmas.c
include/linux/mfd/palmas.h