Re: [PATCH v4 14/16] phy: Add USB speed related PHY modes

2018-01-07 Thread Manu Gautam
Hi, On 1/5/2018 4:31 PM, Kishon Vijay Abraham I wrote: >> +enum phy_mode phy_get_mode(struct phy *phy) >> +{ >> +enum phy_mode ret; >> + >> +if (!phy || !phy->ops->get_mode) >> +return PHY_MODE_INVALID; >> + >> +mutex_lock(>mutex); >> +ret = phy->ops->get_mode(phy); >

Re: [PATCH v4 14/16] phy: Add USB speed related PHY modes

2018-01-05 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 January 2018 04:58 PM, Manu Gautam wrote: > Add following USB speed related PHY modes: > LS (Low Speed), FS (Full Speed), HS (High Speed), SS (Super Speed) > > Speed related information is required by some QCOM PHY drivers > to program PHY monitor resume/remote-wakeup events

[PATCH v4 14/16] phy: Add USB speed related PHY modes

2018-01-03 Thread Manu Gautam
Add following USB speed related PHY modes: LS (Low Speed), FS (Full Speed), HS (High Speed), SS (Super Speed) Speed related information is required by some QCOM PHY drivers to program PHY monitor resume/remote-wakeup events in suspended state. Speed is needed in order to set correct polarity of