Message ID | 20250410-gpiochip-set-rv-pinctrl-qcom-v1-0-6a6891338aae@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | pinctrl: qcom: use new GPIO line value setter callbacks | expand |
On Thu, Apr 10, 2025 at 11:34:42AM +0200, Bartosz Golaszewski wrote: > Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return > values") added new line setter callbacks to struct gpio_chip. They allow > to indicate failures to callers. We're in the process of converting all > GPIO controllers to using them before removing the old ones. Convert all > Qualcomm pinctrl drivers. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > --- > Bartosz Golaszewski (6): > pinctrl: qcom: lpass-lpi: use new GPIO line value setter callbacks > pinctrl: qcom: msm: use new GPIO line value setter callbacks > pinctrl: qcom: spmi-gpio: use new GPIO line value setter callbacks > pinctrl: qcom: spmi-mpp: use new GPIO line value setter callbacks > pinctrl: qcom: ssbi-gpio: use new GPIO line value setter callbacks > pinctrl: qcom: ssbi-mpp: use new GPIO line value setter callbacks For the series: Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
On Thu, Apr 10, 2025 at 11:35 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote: > Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return > values") added new line setter callbacks to struct gpio_chip. They allow > to indicate failures to callers. We're in the process of converting all > GPIO controllers to using them before removing the old ones. Convert all > Qualcomm pinctrl drivers. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Patches applied! Yours, Linus Walleij
Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return values") added new line setter callbacks to struct gpio_chip. They allow to indicate failures to callers. We're in the process of converting all GPIO controllers to using them before removing the old ones. Convert all Qualcomm pinctrl drivers. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- Bartosz Golaszewski (6): pinctrl: qcom: lpass-lpi: use new GPIO line value setter callbacks pinctrl: qcom: msm: use new GPIO line value setter callbacks pinctrl: qcom: spmi-gpio: use new GPIO line value setter callbacks pinctrl: qcom: spmi-mpp: use new GPIO line value setter callbacks pinctrl: qcom: ssbi-gpio: use new GPIO line value setter callbacks pinctrl: qcom: ssbi-mpp: use new GPIO line value setter callbacks drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 6 +++--- drivers/pinctrl/qcom/pinctrl-msm.c | 6 ++++-- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 6 +++--- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 6 +++--- drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 7 ++++--- drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 7 ++++--- 6 files changed, 21 insertions(+), 17 deletions(-) --- base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8 change-id: 20250410-gpiochip-set-rv-pinctrl-qcom-eca1d6f6363c Best regards,