Skip to content

Commit 3024392

Browse files
mcatee-infineonfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent f76c7e3 commit 3024392

File tree

8 files changed

+7
-3
lines changed

8 files changed

+7
-3
lines changed

drivers/adc/Kconfig.xmc4xxx

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

drivers/can/Kconfig.xmc4xxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ config CAN_XMC4XXX
66
bool "Infineon XMC4xxx CAN Driver"
77
default y
88
depends on DT_HAS_INFINEON_XMC4XXX_CAN_NODE_ENABLED
9+
select PINCTRL
910
help
1011
Enable Infineon XMC4xxx CAN Driver
1112

drivers/ethernet/Kconfig.xmc4xxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ menuconfig ETH_XMC4XXX
77
bool "XMC4XXX Ethernet driver"
88
default y
99
depends on DT_HAS_INFINEON_XMC4XXX_ETHERNET_ENABLED
10+
select PINCTRL
1011
help
1112
Enable XMC4XXX Ethernet driver.
1213

drivers/pwm/Kconfig.xmc4xxx_ccu4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config PWM_XMC4XXX_CCU4
55
bool "Infineon XMC4XXX CCU4 driver"
66
default y
77
depends on DT_HAS_INFINEON_XMC4XXX_CCU4_PWM_ENABLED
8+
select PINCTRL
89
help
910
Enables Infineon XMC4XXX CCU4 PWM driver.

drivers/pwm/Kconfig.xmc4xxx_ccu8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ config PWM_XMC4XXX_CCU8
55
bool "Infineon XMC4XXX CCU4 driver"
66
default y
77
depends on DT_HAS_INFINEON_XMC4XXX_CCU8_PWM_ENABLED
8+
select PINCTRL
89
help
910
Enables Infineon XMC4XXX CCU8 PWM driver.

drivers/serial/Kconfig.xmc4xxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ config UART_XMC4XXX
1111
select SERIAL_SUPPORT_INTERRUPT
1212
select SERIAL_SUPPORT_ASYNC if DT_HAS_INFINEON_XMC4XXX_DMA_ENABLED
1313
select DMA if UART_ASYNC_API
14+
select PINCTRL
1415
help
1516
This option enables the XMC4XX UART driver.
1617

drivers/spi/Kconfig.xmc4xxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ menuconfig SPI_XMC4XXX
66
default y
77
depends on DT_HAS_INFINEON_XMC4XXX_SPI_ENABLED
88
select GPIO
9+
select PINCTRL
910
help
1011
Enable XMC4XXX SPI driver.
1112

soc/infineon/cat3/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,4 @@ if SOC_FAMILY_INFINEON_XMC
77

88
rsource "*/Kconfig.defconfig"
99

10-
config PINCTRL
11-
default y
12-
1310
endif # SOC_FAMILY_INFINEON_XMC

0 commit comments

Comments
 (0)