[PATCH 0/6] pinctrl: qcom: use new GPIO line value setter callbacks

Bartosz Golaszewski posted 6 patches 10 months ago
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(-)
[PATCH 0/6] pinctrl: qcom: use new GPIO line value setter callbacks
Posted by Bartosz Golaszewski 10 months ago
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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH 0/6] pinctrl: qcom: use new GPIO line value setter callbacks
Posted by Linus Walleij 9 months, 4 weeks ago
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
Re: [PATCH 0/6] pinctrl: qcom: use new GPIO line value setter callbacks
Posted by Dmitry Baryshkov 10 months ago
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>


-- 
With best wishes
Dmitry