[PATCH 0/5] pinctrl: mediatek: convert GPIO chips to using new value setters

Bartosz Golaszewski posted 5 patches 7 months, 3 weeks ago
drivers/pinctrl/mediatek/pinctrl-airoha.c     | 19 ++++++++----------
drivers/pinctrl/mediatek/pinctrl-moore.c      | 18 +++++++++--------
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 13 ++++++++----
drivers/pinctrl/mediatek/pinctrl-paris.c      | 29 +++++++--------------------
4 files changed, 34 insertions(+), 45 deletions(-)
[PATCH 0/5] pinctrl: mediatek: convert GPIO chips to using new value setters
Posted by Bartosz Golaszewski 7 months, 3 weeks ago
struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. We're in the process of
converting all GPIO drivers to using the new API. This series converts
all the mediatek pinctrl GPIO controllers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (5):
      pinctrl: mediatek: airoha: use new GPIO line value setter callbacks
      pinctrl: mediatek: paris: don't double-check the GPIO number
      pinctrl: mediatek: paris: use new GPIO line value setter callbacks
      pinctrl: mediatek: moore: use new GPIO line value setter callbacks
      pinctrl: mediatek: common: use new GPIO line value setter callbacks

 drivers/pinctrl/mediatek/pinctrl-airoha.c     | 19 ++++++++----------
 drivers/pinctrl/mediatek/pinctrl-moore.c      | 18 +++++++++--------
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 13 ++++++++----
 drivers/pinctrl/mediatek/pinctrl-paris.c      | 29 +++++++--------------------
 4 files changed, 34 insertions(+), 45 deletions(-)
---
base-commit: 393d0c54cae31317deaa9043320c5fd9454deabc
change-id: 20250425-gpiochip-set-rv-pinctrl-mediatek-1dd831a4d171

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH 0/5] pinctrl: mediatek: convert GPIO chips to using new value setters
Posted by Linus Walleij 7 months, 1 week ago
On Fri, Apr 25, 2025 at 11:01 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> struct gpio_chip now has callbacks for setting line values that return
> an integer, allowing to indicate failures. We're in the process of
> converting all GPIO drivers to using the new API. This series converts
> all the mediatek pinctrl GPIO controllers.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

All 5 patches applied!

Yours,
Linus Walleij