pinctrl: qcom: sc8280xp: Rectify UFS reset pins
authorAnjana Hari <quic_ahari@quicinc.com>
Thu, 3 Nov 2022 18:10:51 +0000 (11:10 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2022 14:03:24 +0000 (15:03 +0100)
UFS reset pin offsets are wrongly configured for SC8280XP,
correcting the same for both UFS instances here.

Signed-off-by: Anjana Hari <quic_ahari@quicinc.com>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Tested-by: Andrew Halaney <ahalaney@redhat.com> # QDrive3
Link: https://lore.kernel.org/r/20221103181051.26912-1-quic_bjorande@quicinc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-sc8280xp.c

index aa2075390f3eba97da6bd7800b84b3b54328150d..e96c00686a25bc1f68a179f7d9db3c9c647afc85 100644 (file)
@@ -1873,8 +1873,8 @@ static const struct msm_pingroup sc8280xp_groups[] = {
        [225] = PINGROUP(225, hs3_mi2s, phase_flag, _, _, _, _, egpio),
        [226] = PINGROUP(226, hs3_mi2s, phase_flag, _, _, _, _, egpio),
        [227] = PINGROUP(227, hs3_mi2s, phase_flag, _, _, _, _, egpio),
-       [228] = UFS_RESET(ufs_reset, 0xf1004),
-       [229] = UFS_RESET(ufs1_reset, 0xf3004),
+       [228] = UFS_RESET(ufs_reset, 0xf1000),
+       [229] = UFS_RESET(ufs1_reset, 0xf3000),
        [230] = SDC_QDSD_PINGROUP(sdc2_clk, 0xe8000, 14, 6),
        [231] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xe8000, 11, 3),
        [232] = SDC_QDSD_PINGROUP(sdc2_data, 0xe8000, 9, 0),