Commit 901b277e authored by Esteban Blanc's avatar Esteban Blanc Committed by Linus Walleij

pinctrl: tps6594: Add driver for TPS6594 pinctrl and GPIOs

TI TPS6594 PMIC has 11 GPIOs which can be used
for different functions.

This patch adds a pinctrl and GPIO drivers in
order to use those functions.
Signed-off-by: default avatarEsteban Blanc <eblanc@baylibre.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20231108104124.2818275-1-eblanc@baylibre.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6ea5c72b
...@@ -469,6 +469,22 @@ config PINCTRL_TB10X ...@@ -469,6 +469,22 @@ config PINCTRL_TB10X
depends on OF && ARC_PLAT_TB10X depends on OF && ARC_PLAT_TB10X
select GPIOLIB select GPIOLIB
config PINCTRL_TPS6594
tristate "Pinctrl and GPIO driver for TI TPS6594 PMIC"
depends on OF && MFD_TPS6594
default MFD_TPS6594
select PINMUX
select GPIOLIB
select REGMAP
select GPIO_REGMAP
select GENERIC_PINCONF
help
Say Y to select the pinmuxing and GPIOs driver for the TPS6594
PMICs chip family.
This driver can also be built as a module
called tps6594-pinctrl.
config PINCTRL_ZYNQ config PINCTRL_ZYNQ
bool "Pinctrl driver for Xilinx Zynq" bool "Pinctrl driver for Xilinx Zynq"
depends on ARCH_ZYNQ depends on ARCH_ZYNQ
......
...@@ -48,6 +48,7 @@ obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o ...@@ -48,6 +48,7 @@ obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o
obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
obj-$(CONFIG_PINCTRL_TPS6594) += pinctrl-tps6594.o
obj-$(CONFIG_PINCTRL_ZYNQMP) += pinctrl-zynqmp.o obj-$(CONFIG_PINCTRL_ZYNQMP) += pinctrl-zynqmp.o
obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment