usb/penwell_otg: add charger detection flow for Clovertrail
authorWu, Hao <hao.wu@intel.com>
Fri, 3 Feb 2012 12:22:25 +0000 (20:22 +0800)
committerbuildbot <buildbot@intel.com>
Wed, 8 Feb 2012 09:02:37 +0000 (01:02 -0800)
commitaf8986ad36b2007a2dda92f5ff4453e30d5c7862
tree0677160405f374fbd97913db0aaab345aeab0d94
parent77634c6b7a91b18da63c480816c02f794eca09d4
usb/penwell_otg: add charger detection flow for Clovertrail

BZ: 14625

This patch adds charger detection flow for Clovertrail, which
is different than what we used for MFLD.

Change-Id: I7d0442967babf08aa31f42209f1c79b11ce8c6d7
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/33883
Reviewed-by: Wang, Feng A <feng.a.wang@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/usb/otg/penwell_otg.c
include/linux/usb/penwell_otg.h