]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: qcom: correct the ngpios entry for QCS615
authorLijuan Gao <quic_lijuang@quicinc.com>
Tue, 6 May 2025 06:23:00 +0000 (14:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 13 May 2025 12:53:23 +0000 (14:53 +0200)
Correct the ngpios entry to account for the UFS_RESET pin being exported
as a GPIO in addition to the real GPIOs, allowing the UFS driver to toggle
it.

Fixes: b698f36a9d40 ("pinctrl: qcom: add the tlmm driver for QCS615 platform")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
Link: https://lore.kernel.org/20250506-correct_gpio_ranges-v3-3-49a7d292befa@quicinc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-qcs615.c

index 23015b055f6a925e8157363952f3ce659059d719..17ca743c2210fc2d8fc52b8f06912325ff82d63b 100644 (file)
@@ -1062,7 +1062,7 @@ static const struct msm_pinctrl_soc_data qcs615_tlmm = {
        .nfunctions = ARRAY_SIZE(qcs615_functions),
        .groups = qcs615_groups,
        .ngroups = ARRAY_SIZE(qcs615_groups),
-       .ngpios = 123,
+       .ngpios = 124,
        .tiles = qcs615_tiles,
        .ntiles = ARRAY_SIZE(qcs615_tiles),
        .wakeirq_map = qcs615_pdc_map,