Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 00/16] pinctrl: airoha: split driver on shared code and SoC specific drivers, add supporf of en7523 and an7563
@ 2026-06-22 11:30 Mikhail Kshevetskiy
  2026-06-22 11:30 ` [PATCH v5 01/16] pinctrl: airoha: an7581: fix misprint in bitfield name Mikhail Kshevetskiy
                   ` (15 more replies)
  0 siblings, 16 replies; 19+ messages in thread
From: Mikhail Kshevetskiy @ 2026-06-22 11:30 UTC (permalink / raw)
  To: Linus Walleij, Lorenzo Bianconi, Christian Marangi,
	AngeloGioacchino Del Regno, Benjamin Larsson, linux-kernel,
	linux-gpio, linux-mediatek, Markus Gothe,
	Matheus Sampaio Queiroga
  Cc: Mikhail Kshevetskiy

This patchset
 * fixes more airoha pinctrl issues
 * split combined driver on common code and several SoC specific drivers
 * improves an7583 pinctrl support
 * adds support of en7523 SoC
 * adds support of an7563 SoC

The driver split changes are based on Matheus Sampaio Queiroga work.

Changes v2:
 * more issues of airoha pinctrl driver was fixed
 * SoC specific register addresses, bitfields, macroses were
   removed from common header and placed to SoC specific file
 * fixed address of LAN LED mappings registers for en7523 SoC
 * improves support of an7583 pinctrl

Changes v3:
 * improve searching of chip scu regmap necessary for drivers
   operations

Changes v4:
 * an7583: add support of OLT pin function
 * an7581: do a proper fix of pcie_reset pins mux/conf.

Changes v5:
 * improve description of an7583 i2c pinmux fix
 * rename an7583 registers to match its an7583 names
 * add support of an7563 SoC

Mikhail Kshevetskiy (16):
  pinctrl: airoha: an7581: fix misprint in bitfield name
  pinctrl: airoha: an7583: fix I2C0_SDA_PD register bit order
  pinctrl: airoha: an7583: there is no mux to enable the second i2c bus
  pinctrl: airoha: an7581: fix mux/conf of pcie_reset pins
  pinctrl: airoha: an7583: fix muxing of non-gpio default pins
  pinctrl: airoha: move common definitions to the separate header
  pinctrl: airoha: split driver on shared code and SoC specific drivers
  pinctrl: airoha: an7581: remove en7581 prefix from variable names
  pinctrl: airoha: an7583: remove an7583 prefix from variable names and
    definitions
  pinctrl: airoha: an7583: rename registers to match its an7583 names
  pinctrl: airoha: an7583: add support for npu_uart pinmux
  pinctrl: airoha: an7583: add support for pon_alt pinmux
  pinctrl: airoha: an7583: add support for olt pinmux
  pinctrl: airoha: add support of en7523 SoC
  pinctrl: airoha: try to find chip scu node by phandle first
  pinctrl: airoha: add support of an7563 SoC

 drivers/pinctrl/airoha/Kconfig          |   29 +-
 drivers/pinctrl/airoha/Makefile         |    7 +
 drivers/pinctrl/airoha/airoha-common.h  |  204 ++
 drivers/pinctrl/airoha/pinctrl-airoha.c | 2401 +----------------------
 drivers/pinctrl/airoha/pinctrl-an7563.c | 1113 +++++++++++
 drivers/pinctrl/airoha/pinctrl-an7581.c | 1485 ++++++++++++++
 drivers/pinctrl/airoha/pinctrl-an7583.c | 1495 ++++++++++++++
 drivers/pinctrl/airoha/pinctrl-en7523.c | 1123 +++++++++++
 8 files changed, 5463 insertions(+), 2394 deletions(-)
 create mode 100644 drivers/pinctrl/airoha/airoha-common.h
 create mode 100644 drivers/pinctrl/airoha/pinctrl-an7563.c
 create mode 100644 drivers/pinctrl/airoha/pinctrl-an7581.c
 create mode 100644 drivers/pinctrl/airoha/pinctrl-an7583.c
 create mode 100644 drivers/pinctrl/airoha/pinctrl-en7523.c

-- 
2.53.0



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2026-06-22 12:04 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 11:30 [PATCH v5 00/16] pinctrl: airoha: split driver on shared code and SoC specific drivers, add supporf of en7523 and an7563 Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 01/16] pinctrl: airoha: an7581: fix misprint in bitfield name Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 02/16] pinctrl: airoha: an7583: fix I2C0_SDA_PD register bit order Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 03/16] pinctrl: airoha: an7583: there is no mux to enable the second i2c bus Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 04/16] pinctrl: airoha: an7581: fix mux/conf of pcie_reset pins Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 05/16] pinctrl: airoha: an7583: fix muxing of non-gpio default pins Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 06/16] pinctrl: airoha: move common definitions to the separate header Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 07/16] pinctrl: airoha: split driver on shared code and SoC specific drivers Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 08/16] pinctrl: airoha: an7581: remove en7581 prefix from variable names Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 09/16] pinctrl: airoha: an7583: remove an7583 prefix from variable names and definitions Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 10/16] pinctrl: airoha: an7583: rename registers to match its an7583 names Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 11/16] pinctrl: airoha: an7583: add support for npu_uart pinmux Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 12/16] pinctrl: airoha: an7583: add support for pon_alt pinmux Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 13/16] pinctrl: airoha: an7583: add support for olt pinmux Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 14/16] pinctrl: airoha: add support of en7523 SoC Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 15/16] pinctrl: airoha: try to find chip scu node by phandle first Mikhail Kshevetskiy
2026-06-22 11:30 ` [PATCH v5 16/16] pinctrl: airoha: add support of an7563 SoC Mikhail Kshevetskiy
2026-06-22 11:55   ` Matheus Sampaio Queiroga
2026-06-22 12:04     ` Mikhail Kshevetskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox