]> www.infradead.org Git - users/hch/xfs.git/commitdiff
pinctrl: qcom: x1e80100: Fix special pin offsets
authorKonrad Dybcio <quic_kdybcio@quicinc.com>
Fri, 9 Aug 2024 00:22:04 +0000 (02:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2024 16:13:45 +0000 (18:13 +0200)
Remove the erroneus 0x100000 offset to prevent the boards from crashing
on pin state setting, as well as for the intended state changes to take
effect.

Fixes: 05e4941d97ef ("pinctrl: qcom: Add X1E80100 pinctrl driver")
Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/20240809-topic-h_sdc-v1-1-bb421532c531@quicinc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-x1e80100.c

index 6cd4d10e6fd6fa443b216dab042fd0ce63829904..65ed933f05ce1790f8a55a40ed57a68fc76f78cb 100644 (file)
@@ -1805,10 +1805,10 @@ static const struct msm_pingroup x1e80100_groups[] = {
        [235] = PINGROUP(235, aon_cci, qdss_gpio, _, _, _, _, _, _, _),
        [236] = PINGROUP(236, aon_cci, qdss_gpio, _, _, _, _, _, _, _),
        [237] = PINGROUP(237, _, _, _, _, _, _, _, _, _),
-       [238] = UFS_RESET(ufs_reset, 0x1f9000),
-       [239] = SDC_QDSD_PINGROUP(sdc2_clk, 0x1f2000, 14, 6),
-       [240] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x1f2000, 11, 3),
-       [241] = SDC_QDSD_PINGROUP(sdc2_data, 0x1f2000, 9, 0),
+       [238] = UFS_RESET(ufs_reset, 0xf9000),
+       [239] = SDC_QDSD_PINGROUP(sdc2_clk, 0xf2000, 14, 6),
+       [240] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xf2000, 11, 3),
+       [241] = SDC_QDSD_PINGROUP(sdc2_data, 0xf2000, 9, 0),
 };
 
 static const struct msm_gpio_wakeirq_map x1e80100_pdc_map[] = {