Skip to content

Commit 52d21d7

Browse files
nandojvemmahadevan108
authored andcommitted
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 <[email protected]>
1 parent 23fb3b7 commit 52d21d7

File tree

7 files changed

+6
-3
lines changed

7 files changed

+6
-3
lines changed

drivers/adc/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ config ADC_GD32
77
bool "GD32 ADC driver"
88
default y
99
depends on DT_HAS_GD_GD32_ADC_ENABLED
10+
select PINCTRL
1011
help
1112
Enable GigaDevice GD32 ADC driver

drivers/dac/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ config DAC_GD32
88
bool "GD32 DAC driver"
99
default y
1010
depends on DT_HAS_GD_GD32_DAC_ENABLED
11+
select PINCTRL
1112
help
1213
Enable GigaDevice GD32 DAC driver

drivers/i2c/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config I2C_GD32
55
bool "GigaDevice GD32 I2C driver"
66
default y
77
depends on DT_HAS_GD_GD32_I2C_ENABLED
8+
select PINCTRL
89
help
910
Enables GigaDevice GD32 I2C driver

drivers/pwm/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config PWM_GD32
55
bool "GigaDevice GD32 PWM driver"
66
default y
77
depends on DT_HAS_GD_GD32_PWM_ENABLED
8+
select PINCTRL
89
help
910
Enable the GigaDevice GD32 PWM driver.

drivers/serial/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config USART_GD32
55
bool "GD32 serial driver"
66
default y
77
depends on DT_HAS_GD_GD32_USART_ENABLED
8+
select PINCTRL
89
select SERIAL_HAS_DRIVER
910
select SERIAL_SUPPORT_INTERRUPT
1011
select USE_GD32_USART

drivers/spi/Kconfig.gd32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config SPI_GD32
55
bool "Gigadevice GD32 SPI driver"
66
default y
77
depends on DT_HAS_GD_GD32_SPI_ENABLED
8+
select PINCTRL
89
help
910
Enables Gigadevice GD32 SPI driver.
1011

soc/gd/gd32/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ if SOC_FAMILY_GD_GD32
55

66
rsource "*/Kconfig.defconfig.series"
77

8-
config PINCTRL
9-
default y
10-
118
config RESET
129
default y
1310

0 commit comments

Comments
 (0)