mfd: palmas: add USB VBUS LP0 wakeup option
authorLucas Dai <lucasd@nvidia.com>
Mon, 25 Mar 2013 23:31:25 +0000 (16:31 -0700)
committerMrutyunjay Sawant <msawant@nvidia.com>
Sat, 6 Apr 2013 15:44:52 +0000 (08:44 -0700)
commit2e8cbf79180a16babd31166f0db7d7a42d725a3f
tree3df06eba0fd150f952bb81cd08181d52e635ed34
parent14f0f26dac55a68a2ef80a51999128874f2c6bc8
mfd: palmas: add USB VBUS LP0 wakeup option

Currently we are using the Palmas to handle VBUS detection and wake up
AP using Palmas's IRQ line as wakeup source. We can also wakeup the AP
directly from USB VBUS line if enable the AP's VBUS input controlled by
ldousb regulator.

bug 1239645

Change-Id: I412c8a9f5488d9553049dc09ce74f8f927709290
Signed-off-by: Lucas Dai <lucasd@nvidia.com>
Reviewed-on: http://git-master/r/205897
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
drivers/mfd/palmas.c
include/linux/mfd/palmas.h