mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:30:53 +07:00
pinctrl: stm32: Add STM32MP157 MPU support
This driver consists of 2 controllers due to a hole in mapping: -1 controller for GPIO bankA to K. -1 controller for GPIO bankZ. Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com> Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
05a627ccac
commit
4ef4cc13ea
@ -12,6 +12,8 @@ Required properies:
|
||||
"st,stm32f469-pinctrl"
|
||||
"st,stm32f746-pinctrl"
|
||||
"st,stm32h743-pinctrl"
|
||||
"st,stm32mp157-pinctrl"
|
||||
"st,stm32mp157-z-pinctrl"
|
||||
- #address-cells: The value of this property must be 1
|
||||
- #size-cells : The value of this property must be 1
|
||||
- ranges : defines mapping between pin controller node (parent) to
|
||||
|
@ -32,4 +32,10 @@ config PINCTRL_STM32H743
|
||||
depends on OF
|
||||
default MACH_STM32H743
|
||||
select PINCTRL_STM32
|
||||
|
||||
config PINCTRL_STM32MP157
|
||||
bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157
|
||||
depends on OF
|
||||
default MACH_STM32MP157
|
||||
select PINCTRL_STM32
|
||||
endif
|
||||
|
@ -7,3 +7,4 @@ obj-$(CONFIG_PINCTRL_STM32F429) += pinctrl-stm32f429.o
|
||||
obj-$(CONFIG_PINCTRL_STM32F469) += pinctrl-stm32f469.o
|
||||
obj-$(CONFIG_PINCTRL_STM32F746) += pinctrl-stm32f746.o
|
||||
obj-$(CONFIG_PINCTRL_STM32H743) += pinctrl-stm32h743.o
|
||||
obj-$(CONFIG_PINCTRL_STM32MP157) += pinctrl-stm32mp157.o
|
||||
|
2188
drivers/pinctrl/stm32/pinctrl-stm32mp157.c
Normal file
2188
drivers/pinctrl/stm32/pinctrl-stm32mp157.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user