drivers/gpio: stm32: Remove Kconfig based device declaration

Use device node declaration instead.
Clean up GPIO_STM32_PORT* Kconfig symbols.

On some boards some gpio ports where disabled using Kconfig symbols.
Disable them now via device tree nodes in boards dts files.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-04-01 11:47:04 +02:00 committed by Kumar Gala
commit e26767fc06
63 changed files with 41 additions and 755 deletions

View file

@ -12,36 +12,6 @@ source "soc/arm/st_stm32/stm32h7/Kconfig.defconfig.stm32h7*"
config SOC_SERIES
default "stm32h7"
if GPIO_STM32
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
config GPIO_STM32_PORTD
default y
config GPIO_STM32_PORTE
default y
config GPIO_STM32_PORTF
default y
config GPIO_STM32_PORTG
default y
config GPIO_STM32_PORTH
default y
config GPIO_STM32_PORTI
default y
config GPIO_STM32_PORTJ
default y
config GPIO_STM32_PORTK
default y
endif # GPIO_STM32
config I2C_STM32_V2
default y
depends on I2C_STM32