[PATCH v14 00/18] pinctrl: add support of Airoha SoCs
Geert Uytterhoeven
geert at linux-m68k.org
Thu Jul 2 09:59:16 CEST 2026
Hi Mikhail,
On Thu, 2 Jul 2026 at 07:57, Mikhail Kshevetskiy
<mikhail.kshevetskiy at iopsys.eu> wrote:
> This patch series add pin controller and gpio driver support for EN7523/
> AN7581/AN7583 SoCs. The driver based on official linux airoha pinctrl and
> gpio driver with Matheus Sampaio Queiroga changes.
>
> The original Matheus Sampaio Queiroga driver can be taken from the repo:
> https://sirherobrine23.com.br/airoha_en7523/kernel/src/branch/airoha_en7523_pinctrl
>
> Additionally in the EN7523 case the patches removes existing gpio dts nodes
> and replaces them with pinctrl node. It should not be very dangerous, because:
> * No official EN7523 gpio support present in U-Boot
> * Legacy Linux EN7523 GPIO driver is mostly abandoned
> * The same driver is planned for upstream linux/openwrt
>
> This patchset includes bitfield.h patches created for Linux kernel
> by Geert Uytterhoeven. It suits U-Boot fine. I preserve original author
> and original commit messages. It might be not a best strategy, because
> these patches refers to other linux kernel commits not added to U-Boot.
> Please note me, if there is a better way.
>
> The patches were tested on EN7523/AN7581/AN7583 boards.
> Changes v14:
Thanks for the update!
> * Convert drivers to common field_{get,prep}() helpers. This should fix
> build failures of many renesas boards.
Doing this after the introduction of the common macros breaks bisection.
To avoid, that you can either convert them during the addition, or
make it a two step-operation, like was done in Linux in e.g.
commits dbfe51513aae6bac ("clk: at91: pmc: #undef field_{get,prep}()
before definition") and 0f8407a1f1c795c4 ("clk: at91: Convert to common
field_{get,prep}() helpers").
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the U-Boot
mailing list