hsic: Put data/strobe into reset when peripheral disconnects
External modem is connected to Apps processor over HSIC interface. This interface is used in boot loader for image download and in HLOS for Rmnet, DUN, DIAG etc. After image download, during ext modem HLOS boot-up, resets the HSIC controller and goes into discovery phase. On Apps processor, HSIC can put strobe/data into IDLE state because of bus suspend. At this point, if external modem resets the HSIC h/w and goes into discovery and connect phase as HSIC bus is in IDLE. As Apps processor is not in discovery state, may miss the connect event which can lead to enumeration failure. To avoid such issues, put HSIC lines into reset on external modem status change event. Change-Id: I9df163da2d8dbfb2a12b75c4485379886fa47174 Signed-off-by:Vamsi Krishna <vskrishn@codeaurora.org> Signed-off-by:
Ramakrishna Prasad N <crpn@codeaurora.org>
Loading
Please sign in to comment