From: Tom Rini <trini@konsulko.com>
To: Benjamin Larsson <benjamin.larsson@genexis.eu>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Mikhail Kshevetskiy" <mikhail.kshevetskiy@iopsys.eu>,
"Christian Marangi" <ansuelsmth@gmail.com>,
"Simon Glass" <sjg@chromium.org>,
"Marek Vasut" <marek.vasut+renesas@mailbox.org>,
"Peng Fan" <peng.fan@nxp.com>,
"Anis Chali" <chalianis1@gmail.com>,
"Michael Trimarchi" <michael@amarulasolutions.com>,
"Leo Yu-Chi Liang" <ycliang@andestech.com>,
"Yao Zi" <me@ziyao.cc>, "Sean Anderson" <sean.anderson@linux.dev>,
"Michal Simek" <michal.simek@amd.com>,
"Yury Norov (NVIDIA)" <yury.norov@gmail.com>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Jonathan Cameron" <Jonathan.Cameron@huawei.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Heiko Schocher" <hs@nabladev.com>,
u-boot@lists.denx.de, "Lorenzo Bianconi" <lorenzo@kernel.org>,
"Markus Gothe" <markus.gothe@genexis.eu>,
"Matheus Sampaio Queiroga" <srherobrine20@gmail.com>
Subject: Re: [PATCH v5 06/11] pinctrl: airoha: add pin controller and gpio driver for AN7581 SoC
Date: Wed, 13 May 2026 07:56:06 -0600 [thread overview]
Message-ID: <20260513135606.GS1858239@bill-the-cat> (raw)
In-Reply-To: <633941db-10eb-49ad-a2dd-a81a71e6b6c9@genexis.eu>
[-- Attachment #1: Type: text/plain, Size: 2787 bytes --]
On Wed, May 13, 2026 at 01:30:47PM +0200, Benjamin Larsson wrote:
> Hi.
>
> On 13/05/2026 01:42, David Lechner wrote:
> > On 5/9/26 6:11 AM, Mikhail Kshevetskiy wrote:
> > > This patch adds U-Boot pin controller and gpio driver for Airoha AN7581 SoC.
> > >
> > > Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
> > > ---
> > > drivers/pinctrl/airoha/Kconfig | 5 +
> > > drivers/pinctrl/airoha/Makefile | 2 +
> > > drivers/pinctrl/airoha/pinctrl-an7581.c | 1076 +++++++++++++++++++++++
> > > 3 files changed, 1083 insertions(+)
> > > create mode 100644 drivers/pinctrl/airoha/pinctrl-an7581.c
> > >
> > > diff --git a/drivers/pinctrl/airoha/Kconfig b/drivers/pinctrl/airoha/Kconfig
> > > index eb87afbb374..986d23c2e3d 100644
> > > --- a/drivers/pinctrl/airoha/Kconfig
> > > +++ b/drivers/pinctrl/airoha/Kconfig
> > > @@ -9,3 +9,8 @@ config PINCTRL_AIROHA
> > > select REGMAP
> > > select SYSCON
> > > bool
> > > +
> > > +config PINCTRL_AIROHA_AN7581
> > > + tristate "AN7581 pin controller and gpio driver"
> > > + depends on TARGET_AN7581
> > > + select PINCTRL_AIROHA
> > > diff --git a/drivers/pinctrl/airoha/Makefile b/drivers/pinctrl/airoha/Makefile
> > > index a25b744dd7a..909bd9a04d9 100644
> > > --- a/drivers/pinctrl/airoha/Makefile
> > > +++ b/drivers/pinctrl/airoha/Makefile
> > > @@ -1,3 +1,5 @@
> > > # SPDX-License-Identifier: GPL-2.0
> > > obj-$(CONFIG_PINCTRL_AIROHA) += pinctrl-airoha.o
> > > +
> > > +obj-$(CONFIG_PINCTRL_AIROHA_AN7581) += pinctrl-an7581.o
> > > diff --git a/drivers/pinctrl/airoha/pinctrl-an7581.c b/drivers/pinctrl/airoha/pinctrl-an7581.c
> > > new file mode 100644
> > > index 00000000000..606e042b069
> > > --- /dev/null
> > > +++ b/drivers/pinctrl/airoha/pinctrl-an7581.c
> > > @@ -0,0 +1,1076 @@
> > > +// SPDX-License-Identifier: GPL-2.0-only
> > > +/*
> > > + * Author: Lorenzo Bianconi <lorenzo@kernel.org>
> > > + * Author: Benjamin Larsson <benjamin.larsson@genexis.eu>
> > > + * Author: Markus Gothe <markus.gothe@genexis.eu>
> > > + */
> > > +#include "airoha-common.h"
> > > +
> > It still throws me off that the en7581_ prefix is not the same
> > as the file name/driver name/config symbol name. If en7581
> > is preferred, can we change everything (an7581) to match?
>
> The physical chip is marked AN7581 but I have seen some old EN7581 uses in
> Airoha(Econet) material. I'm not really happy with this situation but for
> some reason the en7581 name has been pushed for this SoC in mainline kernel
> code.
>
> Ideally linux and uboot should use the same naming but I'm fine with
> whatever gets code landing upstream.
I agree consistent naming with the linux kernel is important here.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-05-13 13:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 11:11 [PATCH v5 00/11] pinctrl: add support of Airoha SoCs Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 01/11] bitops: import BITS_PER_TYPE() macro from linux Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 02/11] bitfield: Add less-checking __FIELD_{GET,PREP}() Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 03/11] bitfield: Add non-constant field_{prep, get}() helpers Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 04/11] pinctrl: add more pinconf/pinctrl definitions Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 05/11] pinctrl: airoha: add shared pinctrl code Mikhail Kshevetskiy
2026-05-12 23:38 ` David Lechner
2026-05-09 11:11 ` [PATCH v5 06/11] pinctrl: airoha: add pin controller and gpio driver for AN7581 SoC Mikhail Kshevetskiy
2026-05-12 23:42 ` David Lechner
2026-05-13 11:30 ` Benjamin Larsson
2026-05-13 13:56 ` Tom Rini [this message]
2026-05-13 14:03 ` David Lechner
2026-05-13 8:11 ` Peng Fan
2026-05-09 11:11 ` [PATCH v5 07/11] pinctrl: airoha: add pin controller and gpio driver for AN7583 SoC Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 08/11] pinctrl: airoha: add pin controller and gpio driver for EN7523 SoC Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 09/11] configs: airoha: an7581: enable pinctrl/gpio support Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 10/11] configs: airoha: en7523: " Mikhail Kshevetskiy
2026-05-09 11:11 ` [PATCH v5 11/11] arm: dts: en7523: add pinctrl/gpio support, drop legacy gpio support Mikhail Kshevetskiy
2026-05-12 23:43 ` [PATCH v5 00/11] pinctrl: add support of Airoha SoCs David Lechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260513135606.GS1858239@bill-the-cat \
--to=trini@konsulko.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=ansuelsmth@gmail.com \
--cc=benjamin.larsson@genexis.eu \
--cc=chalianis1@gmail.com \
--cc=dlechner@baylibre.com \
--cc=geert+renesas@glider.be \
--cc=hs@nabladev.com \
--cc=ilias.apalodimas@linaro.org \
--cc=lorenzo@kernel.org \
--cc=marek.vasut+renesas@mailbox.org \
--cc=markus.gothe@genexis.eu \
--cc=me@ziyao.cc \
--cc=michael@amarulasolutions.com \
--cc=michal.simek@amd.com \
--cc=mikhail.kshevetskiy@iopsys.eu \
--cc=nuno.sa@analog.com \
--cc=peng.fan@nxp.com \
--cc=sean.anderson@linux.dev \
--cc=sjg@chromium.org \
--cc=srherobrine20@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=ycliang@andestech.com \
--cc=yury.norov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox