diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2013-02-24 21:04:03 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:01:49 -0700 |
commit | 1fa85ce950c12c616f3baf1e0f2c930c2fd8fb81 (patch) | |
tree | d64c761395596e47915be23a04e07fc5a9e47504 /drivers/mfd/palmas.c | |
parent | 4f16864173505e8e59f1048d36734bb3b1a67d1c (diff) |
mfd: palmas: add palmas-extcon as mfd sub driver.
palma-extcon is sub palma driver used for detection of VBUS and ID
pin state. Add this driver as sub mfd device.
bug 1238096
Change-Id: I4f789d6d2193620f08f9e36576512aa6f3d9dc38
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/203656
(cherry picked from commit 61f3e5e8b699c8bdbe0962504d7d71963f682815)
Reviewed-on: http://git-master/r/204691
(cherry picked from commit 34e3ec60be0d416c16ffce68b106b29a8d90e305)
Reviewed-on: http://git-master/r/206548
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'drivers/mfd/palmas.c')
-rw-r--r-- | drivers/mfd/palmas.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c index 81fb56d3d3ef..c9b30218716c 100644 --- a/drivers/mfd/palmas.c +++ b/drivers/mfd/palmas.c @@ -41,6 +41,7 @@ enum palmas_ids { PALMAS_CLK_ID, PALMAS_PWM_ID, PALMAS_USB_ID, + PALMAS_EXTCON_ID, }; static struct resource palmas_rtc_resources[] = { @@ -97,6 +98,10 @@ static const struct mfd_cell palmas_children[] = { { .name = "palmas-usb", .id = PALMAS_USB_ID, + }, + { + .name = "palmas-extcon", + .id = PALMAS_EXTCON_ID, } }; |