From b0cdd5db1f969bde0c36dc6fa89df9f35740a859 Mon Sep 17 00:00:00 2001 From: McAtee Maxwell Date: Wed, 20 Nov 2024 14:27:38 -0800 Subject: [PATCH] SOC: Remove config PINCTRL from xmc4xxx soc - Move selection of CONFIG_PINCTRL from soc to individual drivers - in accordance with issue #78619 Signed-off-by:McAtee Maxwell --- drivers/adc/Kconfig.xmc4xxx | 1 + drivers/can/Kconfig.xmc4xxx | 1 + drivers/ethernet/Kconfig.xmc4xxx | 1 + drivers/pwm/Kconfig.xmc4xxx_ccu4 | 1 + drivers/pwm/Kconfig.xmc4xxx_ccu8 | 1 + drivers/serial/Kconfig.xmc4xxx | 1 + drivers/spi/Kconfig.xmc4xxx | 1 + soc/infineon/cat3/Kconfig.defconfig | 3 --- 8 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/adc/Kconfig.xmc4xxx b/drivers/adc/Kconfig.xmc4xxx index 083ac0e4c5290f6..ad89da0262886bf 100644 --- a/drivers/adc/Kconfig.xmc4xxx +++ b/drivers/adc/Kconfig.xmc4xxx @@ -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. diff --git a/drivers/can/Kconfig.xmc4xxx b/drivers/can/Kconfig.xmc4xxx index 00a6598fa28fe00..39fbc34a7cc5d44 100644 --- a/drivers/can/Kconfig.xmc4xxx +++ b/drivers/can/Kconfig.xmc4xxx @@ -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 diff --git a/drivers/ethernet/Kconfig.xmc4xxx b/drivers/ethernet/Kconfig.xmc4xxx index 258d1462b8f2c63..e8e6c089b59827a 100644 --- a/drivers/ethernet/Kconfig.xmc4xxx +++ b/drivers/ethernet/Kconfig.xmc4xxx @@ -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. diff --git a/drivers/pwm/Kconfig.xmc4xxx_ccu4 b/drivers/pwm/Kconfig.xmc4xxx_ccu4 index 9301182ef233e6c..2ad9a0ff4f75a2c 100644 --- a/drivers/pwm/Kconfig.xmc4xxx_ccu4 +++ b/drivers/pwm/Kconfig.xmc4xxx_ccu4 @@ -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. diff --git a/drivers/pwm/Kconfig.xmc4xxx_ccu8 b/drivers/pwm/Kconfig.xmc4xxx_ccu8 index 299bf86aab8055b..727047307ac0c60 100644 --- a/drivers/pwm/Kconfig.xmc4xxx_ccu8 +++ b/drivers/pwm/Kconfig.xmc4xxx_ccu8 @@ -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. diff --git a/drivers/serial/Kconfig.xmc4xxx b/drivers/serial/Kconfig.xmc4xxx index a9a51b3e12dedec..0b2a16971c68749 100644 --- a/drivers/serial/Kconfig.xmc4xxx +++ b/drivers/serial/Kconfig.xmc4xxx @@ -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. diff --git a/drivers/spi/Kconfig.xmc4xxx b/drivers/spi/Kconfig.xmc4xxx index 98efcecab405cf7..24cf3675fb250ca 100644 --- a/drivers/spi/Kconfig.xmc4xxx +++ b/drivers/spi/Kconfig.xmc4xxx @@ -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. diff --git a/soc/infineon/cat3/Kconfig.defconfig b/soc/infineon/cat3/Kconfig.defconfig index 10a5e55986ab955..425cfcc3661c2de 100644 --- a/soc/infineon/cat3/Kconfig.defconfig +++ b/soc/infineon/cat3/Kconfig.defconfig @@ -7,7 +7,4 @@ if SOC_FAMILY_INFINEON_XMC rsource "*/Kconfig.defconfig" -config PINCTRL - default y - endif # SOC_FAMILY_INFINEON_XMC