usb: add usb OTG CLV support
authorBin Gao <bin.gao@intel.com>
Thu, 15 Dec 2011 18:31:04 +0000 (10:31 -0800)
committerbuildbot <buildbot@intel.com>
Tue, 20 Dec 2011 15:33:12 +0000 (07:33 -0800)
commitf9d5fde0a7c23068b65a312f0464515de928f9cc
tree288ae8fc984feec1562c05ee32347d6e3781dfd8
parent63ac625d1e3e1af92e8a4c4472405ba779a2b2b7
usb: add usb OTG CLV support

BZ: 17298

For Clovertrail, USB PHY is removed from MSIC and a standalone ULPI PHY
chip is used instead. Corresponding otg driver change is as following:
1. Get rid of any access to MSIC
2. Control VBUS by PHY
3. Enable wake up detection by ULPI registers rather than MSIC registers
4. Control the PHY chip by two GPIO pins (reset, power on/off, etc.)
5. Disable ACA detection for clovertrail in driver, will do it later.
6. Disable usb charger detection. A new charger detection implementation
   is needed per the change of PMIC. Will do it later.

Change-Id: Ie44d82544e1aebf398010d595da2ad4e3d8ade75
Signed-off-by: Bin Gao <bin.gao@intel.com@intel.com>
Signed-off-by: Prabu Renganathan <prabu.renganathan@intel.com>
Reviewed-on: http://android.intel.com:8080/27225
Reviewed-by: Zhuang, Jin Can <jin.can.zhuang@intel.com>
Reviewed-by: Gao, Bin <bin.gao@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@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>
arch/x86/include/asm/mrst.h
arch/x86/platform/mrst/mrst.c
drivers/usb/gadget/langwell_udc.c
drivers/usb/otg/penwell_otg.c
include/linux/usb/penwell_otg.h