pinctrl: qcom: x1e80100: Fix special pin offsets

BugLink: https://bugs.launchpad.net/bugs/2084225

[ Upstream commit d3692d95cc4d88114b070ee63cffc976f00f207f ]

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: 05e4941d97 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
Konrad Dybcio
2024-08-09 02:22:04 +02:00
committed by Mehmet Basaran
parent 78a5b6a64d
commit 6fa668fc8b
+4 -4
View 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[] = {