[PATCH 0/2] pinctrl: cirrus: use new GPIO line value setter callbacks

Bartosz Golaszewski posted 2 patches 4 months ago
drivers/pinctrl/cirrus/pinctrl-cs42l43.c   | 21 +++++++++++++--------
drivers/pinctrl/cirrus/pinctrl-lochnagar.c | 25 +++++++++++++------------
2 files changed, 26 insertions(+), 20 deletions(-)
[PATCH 0/2] pinctrl: cirrus: use new GPIO line value setter callbacks
Posted by Bartosz Golaszewski 4 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. This series
converts all GPIO chips in cirrus pin control drivers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      pinctrl: cirrus: lochnagar: use new GPIO line value setter callbacks
      pinctrl: cirrus: cs42l43: use new GPIO line value setter callbacks

 drivers/pinctrl/cirrus/pinctrl-cs42l43.c   | 21 +++++++++++++--------
 drivers/pinctrl/cirrus/pinctrl-lochnagar.c | 25 +++++++++++++------------
 2 files changed, 26 insertions(+), 20 deletions(-)
---
base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494
change-id: 20250612-gpiochip-set-rv-pinctrl-cirrus-2335675707ce

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH 0/2] pinctrl: cirrus: use new GPIO line value setter callbacks
Posted by Linus Walleij 3 months, 3 weeks ago
On Thu, Jun 12, 2025 at 2:19 PM 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. This series
> converts all GPIO chips in cirrus pin control drivers.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Patches applied!

Yours,
Linus Walleij