diff options
author | Ravikant Singh <ravikant.singh@stericsson.com> | 2012-01-18 16:42:01 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:03:16 +0200 |
commit | fe1dfffb67f528bccf0fb5eda7638e08d068f6eb (patch) | |
tree | a6c49edcec756cad633ec62e4e2ff823fe22b200 /crypto/lzo.c | |
parent | 7182586f3896bef6679c90e1bcf8a0903c09b06a (diff) |
u5500: usb: AB5500 USB correct initialisation
U5500 USB intialisation sequence updated as
per the AB HW requirement
It is taken care for :
1. Usb device cable plugin - plugout usecase
(with cable plugin before and after target boot)
2. Usb host cable plugin - plugout usecase (with
cable plugin before and after target boot)
3. Usb dedicated charger plugin - plugout usecase
(with charger plugin before and after target boot)
For AB5500 usb phy is to be enabled by setting
the USB Chip Select (CS) gpio pin as 1 and usb phy
is to be disabled by setting the USB Chip Select (CS)
gpio pin as 0.
For cable/charger plugin after target boot
==========================================
Sequence for
1.Usb device cable plugin - plugout usecase
- on cable plugin, linkstatus interrupt = 1
- enable usb phy
- on cable plugout, link status interrupt = 16
- disable usb phy
- linkstatus interrupt = 0
Sequence for
2. Usb host cable plugin - plugout usecase (with
- on cable plugin, linkstatus interrupt = 18
- enable usb phy
- link status interrupt = 13 -> host mode enable done
- on cable plugout, link status interrupt= 17
- disable usb phy
- linkstatus interrupt = 0
Sequence for
3. Usb dedicated charger plugin - plugout usecase
- on charger plugin, linkstatus interrupt = 7
- on charger plugout, link status interrupt= 0
For cable/charger plugin before target boot
==========================================
Sequence for
1.Usb device cable plugin - plugout usecase
- on target boot,in boot detect function
read linkstatus = 1
- enable usb phy
- on cable plugout, link status interrupt = 16
- disable usb phy
- linkstatus interrupt = 0
Sequence for
2. Usb host cable plugin - plugout usecase (with
- on target boot,in boot detect function read
linkstatus = 18
- enable usb phy
- link status interrupt = 13 -> host mode enable done
- on cable plugout, link status interrupt= 17
- disable usb phy
- linkstatus interrupt = 0
Sequence for
3. Usb dedicated charger plugin - plugout usecase
- on target boot,in boot detect function read
linkstatus = 7
- on charger plugout, link status interrupt= 0
ST-Ericsson ID: 410872
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4e50ca6041ea645aa878f72d55694143449490a1
Signed-off-by: Ravikant Singh <ravikant.singh@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45674
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Supriya s KARANTH <supriya.karanth@stericsson.com>
Tested-by: Supriya s KARANTH <supriya.karanth@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions