This change adds PHY msm usb driver which handles PHY initialization,
clock management, and workarounds required after resetting the
hardware and power management.
This snapshot is taken from Kernel-5.4,
'commit a8682b6e9ab7f ("usb: phy: Add snapshot of
PHY msm usb driver")'
Add phy-msm-usb driver to kernel tree via Kconfig
and Makefile.
This change also replaces bus-voting APIs with the ICB APIs.
Adding New APIs
iccs_get()
iccs_put()
msm_otg_update_bus_bw().
Removed below APIs as new compiler treating these unused
functions as errors:
msm_otg_bus_clks_enable()
msm_otg_bus_clks_disable().
Removed dbg_event() support, to improvise it later.
Changed
struct icc_path *icc_paths[1] to struct icc_path *icc_paths.
Change-Id: I5bfbd1325faa37a3ed3f0f3a83850a1cf797fa09
Signed-off-by: Roja Rani Yarubandi <quic_ryaruban@quicinc.com>
Signed-off-by: Sandeep Maheswaram <quic_sandmahe@quicinc.com>