[PATCH v2 0/5] pinctrl: nuvoton: A few cleanups and a fix

Andy Shevchenko posted 5 patches 9 months ago
drivers/pinctrl/nuvoton/pinctrl-ma35.c    | 120 ++++++++++------------
drivers/pinctrl/nuvoton/pinctrl-ma35d1.c  |   1 -
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c |  44 ++------
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c |  35 ++-----
drivers/pinctrl/nuvoton/pinctrl-wpcm450.c |  11 +-
5 files changed, 77 insertions(+), 134 deletions(-)
[PATCH v2 0/5] pinctrl: nuvoton: A few cleanups and a fix
Posted by Andy Shevchenko 9 months ago
Convert Nuvoton drivers to use pin control provided data types
and more of device property APIs.

While doing that, fix one non-critical issue that sparse complains about.

Compile tested only.

In v2:
- fixed compilation errors and warnings (LKP)
- collected tags (Jonathan)

Andy Shevchenko (5):
  pinctrl: npcm8xx: Fix incorrect struct npcm8xx_pincfg assignment
  pinctrl: nuvoton: Convert to use struct pingroup and
    PINCTRL_PINGROUP()
  pinctrl: nuvoton: Make use of struct pinfunction and
    PINCTRL_PINFUNCTION()
  pinctrl: nuvoton: Convert to use struct group_desc
  pinctrl: nuvoton: Reduce use of OF-specific APIs

 drivers/pinctrl/nuvoton/pinctrl-ma35.c    | 120 ++++++++++------------
 drivers/pinctrl/nuvoton/pinctrl-ma35d1.c  |   1 -
 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c |  44 ++------
 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c |  35 ++-----
 drivers/pinctrl/nuvoton/pinctrl-wpcm450.c |  11 +-
 5 files changed, 77 insertions(+), 134 deletions(-)

-- 
2.47.2
Re: [PATCH v2 0/5] pinctrl: nuvoton: A few cleanups and a fix
Posted by Linus Walleij 9 months ago
On Tue, Mar 18, 2025 at 11:59 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> Convert Nuvoton drivers to use pin control provided data types
> and more of device property APIs.
>
> While doing that, fix one non-critical issue that sparse complains about.
>
> Compile tested only.

Patches LGTM and we are close to the merge window so I have
just applied them.

If there are any issues we can surely fix it up in -next.

Thanks Andy!

Yours,
Linus Walleij
Re: [PATCH v2 0/5] pinctrl: nuvoton: A few cleanups and a fix
Posted by Andy Shevchenko 9 months ago
On Thu, Mar 20, 2025 at 10:15 AM Linus Walleij <linus.walleij@linaro.org> wrote:
> On Tue, Mar 18, 2025 at 11:59 AM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:

> > Convert Nuvoton drivers to use pin control provided data types
> > and more of device property APIs.
> >
> > While doing that, fix one non-critical issue that sparse complains about.
> >
> > Compile tested only.
>
> Patches LGTM and we are close to the merge window so I have
> just applied them.
>
> If there are any issues we can surely fix it up in -next.
>
> Thanks Andy!

Thank you!


-- 
With Best Regards,
Andy Shevchenko