Skip to content

Commit 62209e8

Browse files
anderssonlinusw
authored andcommitted
pinctrl: qcom: sm8350: Correct UFS and SDC offsets
The downstream TLMM binding covers a group of TLMM-related hardware blocks, but the upstream binding only captures the particular block related to controlling the TLMM pins from an OS. In the translation of the driver from downstream, the offset of 0x100000 was lost for the UFS and SDC pingroups. Fixes: d5d348a ("pinctrl: qcom: Add SM8350 pinctrl driver") Signed-off-by: Bjorn Andersson <[email protected]> Reviewed-by: Vinod Koul <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 293083f commit 62209e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/pinctrl/qcom/pinctrl-sm8350.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,10 +1597,10 @@ static const struct msm_pingroup sm8350_groups[] = {
15971597
[200] = PINGROUP(200, qdss_gpio, _, _, _, _, _, _, _, _),
15981598
[201] = PINGROUP(201, _, _, _, _, _, _, _, _, _),
15991599
[202] = PINGROUP(202, _, _, _, _, _, _, _, _, _),
1600-
[203] = UFS_RESET(ufs_reset, 0x1d8000),
1601-
[204] = SDC_PINGROUP(sdc2_clk, 0x1cf000, 14, 6),
1602-
[205] = SDC_PINGROUP(sdc2_cmd, 0x1cf000, 11, 3),
1603-
[206] = SDC_PINGROUP(sdc2_data, 0x1cf000, 9, 0),
1600+
[203] = UFS_RESET(ufs_reset, 0xd8000),
1601+
[204] = SDC_PINGROUP(sdc2_clk, 0xcf000, 14, 6),
1602+
[205] = SDC_PINGROUP(sdc2_cmd, 0xcf000, 11, 3),
1603+
[206] = SDC_PINGROUP(sdc2_data, 0xcf000, 9, 0),
16041604
};
16051605

16061606
static const struct msm_gpio_wakeirq_map sm8350_pdc_map[] = {

0 commit comments

Comments
 (0)