soc: gd32: Drop PINCTRL from Kconfig.defconfig

This Kconfig has wrongly been added to defconfig files. It is not the
right place for it. It has never been the right place for it. Drivers
that need it should select the symbol in their Kconfig entries. Drop
PINCTL from Kconfig.defconfig and add proper select at Kconfig.gd32.

Fixes #78619

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2024-10-31 18:00:45 +01:00 committed by Mahesh Mahadevan
commit 52d21d7bf0
7 changed files with 6 additions and 3 deletions

View file

@ -7,5 +7,6 @@ config ADC_GD32
bool "GD32 ADC driver"
default y
depends on DT_HAS_GD_GD32_ADC_ENABLED
select PINCTRL
help
Enable GigaDevice GD32 ADC driver

View file

@ -8,5 +8,6 @@ config DAC_GD32
bool "GD32 DAC driver"
default y
depends on DT_HAS_GD_GD32_DAC_ENABLED
select PINCTRL
help
Enable GigaDevice GD32 DAC driver

View file

@ -5,5 +5,6 @@ config I2C_GD32
bool "GigaDevice GD32 I2C driver"
default y
depends on DT_HAS_GD_GD32_I2C_ENABLED
select PINCTRL
help
Enables GigaDevice GD32 I2C driver

View file

@ -5,5 +5,6 @@ config PWM_GD32
bool "GigaDevice GD32 PWM driver"
default y
depends on DT_HAS_GD_GD32_PWM_ENABLED
select PINCTRL
help
Enable the GigaDevice GD32 PWM driver.

View file

@ -5,6 +5,7 @@ config USART_GD32
bool "GD32 serial driver"
default y
depends on DT_HAS_GD_GD32_USART_ENABLED
select PINCTRL
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select USE_GD32_USART

View file

@ -5,6 +5,7 @@ config SPI_GD32
bool "Gigadevice GD32 SPI driver"
default y
depends on DT_HAS_GD_GD32_SPI_ENABLED
select PINCTRL
help
Enables Gigadevice GD32 SPI driver.

View file

@ -5,9 +5,6 @@ if SOC_FAMILY_GD_GD32
rsource "*/Kconfig.defconfig.series"
config PINCTRL
default y
config RESET
default y