Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ef4cc13 authored by Ludovic Barre's avatar Ludovic Barre Committed by Linus Walleij
Browse files

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: default avatarAlexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: default avatarLudovic Barre <ludovic.barre@st.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 05a627cc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -12,6 +12,8 @@ Required properies:
   "st,stm32f469-pinctrl"
   "st,stm32f469-pinctrl"
   "st,stm32f746-pinctrl"
   "st,stm32f746-pinctrl"
   "st,stm32h743-pinctrl"
   "st,stm32h743-pinctrl"
   "st,stm32mp157-pinctrl"
   "st,stm32mp157-z-pinctrl"
 - #address-cells: The value of this property must be 1
 - #address-cells: The value of this property must be 1
 - #size-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
 - ranges	: defines mapping between pin controller node (parent) to
+6 −0
Original line number Original line Diff line number Diff line
@@ -32,4 +32,10 @@ config PINCTRL_STM32H743
	depends on OF
	depends on OF
	default MACH_STM32H743
	default MACH_STM32H743
	select PINCTRL_STM32
	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
endif
+1 −0
Original line number Original line Diff line number Diff line
@@ -7,3 +7,4 @@ obj-$(CONFIG_PINCTRL_STM32F429) += pinctrl-stm32f429.o
obj-$(CONFIG_PINCTRL_STM32F469)	+= pinctrl-stm32f469.o
obj-$(CONFIG_PINCTRL_STM32F469)	+= pinctrl-stm32f469.o
obj-$(CONFIG_PINCTRL_STM32F746)	+= pinctrl-stm32f746.o
obj-$(CONFIG_PINCTRL_STM32F746)	+= pinctrl-stm32f746.o
obj-$(CONFIG_PINCTRL_STM32H743)	+= pinctrl-stm32h743.o
obj-$(CONFIG_PINCTRL_STM32H743)	+= pinctrl-stm32h743.o
obj-$(CONFIG_PINCTRL_STM32MP157) += pinctrl-stm32mp157.o
+2188 −0

File added.

Preview size limit exceeded, changes collapsed.