Skip to content

Commit 185432c

Browse files
henrikbrixandersenMaureenHelm
authored andcommitted
drivers: can: select CONFIG_PINCTRL where needed
Select CONFIG_PINCTRL for all CAN controllers drivers using pinctrl. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 42da6c9 commit 185432c

8 files changed

+9
-0
lines changed

drivers/can/Kconfig.esp32

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ config CAN_ESP32_TWAI
88
default y
99
depends on DT_HAS_ESPRESSIF_ESP32_TWAI_ENABLED
1010
select CAN_SJA1000
11+
select PINCTRL
1112
help
1213
This enables support for the Espressif Two-Wire Automotive Interface
1314
(TWAI) CAN driver.

drivers/can/Kconfig.nrf

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ config CAN_NRF
77
depends on DT_HAS_NORDIC_NRF_CAN_ENABLED
88
select CAN_MCAN
99
select CLOCK_CONTROL
10+
select PINCTRL
1011
help
1112
Driver for nRF CAN.

drivers/can/Kconfig.numaker

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config CAN_NUMAKER
77
bool "Nuvoton NuMaker CAN FD driver"
88
default y
99
select CAN_MCAN
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_CANFD_ENABLED
1112
depends on SOC_SERIES_M46X || SOC_SERIES_M2L31X
1213
help

drivers/can/Kconfig.rcar

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config CAN_RCAR
77
bool "Renesas R-Car CAN Driver"
88
default y
99
depends on DT_HAS_RENESAS_RCAR_CAN_ENABLED
10+
select PINCTRL
1011
help
1112
Enable Renesas R-Car CAN Driver.
1213

drivers/can/Kconfig.sam

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ config CAN_SAM
77
default y
88
depends on DT_HAS_ATMEL_SAM_CAN_ENABLED
99
select CAN_MCAN
10+
select PINCTRL

drivers/can/Kconfig.sam0

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ config CAN_SAM0
77
default y
88
depends on DT_HAS_ATMEL_SAM0_CAN_ENABLED
99
select CAN_MCAN
10+
select PINCTRL

drivers/can/Kconfig.stm32

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ config CAN_STM32_FDCAN
5353
default y
5454
depends on DT_HAS_ST_STM32_FDCAN_ENABLED
5555
select CAN_MCAN
56+
select PINCTRL
5657
select USE_STM32_LL_RCC
5758

5859
if CAN_STM32_FDCAN
@@ -80,4 +81,5 @@ config CAN_STM32H7_FDCAN
8081
default y
8182
depends on DT_HAS_ST_STM32H7_FDCAN_ENABLED
8283
select CAN_MCAN
84+
select PINCTRL
8385
select USE_STM32_LL_RCC

drivers/can/Kconfig.xmc4xxx

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ config CAN_XMC4XXX_RX_FIFO_ITEMS
2929

3030
config CAN_XMC4XXX_INTERNAL_BUS_MODE
3131
bool "Internal bus mode"
32+
select PINCTRL
3233
help
3334
Connects all XMC4XXX CAN devices to an internal bus. Enables
3435
message exchange between MCU CAN devices without any external connectors.

0 commit comments

Comments
 (0)