USB: ehci-msm-hsic: Apply PHY lockup workarounds only for affected cores
Some old version HSIC PHY has hardware BUG where due to a race condition
between h/w initiating SOF (start of frames) and finishing port reset
can cause PHY lockup. This may result in enumeration failure. Similar
race conditions exist for resume and suspend scenarios as well.
Currently driver is enabling software workarounds for the same on all
hardware revisions. As these BUGs are fixed on latest HSIC PHYs, make
the workaround selection configurable using DT or board files and enable
these only for the affected targets.
CRs-fixed: 471128
Change-Id: I37e88bdff1f664f8782d1bc5125a4fee1b3ea78d
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
9 files changed