diff mbox series

phy: qcom: qmp-ufs: add missing offsets to sm8150 configuration

Message ID 20230731111009.3998089-1-dmitry.baryshkov@linaro.org
State Accepted
Commit b102ce6d847a715732174cfe7119a350f69f3511
Headers show
Series phy: qcom: qmp-ufs: add missing offsets to sm8150 configuration | expand

Commit Message

Dmitry Baryshkov July 31, 2023, 11:10 a.m. UTC
The conversion commit 7559e7572c03 ("phy: Explicitly include correct DT
includes") misses offsets configuration for sm8150 (most likely it was
developed separately from the series adding HS G4 support and was not
adapted for the sm8150/sm8250 configuration split).

Add missing offsets to sm8150_ufsphy_cfg.

Fixes: 7559e7572c03 ("phy: Explicitly include correct DT includes")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Konrad Dybcio July 31, 2023, 11:15 a.m. UTC | #1
On 31.07.2023 13:10, Dmitry Baryshkov wrote:
> The conversion commit 7559e7572c03 ("phy: Explicitly include correct DT
> includes") misses offsets configuration for sm8150 (most likely it was
> developed separately from the series adding HS G4 support and was not
> adapted for the sm8150/sm8250 configuration split).
> 
> Add missing offsets to sm8150_ufsphy_cfg.
> 
> Fixes: 7559e7572c03 ("phy: Explicitly include correct DT includes")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
Vinod Koul Aug. 11, 2023, 8:30 a.m. UTC | #2
On Mon, 31 Jul 2023 14:10:09 +0300, Dmitry Baryshkov wrote:
> The conversion commit 7559e7572c03 ("phy: Explicitly include correct DT
> includes") misses offsets configuration for sm8150 (most likely it was
> developed separately from the series adding HS G4 support and was not
> adapted for the sm8150/sm8250 configuration split).
> 
> Add missing offsets to sm8150_ufsphy_cfg.
> 
> [...]

Applied, thanks!

[1/1] phy: qcom: qmp-ufs: add missing offsets to sm8150 configuration
      commit: b102ce6d847a715732174cfe7119a350f69f3511

Best regards,
diff mbox series

Patch

diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
index 03cd47faf3fd..3927eba8e468 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
@@ -1009,6 +1009,8 @@  static const struct qmp_phy_cfg sm7150_ufsphy_cfg = {
 static const struct qmp_phy_cfg sm8150_ufsphy_cfg = {
 	.lanes			= 2,
 
+	.offsets		= &qmp_ufs_offsets,
+
 	.tbls = {
 		.serdes		= sm8150_ufsphy_serdes,
 		.serdes_num	= ARRAY_SIZE(sm8150_ufsphy_serdes),