xref: /openbmc/linux/drivers/net/can/m_can/Kconfig (revision bfe0092d)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig CAN_M_CAN
3	tristate "Bosch M_CAN support"
4	select CAN_RX_OFFLOAD
5	help
6	  Say Y here if you want support for Bosch M_CAN controller framework.
7	  This is common support for devices that embed the Bosch M_CAN IP.
8
9if CAN_M_CAN
10
11config CAN_M_CAN_PCI
12	tristate "Generic PCI Bus based M_CAN driver"
13	depends on PCI
14	help
15	  Say Y here if you want to support Bosch M_CAN controller connected
16	  to the pci bus.
17
18config CAN_M_CAN_PLATFORM
19	tristate "Bosch M_CAN support for io-mapped devices"
20	depends on HAS_IOMEM
21	help
22	  Say Y here if you want support for IO Mapped Bosch M_CAN controller.
23	  This support is for devices that have the Bosch M_CAN controller
24	  IP embedded into the device and the IP is IO Mapped to the processor.
25
26config CAN_M_CAN_TCAN4X5X
27	depends on SPI
28	select REGMAP_SPI
29	tristate "TCAN4X5X M_CAN device"
30	help
31	  Say Y here if you want support for Texas Instruments TCAN4x5x
32	  M_CAN controller.  This device is a peripheral device that uses the
33	  SPI bus for communication.
34
35endif
36