Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soc: atmel: Drop PINCTRL from Kconfig.defconfig #80703

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config ADC_SAM
bool "Atmel SAM series ADC Driver"
default y
depends on DT_HAS_ATMEL_SAM_ADC_ENABLED
select PINCTRL
select ADC_CONFIGURABLE_INPUTS
help
Enable Atmel SAM MCU Family Analog-to-Digital Converter (ADC) driver.
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config ADC_SAM0
bool "Atmel SAM0 series ADC Driver"
default y
depends on DT_HAS_ATMEL_SAM0_ADC_ENABLED
select PINCTRL
select ADC_CONFIGURABLE_INPUTS
help
Enable Atmel SAM0 MCU Family Analog-to-Digital Converter (ADC) driver.
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.sam_afec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config ADC_SAM_AFEC
bool "SAM ADC Driver"
default y
depends on DT_HAS_ATMEL_SAM_AFEC_ENABLED
select PINCTRL
help
Enable Atmel SAM MCU Family Analog-to-Digital Converter (ADC) driver
based on AFEC module.
1 change: 1 addition & 0 deletions drivers/counter/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config COUNTER_SAM_TC
bool "Atmel SAM MCU family counter (TC) driver"
default y
depends on DT_HAS_ATMEL_SAM_TC_ENABLED
select PINCTRL
help
Enable the Atmel SAM MCU family counter (TC) driver.
1 change: 1 addition & 0 deletions drivers/counter/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config COUNTER_SAM0_TC32
bool "SAM0 series 32-bit basic timer driver"
default y
depends on DT_HAS_ATMEL_SAM0_TC32_ENABLED
select PINCTRL
help
Enable the SAM0 series timer counter (TC) driver in 32-bit wide
mode.
1 change: 1 addition & 0 deletions drivers/dac/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ config DAC_SAM
bool "Atmel SAM DAC driver"
default y
depends on DT_HAS_ATMEL_SAM_DAC_ENABLED
select PINCTRL
help
Enable Atmel SAM MCU Family Digital Audio Converter (DAC) driver.
1 change: 1 addition & 0 deletions drivers/dac/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config DAC_SAM0
bool "Atmel SAM0 series DAC Driver"
default y
depends on DT_HAS_ATMEL_SAM0_DAC_ENABLED
select PINCTRL
help
Enables the Atmel SAM0 MCU Family Digital-to-Analog (DAC) driver.
1 change: 1 addition & 0 deletions drivers/ethernet/Kconfig.sam_gmac
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ menuconfig ETH_SAM_GMAC
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
select MDIO
select ETH_DSA_SUPPORT
select PINCTRL
help
Enable Atmel SAM MCU Family Ethernet driver.

Expand Down
2 changes: 2 additions & 0 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,15 @@ config I2C_SAM_TWIM
bool "Atmel SAM (TWIM) I2C driver"
default y
depends on DT_HAS_ATMEL_SAM_I2C_TWIM_ENABLED
select PINCTRL
help
Enable Atmel SAM MCU Family (TWIM) I2C bus driver.

config I2C_SAM_TWI
bool "Atmel SAM (TWI) I2C driver"
default y
depends on DT_HAS_ATMEL_SAM_I2C_TWI_ENABLED
select PINCTRL
help
Enable Atmel SAM MCU Family (TWI) I2C bus driver.

Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ menuconfig I2C_SAM0
bool "SAM0 series I2C SERCOM driver"
default y
depends on DT_HAS_ATMEL_SAM0_I2C_ENABLED
select PINCTRL
help
Enable the SAM0 series SERCOM I2C driver.

Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/Kconfig.sam_twihs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ config I2C_SAM_TWIHS
bool "Atmel SAM (TWIHS) I2C driver"
default y
depends on DT_HAS_ATMEL_SAM_I2C_TWIHS_ENABLED
select PINCTRL
help
Enable Atmel SAM MCU Family (TWIHS) I2C bus driver.
1 change: 1 addition & 0 deletions drivers/i2s/Kconfig.sam_ssc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ menuconfig I2S_SAM_SSC
bool "Atmel SAM MCU family I2S (SSC) Bus Driver"
default y
depends on DT_HAS_ATMEL_SAM_SSC_ENABLED
select PINCTRL
select DMA
help
Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
Expand Down
1 change: 1 addition & 0 deletions drivers/memc/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config MEMC_SAM_SMC
bool "Atmel Static Memory Controller (SMC)"
default y
depends on DT_HAS_ATMEL_SAM_SMC_ENABLED
select PINCTRL
help
Enable Atmel Static Memory Controller.
1 change: 1 addition & 0 deletions drivers/pwm/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ config PWM_SAM
bool "Atmel SAM MCU Family PWM Driver"
default y
depends on DT_HAS_ATMEL_SAM_PWM_ENABLED
select PINCTRL
help
Enable PWM driver for Atmel SAM MCUs.
1 change: 1 addition & 0 deletions drivers/pwm/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ config PWM_SAM0_TCC
bool "Atmel SAM0 MCU Family TCC PWM Driver"
default y
depends on DT_HAS_ATMEL_SAM0_TCC_PWM_ENABLED
select PINCTRL
help
Enable PWM driver for Atmel SAM0 MCUs using the TCC timer/counter.
1 change: 1 addition & 0 deletions drivers/sdhc/Kconfig.sam_hsmci
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ config SAM_HSMCI
bool "ATMEL SAM HSMCI driver"
default y
depends on DT_HAS_ATMEL_SAM_HSMCI_ENABLED
select PINCTRL
select SDHC_SUPPORTS_NATIVE_MODE
help
Enable the ATMEL SAM HSMCI MMC/SD card driver.
Expand Down
1 change: 1 addition & 0 deletions drivers/sensor/qdec_sam/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ config QDEC_SAM
default y
depends on DT_HAS_ATMEL_SAM_TC_QDEC_ENABLED
depends on SOC_FAMILY_ATMEL_SAM
select PINCTRL
help
Atmel SAM MCU family Quadrature Decoder (TC) driver.
1 change: 1 addition & 0 deletions drivers/serial/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config UART_SAM0
bool "Atmel SAM0 series SERCOM USART driver"
default y
depends on DT_HAS_ATMEL_SAM0_UART_ENABLED
select PINCTRL
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select SERIAL_SUPPORT_ASYNC if DT_HAS_ATMEL_SAM0_DMAC_ENABLED
Expand Down
1 change: 1 addition & 0 deletions drivers/serial/Kconfig.uart_sam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config UART_SAM
bool "Atmel SAM MCU family UART driver"
default y
depends on DT_HAS_ATMEL_SAM_UART_ENABLED
select PINCTRL
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Expand Down
1 change: 1 addition & 0 deletions drivers/serial/Kconfig.usart_sam
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config USART_SAM
bool "Atmel SAM MCU family USART driver"
default y
depends on DT_HAS_ATMEL_SAM_USART_ENABLED
select PINCTRL
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config SPI_SAM
bool "Atmel SAM series SPI driver"
default y
depends on DT_HAS_ATMEL_SAM_SPI_ENABLED
select PINCTRL
select GPIO
help
Enable support for the SAM SPI driver.
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config SPI_SAM0
bool "Atmel SAM0 series SERCOM SPI driver"
default y
depends on DT_HAS_ATMEL_SAM0_SPI_ENABLED
select PINCTRL
select DMA if SPI_ASYNC
help
Enable support for the SAM0 SERCOM SPI driver.
1 change: 1 addition & 0 deletions drivers/timer/Kconfig.sam0_rtc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config SAM0_RTC_TIMER
bool "Atmel SAM0 series RTC timer"
default y
depends on DT_HAS_ATMEL_SAM0_RTC_ENABLED
select PINCTRL
select TICKLESS_CAPABLE
help
This module implements a kernel device driver for the Atmel SAM0
Expand Down
2 changes: 2 additions & 0 deletions drivers/usb/device/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ config USB_DC_SAM0
bool "SAM0 series USB Device Controller driver"
default y
depends on DT_HAS_ATMEL_SAM0_USB_ENABLED
select PINCTRL
help
SAM0 family USB device controller Driver.

Expand All @@ -88,6 +89,7 @@ config USB_DC_SAM_USBC
bool "SAM4L USBC Device Controller driver"
default y
depends on DT_HAS_ATMEL_SAM_USBC_ENABLED
select PINCTRL
help
SAM4L family USBC device controller Driver.

Expand Down
3 changes: 0 additions & 3 deletions soc/atmel/sam/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ config CLOCK_CONTROL
config GPIO
default y

config PINCTRL
default y

config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)

Expand Down
3 changes: 0 additions & 3 deletions soc/atmel/sam0/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ config GPIO
config HWINFO_SAM0
default HWINFO

config PINCTRL
default y

config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)

Expand Down
Loading