]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: add polarfire soc mssio pinctrl driver
authorConor Dooley <conor.dooley@microchip.com>
Tue, 20 Jan 2026 18:15:42 +0000 (18:15 +0000)
committerLinus Walleij <linusw@kernel.org>
Wed, 21 Jan 2026 12:13:37 +0000 (13:13 +0100)
commit488d704ed7b7e7afeef24ee846c8223b607357b7
tree2689b74ce7bd3d5ddd811109aa48626d9b3bc7e9
parent6b324d199467bf346132f0cb7f5ad4bbcdc3c037
pinctrl: add polarfire soc mssio pinctrl driver

On Polarfire SoC, the Bank 2 and Bank 4 IOs connected to the
Multiprocessor Subsystem (MSS) are controlled by IOMUX_CRs 1 through 6,
which determine what function in routed to them, and
MSSIO_BANK#_IO_CFG_CRs, which determine the configuration of each pin.

Add a driver for this pin controller, including several custom
properties that reflect aspects of the MSS's configuration.

Reuse the Kconfig option for iomux0, since controlling MSSIOs without
iomux0 routing a function to the MSSIOs in question is pointless, and
routing a function to the MSSIOs is equally unhelpful if none of them
are configured to make use of that function.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/microchip/Kconfig
drivers/pinctrl/microchip/Makefile
drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c [new file with mode: 0644]