Skip to content

Commit a022135

Browse files
Alexandre Torguelinusw
authored andcommitted
pinctrl: stm32: Add STM32MP135 SoC support
STM32MP135 SoC embeds 9 GPIO banks of 16 gpios each. Those GPIO banks contain same features as STM32MP157 GPIO banks except that each GPIO line of the STM32MP135 can be secured. Signed-off-by: Alexandre Torgue <[email protected]> Acked-by: Arnd Bergmann <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 510fc34 commit a022135

File tree

3 files changed

+1686
-0
lines changed

3 files changed

+1686
-0
lines changed

drivers/pinctrl/stm32/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ config PINCTRL_STM32H743
4040
default MACH_STM32H743
4141
select PINCTRL_STM32
4242

43+
config PINCTRL_STM32MP135
44+
bool "STMicroelectronics STM32MP135 pin control" if COMPILE_TEST && !MACH_STM32MP13
45+
depends on OF && HAS_IOMEM
46+
default MACH_STM32MP13
47+
select PINCTRL_STM32
48+
4349
config PINCTRL_STM32MP157
4450
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
4551
depends on OF && HAS_IOMEM

drivers/pinctrl/stm32/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ obj-$(CONFIG_PINCTRL_STM32F469) += pinctrl-stm32f469.o
88
obj-$(CONFIG_PINCTRL_STM32F746) += pinctrl-stm32f746.o
99
obj-$(CONFIG_PINCTRL_STM32F769) += pinctrl-stm32f769.o
1010
obj-$(CONFIG_PINCTRL_STM32H743) += pinctrl-stm32h743.o
11+
obj-$(CONFIG_PINCTRL_STM32MP135) += pinctrl-stm32mp135.o
1112
obj-$(CONFIG_PINCTRL_STM32MP157) += pinctrl-stm32mp157.o

0 commit comments

Comments
 (0)