Message ID | 20241219-correct_gpio_ranges-v2-3-19af8588dbd0@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Correct the number of GPIOs in gpio-ranges for QCS615 and QCS8300 | expand |
On 19.12.2024 8:59 AM, Lijuan Gao wrote: > 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") > Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
diff --git a/drivers/pinctrl/qcom/pinctrl-qcs615.c b/drivers/pinctrl/qcom/pinctrl-qcs615.c index 23015b055f6a..17ca743c2210 100644 --- a/drivers/pinctrl/qcom/pinctrl-qcs615.c +++ b/drivers/pinctrl/qcom/pinctrl-qcs615.c @@ -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,
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") Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> --- drivers/pinctrl/qcom/pinctrl-qcs615.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)