Skip to content

Commit

Permalink
drivers: can: select CONFIG_PINCTRL where needed
Browse files Browse the repository at this point in the history
Select CONFIG_PINCTRL for all CAN controllers drivers using pinctrl.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
  • Loading branch information
henrikbrixandersen authored and MaureenHelm committed Oct 21, 2024
1 parent 42da6c9 commit 185432c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/can/Kconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config CAN_ESP32_TWAI
default y
depends on DT_HAS_ESPRESSIF_ESP32_TWAI_ENABLED
select CAN_SJA1000
select PINCTRL
help
This enables support for the Espressif Two-Wire Automotive Interface
(TWAI) CAN driver.
1 change: 1 addition & 0 deletions drivers/can/Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ config CAN_NRF
depends on DT_HAS_NORDIC_NRF_CAN_ENABLED
select CAN_MCAN
select CLOCK_CONTROL
select PINCTRL
help
Driver for nRF CAN.
1 change: 1 addition & 0 deletions drivers/can/Kconfig.numaker
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config CAN_NUMAKER
bool "Nuvoton NuMaker CAN FD driver"
default y
select CAN_MCAN
select PINCTRL
depends on DT_HAS_NUVOTON_NUMAKER_CANFD_ENABLED
depends on SOC_SERIES_M46X || SOC_SERIES_M2L31X
help
Expand Down
1 change: 1 addition & 0 deletions drivers/can/Kconfig.rcar
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config CAN_RCAR
bool "Renesas R-Car CAN Driver"
default y
depends on DT_HAS_RENESAS_RCAR_CAN_ENABLED
select PINCTRL
help
Enable Renesas R-Car CAN Driver.

Expand Down
1 change: 1 addition & 0 deletions drivers/can/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ config CAN_SAM
default y
depends on DT_HAS_ATMEL_SAM_CAN_ENABLED
select CAN_MCAN
select PINCTRL
1 change: 1 addition & 0 deletions drivers/can/Kconfig.sam0
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ config CAN_SAM0
default y
depends on DT_HAS_ATMEL_SAM0_CAN_ENABLED
select CAN_MCAN
select PINCTRL
2 changes: 2 additions & 0 deletions drivers/can/Kconfig.stm32
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ config CAN_STM32_FDCAN
default y
depends on DT_HAS_ST_STM32_FDCAN_ENABLED
select CAN_MCAN
select PINCTRL
select USE_STM32_LL_RCC

if CAN_STM32_FDCAN
Expand Down Expand Up @@ -80,4 +81,5 @@ config CAN_STM32H7_FDCAN
default y
depends on DT_HAS_ST_STM32H7_FDCAN_ENABLED
select CAN_MCAN
select PINCTRL
select USE_STM32_LL_RCC
1 change: 1 addition & 0 deletions drivers/can/Kconfig.xmc4xxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ config CAN_XMC4XXX_RX_FIFO_ITEMS

config CAN_XMC4XXX_INTERNAL_BUS_MODE
bool "Internal bus mode"
select PINCTRL
help
Connects all XMC4XXX CAN devices to an internal bus. Enables
message exchange between MCU CAN devices without any external connectors.
Expand Down

0 comments on commit 185432c

Please sign in to comment.