Skip to content

Commit 4732f07

Browse files
Andrea della Portaffainelli
authored andcommitted
pinctrl: rp1: Implement RaspberryPi RP1 gpio support
The RP1 is an MFD supporting a gpio controller and /pinmux/pinctrl. Add minimum support for the gpio only portion. The driver is in pinctrl folder since upcoming patches will add the pinmux/pinctrl support where the gpio part can be seen as an addition. Signed-off-by: Andrea della Porta <andrea.porta@suse.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Stefan Wahren <wahrenst@gmx.net> Link: https://lore.kernel.org/r/20250529135052.28398-5-andrea.porta@suse.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
1 parent 6486341 commit 4732f07

3 files changed

Lines changed: 802 additions & 0 deletions

File tree

drivers/pinctrl/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,17 @@ config PINCTRL_MLXBF3
624624
each pin. This driver can also be built as a module called
625625
pinctrl-mlxbf3.
626626

627+
config PINCTRL_RP1
628+
tristate "Pinctrl driver for RP1"
629+
depends on MISC_RP1
630+
default MISC_RP1
631+
select PINMUX
632+
select PINCONF
633+
select GENERIC_PINCONF
634+
help
635+
Enable the gpio and pinctrl/mux driver for RaspberryPi RP1
636+
multi function device.
637+
627638
source "drivers/pinctrl/actions/Kconfig"
628639
source "drivers/pinctrl/aspeed/Kconfig"
629640
source "drivers/pinctrl/bcm/Kconfig"

drivers/pinctrl/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-pic32.o
4949
obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
5050
obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
5151
obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
52+
obj-$(CONFIG_PINCTRL_RP1) += pinctrl-rp1.o
5253
obj-$(CONFIG_PINCTRL_SCMI) += pinctrl-scmi.o
5354
obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
5455
obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o

0 commit comments

Comments
 (0)