Skip to content

Commit

Permalink
SOC: Remove config PINCTRL from xmc4xxx soc
Browse files Browse the repository at this point in the history
	- Move selection of CONFIG_PINCTRL from soc to individual
	  drivers
	- in accordance with issue #78619

Signed-off-by: McAtee Maxwell <[email protected]>
  • Loading branch information
mcatee-infineon authored and fabiobaltieri committed Dec 2, 2024
1 parent f76c7e3 commit 3024392
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions drivers/adc/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ config ADC_XMC4XXX
bool "XMC4XXX ADC"
default y
depends on DT_HAS_INFINEON_XMC4XXX_ADC_ENABLED
select PINCTRL
help
Enable XMC4XXX adc driver.
1 change: 1 addition & 0 deletions drivers/can/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ config CAN_XMC4XXX
bool "Infineon XMC4xxx CAN Driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_CAN_NODE_ENABLED
select PINCTRL
help
Enable Infineon XMC4xxx CAN Driver

Expand Down
1 change: 1 addition & 0 deletions drivers/ethernet/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ menuconfig ETH_XMC4XXX
bool "XMC4XXX Ethernet driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_ETHERNET_ENABLED
select PINCTRL
help
Enable XMC4XXX Ethernet driver.

Expand Down
1 change: 1 addition & 0 deletions drivers/pwm/Kconfig.xmc4xxx_ccu4
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config PWM_XMC4XXX_CCU4
bool "Infineon XMC4XXX CCU4 driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_CCU4_PWM_ENABLED
select PINCTRL
help
Enables Infineon XMC4XXX CCU4 PWM driver.
1 change: 1 addition & 0 deletions drivers/pwm/Kconfig.xmc4xxx_ccu8
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ config PWM_XMC4XXX_CCU8
bool "Infineon XMC4XXX CCU4 driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_CCU8_PWM_ENABLED
select PINCTRL
help
Enables Infineon XMC4XXX CCU8 PWM driver.
1 change: 1 addition & 0 deletions drivers/serial/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config UART_XMC4XXX
select SERIAL_SUPPORT_INTERRUPT
select SERIAL_SUPPORT_ASYNC if DT_HAS_INFINEON_XMC4XXX_DMA_ENABLED
select DMA if UART_ASYNC_API
select PINCTRL
help
This option enables the XMC4XX UART driver.

Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ menuconfig SPI_XMC4XXX
default y
depends on DT_HAS_INFINEON_XMC4XXX_SPI_ENABLED
select GPIO
select PINCTRL
help
Enable XMC4XXX SPI driver.

Expand Down
3 changes: 0 additions & 3 deletions soc/infineon/cat3/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ if SOC_FAMILY_INFINEON_XMC

rsource "*/Kconfig.defconfig"

config PINCTRL
default y

endif # SOC_FAMILY_INFINEON_XMC

0 comments on commit 3024392

Please sign in to comment.