mbox series

[v2,0/5] phy: qcom-qmp: Fixes and updates for sm8150

Message ID 20191220101719.3024693-1-vkoul@kernel.org
Headers show
Series phy: qcom-qmp: Fixes and updates for sm8150 | expand

Message

Vinod Koul Dec. 20, 2019, 10:17 a.m. UTC
On 5.5-rc1 we have seen regression on UFS phy on 8998 and SM8150. As
suggested by Can, increasing the timeout helps so we increase the phy init
timeout and that fixes the issue for 8998.  The patch 1 should be applied
to fixes for 5.5

For SM8150 we need additional SW reset so add additional SW reset and
configure if flag is defined, while at it do small updates to Use register
defines and remove duplicate powerdown write.

Changes in v2:
 - Drop patch 1 and pick the one Bjorn had already sent, makes timeout 10ms
 - Fix optional reset write as pointed by Can
 - Fix register define as pointed by Can

Bjorn Andersson (1):

  phy: qcom-qmp: Increase PHY ready timeout

Vinod Koul (4):
  phy: qcom-qmp: Use register defines
  phy: qcom-qmp: Add optional SW reset
  phy: qcom-qmp: remove duplicate powerdown write
  phy: qcom-qmp: remove no_pcs_sw_reset for sm8150

 drivers/phy/qualcomm/phy-qcom-qmp.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

-- 
2.23.0

Comments

Kishon Vijay Abraham I Dec. 20, 2019, 11:29 a.m. UTC | #1
On 20/12/19 3:47 pm, Vinod Koul wrote:
> On 5.5-rc1 we have seen regression on UFS phy on 8998 and SM8150. As

> suggested by Can, increasing the timeout helps so we increase the phy init

> timeout and that fixes the issue for 8998.  The patch 1 should be applied

> to fixes for 5.5


patch 1 is applied to fixes, Thanks!

-Kishon
> 

> For SM8150 we need additional SW reset so add additional SW reset and

> configure if flag is defined, while at it do small updates to Use register

> defines and remove duplicate powerdown write.

> 

> Changes in v2:

>  - Drop patch 1 and pick the one Bjorn had already sent, makes timeout 10ms

>  - Fix optional reset write as pointed by Can

>  - Fix register define as pointed by Can

> 

> Bjorn Andersson (1):

> 

>   phy: qcom-qmp: Increase PHY ready timeout

> 

> Vinod Koul (4):

>   phy: qcom-qmp: Use register defines

>   phy: qcom-qmp: Add optional SW reset

>   phy: qcom-qmp: remove duplicate powerdown write

>   phy: qcom-qmp: remove no_pcs_sw_reset for sm8150

> 

>  drivers/phy/qualcomm/phy-qcom-qmp.c | 19 ++++++++++++++-----

>  1 file changed, 14 insertions(+), 5 deletions(-)

>