Re: [PATCH v1 6/8] phy: qcom-qmp: Utilize UFS reset controller

2019-01-22 Thread Evan Green
On Fri, Jan 18, 2019 at 2:33 PM Stephen Boyd wrote: > > Quoting Evan Green (2019-01-11 15:01:27) > > @@ -1214,6 +1225,32 @@ static int qcom_qmp_phy_init(struct phy *phy) > > > > dev_vdbg(qmp->dev, "Initializing QMP phy\n"); > > > > + if (cfg->has_ufsphy_reset) { > > + /

Re: [PATCH v1 6/8] phy: qcom-qmp: Utilize UFS reset controller

2019-01-18 Thread Stephen Boyd
Quoting Evan Green (2019-01-11 15:01:27) > @@ -1214,6 +1225,32 @@ static int qcom_qmp_phy_init(struct phy *phy) > > dev_vdbg(qmp->dev, "Initializing QMP phy\n"); > > + if (cfg->has_ufsphy_reset) { > + /* > +* Get UFS reset, which is delayed until now

[PATCH v1 6/8] phy: qcom-qmp: Utilize UFS reset controller

2019-01-11 Thread Evan Green
Request the newly minted reset controller from the Qualcomm UFS controller, and use it to toggle the PHY reset line from within the PHY. This will allow us to merge the two phases of UFS PHY initialization. Signed-off-by: Evan Green --- Note: this change is dependent on the previous changes, inc