diff options
author | Aguilar Pena, Leed <leed.aguilar@ti.com> | 2009-11-20 11:32:53 -0600 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-12-02 08:58:03 +1100 |
commit | a75f61bbfbeb010bd614de83ec506995b78fadd6 (patch) | |
tree | e411ed70c807fbee3d2e4339f0133737fe9f2adb /drivers/staging/rt2860/rtmp_ckipmic.h | |
parent | 2d992348e6249fa2dbaf0a614ce87d56cf2019a0 (diff) |
USB: twl4030: Enable USB regulators before enabling USB charging
For TWL family of power management ICs, USB charging works only
when USB regulators are in enabled state: 3v1, 1v5, 1v8
On a USB cable attach, twl4030_phy_resume(twl) function enables
the regulators. Enable USB charging, only after all regulators
are enabled.
Its observed that enabling USB charging before regulators are
enabled, causes USB charging to fail.
Tested on: Zoom2: omap3430: ES3.1 + TWL5030
Needs T2-MADC and T2-BCI drivers which are still not upstreamed.
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Leed Aguilar <leed.aguilar@ti.com>
Acked-by: Vikram Pandita <vikram.pandita@ti.com>
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2860/rtmp_ckipmic.h')
0 files changed, 0 insertions, 0 deletions