Skip to content

Commit 0cc8f93

Browse files
nandojvemmahadevan108
authored andcommitted
soc: atmel: 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.sam*. Fixes #78619 Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
1 parent 0bb5270 commit 0cc8f93

26 files changed

+26
-6
lines changed

drivers/adc/Kconfig.sam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config ADC_SAM
55
bool "Atmel SAM series ADC Driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM_ADC_ENABLED
8+
select PINCTRL
89
select ADC_CONFIGURABLE_INPUTS
910
help
1011
Enable Atmel SAM MCU Family Analog-to-Digital Converter (ADC) driver.

drivers/adc/Kconfig.sam0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config ADC_SAM0
55
bool "Atmel SAM0 series ADC Driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM0_ADC_ENABLED
8+
select PINCTRL
89
select ADC_CONFIGURABLE_INPUTS
910
help
1011
Enable Atmel SAM0 MCU Family Analog-to-Digital Converter (ADC) driver.

drivers/adc/Kconfig.sam_afec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config ADC_SAM_AFEC
77
bool "SAM ADC Driver"
88
default y
99
depends on DT_HAS_ATMEL_SAM_AFEC_ENABLED
10+
select PINCTRL
1011
help
1112
Enable Atmel SAM MCU Family Analog-to-Digital Converter (ADC) driver
1213
based on AFEC module.

drivers/counter/Kconfig.sam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config COUNTER_SAM_TC
55
bool "Atmel SAM MCU family counter (TC) driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM_TC_ENABLED
8+
select PINCTRL
89
help
910
Enable the Atmel SAM MCU family counter (TC) driver.

drivers/counter/Kconfig.sam0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config COUNTER_SAM0_TC32
55
bool "SAM0 series 32-bit basic timer driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM0_TC32_ENABLED
8+
select PINCTRL
89
help
910
Enable the SAM0 series timer counter (TC) driver in 32-bit wide
1011
mode.

drivers/dac/Kconfig.sam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ config DAC_SAM
66
bool "Atmel SAM DAC driver"
77
default y
88
depends on DT_HAS_ATMEL_SAM_DAC_ENABLED
9+
select PINCTRL
910
help
1011
Enable Atmel SAM MCU Family Digital Audio Converter (DAC) driver.

drivers/dac/Kconfig.sam0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config DAC_SAM0
55
bool "Atmel SAM0 series DAC Driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM0_DAC_ENABLED
8+
select PINCTRL
89
help
910
Enables the Atmel SAM0 MCU Family Digital-to-Analog (DAC) driver.

drivers/ethernet/Kconfig.sam_gmac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ menuconfig ETH_SAM_GMAC
1212
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
1313
select MDIO
1414
select ETH_DSA_SUPPORT
15+
select PINCTRL
1516
help
1617
Enable Atmel SAM MCU Family Ethernet driver.
1718

drivers/i2c/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,15 @@ config I2C_SAM_TWIM
177177
bool "Atmel SAM (TWIM) I2C driver"
178178
default y
179179
depends on DT_HAS_ATMEL_SAM_I2C_TWIM_ENABLED
180+
select PINCTRL
180181
help
181182
Enable Atmel SAM MCU Family (TWIM) I2C bus driver.
182183

183184
config I2C_SAM_TWI
184185
bool "Atmel SAM (TWI) I2C driver"
185186
default y
186187
depends on DT_HAS_ATMEL_SAM_I2C_TWI_ENABLED
188+
select PINCTRL
187189
help
188190
Enable Atmel SAM MCU Family (TWI) I2C bus driver.
189191

drivers/i2c/Kconfig.sam0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ menuconfig I2C_SAM0
55
bool "SAM0 series I2C SERCOM driver"
66
default y
77
depends on DT_HAS_ATMEL_SAM0_I2C_ENABLED
8+
select PINCTRL
89
help
910
Enable the SAM0 series SERCOM I2C driver.
1011

0 commit comments

Comments
 (0)