[PATCH v2 0/4] generic pinmux dt_node_to_map implementation/spacemit driver converted to use it
Conor Dooley
conor at kernel.org
Tue May 19 02:37:21 PDT 2026
From: Conor Dooley <conor.dooley at microchip.com>
Hey folks,
Here's a real version of my generic pinmux dt_node_to_map
implementation. I tested this on my bpif3 but the dts in mainline is
very limited in terms of pinctrl use so I would really appreciate any
testing that could be done with a more complete setup.
If you try to apply this, it's on top of Frank's mux series. It's also
here if any of the spacemit-ters want to look at what I did to their
driver:
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/log/?h=spacemit-pinctrl
Cheers,
Conor.
CC: Linus Walleij <linusw at kernel.org>
CC: Yixun Lan <dlan at kernel.org>
CC: Conor Dooley <conor.dooley at microchip.com>
CC: Troy Mitchell <troy.mitchell at linux.spacemit.com>
CC: linux-gpio at vger.kernel.org
CC: linux-kernel at vger.kernel.org
CC: linux-riscv at lists.infradead.org
CC: spacemit at lists.linux.dev
Conor Dooley (4):
pinctrl: generic: change signature of pinctrl_generic_to_map() to pass
void data
pinctrl: add new generic groups/function creation function for pinmux
pinctrl: spacemit: delete spacemit_pctrl_check_power()
pinctrl: spacemit: move over to generic pinmux dt_node_to_map
implementation
drivers/pinctrl/pinconf.h | 20 ++-
drivers/pinctrl/pinctrl-generic.c | 124 ++++++++++++++----
drivers/pinctrl/spacemit/Kconfig | 4 +-
drivers/pinctrl/spacemit/pinctrl-k1.c | 177 ++------------------------
4 files changed, 128 insertions(+), 197 deletions(-)
--
2.53.0
More information about the linux-riscv
mailing list