mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
pinctrl: stm32: add stm32mp257 pinctrl support
Add stm32mp257 pinctrl support. Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
a45645472f
commit
619f8ca4a7
@ -51,4 +51,10 @@ config PINCTRL_STM32MP157
|
||||
depends on OF && HAS_IOMEM
|
||||
default MACH_STM32MP157
|
||||
select PINCTRL_STM32
|
||||
|
||||
config PINCTRL_STM32MP257
|
||||
bool "STMicroelectronics STM32MP257 pin control" if COMPILE_TEST && !MACH_STM32MP25
|
||||
depends on OF && HAS_IOMEM
|
||||
default MACH_STM32MP25
|
||||
select PINCTRL_STM32
|
||||
endif
|
||||
|
@ -10,3 +10,4 @@ obj-$(CONFIG_PINCTRL_STM32F769) += pinctrl-stm32f769.o
|
||||
obj-$(CONFIG_PINCTRL_STM32H743) += pinctrl-stm32h743.o
|
||||
obj-$(CONFIG_PINCTRL_STM32MP135) += pinctrl-stm32mp135.o
|
||||
obj-$(CONFIG_PINCTRL_STM32MP157) += pinctrl-stm32mp157.o
|
||||
obj-$(CONFIG_PINCTRL_STM32MP257) += pinctrl-stm32mp257.o
|
||||
|
@ -24,6 +24,9 @@
|
||||
#define STM32MP_PKG_AB BIT(1)
|
||||
#define STM32MP_PKG_AC BIT(2)
|
||||
#define STM32MP_PKG_AD BIT(3)
|
||||
#define STM32MP_PKG_AI BIT(8)
|
||||
#define STM32MP_PKG_AK BIT(10)
|
||||
#define STM32MP_PKG_AL BIT(11)
|
||||
|
||||
struct stm32_desc_function {
|
||||
const char *name;
|
||||
|
2581
drivers/pinctrl/stm32/pinctrl-stm32mp257.c
Normal file
2581
drivers/pinctrl/stm32/pinctrl-stm32mp257.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user