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:
parent
23fb3b77a2
commit
52d21d7bf0
7 changed files with 6 additions and 3 deletions
|
@ -7,5 +7,6 @@ config ADC_GD32
|
||||||
bool "GD32 ADC driver"
|
bool "GD32 ADC driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_ADC_ENABLED
|
depends on DT_HAS_GD_GD32_ADC_ENABLED
|
||||||
|
select PINCTRL
|
||||||
help
|
help
|
||||||
Enable GigaDevice GD32 ADC driver
|
Enable GigaDevice GD32 ADC driver
|
||||||
|
|
|
@ -8,5 +8,6 @@ config DAC_GD32
|
||||||
bool "GD32 DAC driver"
|
bool "GD32 DAC driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_DAC_ENABLED
|
depends on DT_HAS_GD_GD32_DAC_ENABLED
|
||||||
|
select PINCTRL
|
||||||
help
|
help
|
||||||
Enable GigaDevice GD32 DAC driver
|
Enable GigaDevice GD32 DAC driver
|
||||||
|
|
|
@ -5,5 +5,6 @@ config I2C_GD32
|
||||||
bool "GigaDevice GD32 I2C driver"
|
bool "GigaDevice GD32 I2C driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_I2C_ENABLED
|
depends on DT_HAS_GD_GD32_I2C_ENABLED
|
||||||
|
select PINCTRL
|
||||||
help
|
help
|
||||||
Enables GigaDevice GD32 I2C driver
|
Enables GigaDevice GD32 I2C driver
|
||||||
|
|
|
@ -5,5 +5,6 @@ config PWM_GD32
|
||||||
bool "GigaDevice GD32 PWM driver"
|
bool "GigaDevice GD32 PWM driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_PWM_ENABLED
|
depends on DT_HAS_GD_GD32_PWM_ENABLED
|
||||||
|
select PINCTRL
|
||||||
help
|
help
|
||||||
Enable the GigaDevice GD32 PWM driver.
|
Enable the GigaDevice GD32 PWM driver.
|
||||||
|
|
|
@ -5,6 +5,7 @@ config USART_GD32
|
||||||
bool "GD32 serial driver"
|
bool "GD32 serial driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_USART_ENABLED
|
depends on DT_HAS_GD_GD32_USART_ENABLED
|
||||||
|
select PINCTRL
|
||||||
select SERIAL_HAS_DRIVER
|
select SERIAL_HAS_DRIVER
|
||||||
select SERIAL_SUPPORT_INTERRUPT
|
select SERIAL_SUPPORT_INTERRUPT
|
||||||
select USE_GD32_USART
|
select USE_GD32_USART
|
||||||
|
|
|
@ -5,6 +5,7 @@ config SPI_GD32
|
||||||
bool "Gigadevice GD32 SPI driver"
|
bool "Gigadevice GD32 SPI driver"
|
||||||
default y
|
default y
|
||||||
depends on DT_HAS_GD_GD32_SPI_ENABLED
|
depends on DT_HAS_GD_GD32_SPI_ENABLED
|
||||||
|
select PINCTRL
|
||||||
help
|
help
|
||||||
Enables Gigadevice GD32 SPI driver.
|
Enables Gigadevice GD32 SPI driver.
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@ if SOC_FAMILY_GD_GD32
|
||||||
|
|
||||||
rsource "*/Kconfig.defconfig.series"
|
rsource "*/Kconfig.defconfig.series"
|
||||||
|
|
||||||
config PINCTRL
|
|
||||||
default y
|
|
||||||
|
|
||||||
config RESET
|
config RESET
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue