0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig CAN_M_CAN
0003 tristate "Bosch M_CAN support"
0004 select CAN_RX_OFFLOAD
0005 help
0006 Say Y here if you want support for Bosch M_CAN controller framework.
0007 This is common support for devices that embed the Bosch M_CAN IP.
0008
0009 if CAN_M_CAN
0010
0011 config CAN_M_CAN_PCI
0012 tristate "Generic PCI Bus based M_CAN driver"
0013 depends on PCI
0014 help
0015 Say Y here if you want to support Bosch M_CAN controller connected
0016 to the pci bus.
0017
0018 config CAN_M_CAN_PLATFORM
0019 tristate "Bosch M_CAN support for io-mapped devices"
0020 depends on HAS_IOMEM
0021 help
0022 Say Y here if you want support for IO Mapped Bosch M_CAN controller.
0023 This support is for devices that have the Bosch M_CAN controller
0024 IP embedded into the device and the IP is IO Mapped to the processor.
0025
0026 config CAN_M_CAN_TCAN4X5X
0027 depends on SPI
0028 select REGMAP_SPI
0029 tristate "TCAN4X5X M_CAN device"
0030 help
0031 Say Y here if you want support for Texas Instruments TCAN4x5x
0032 M_CAN controller. This device is a peripheral device that uses the
0033 SPI bus for communication.
0034
0035 endif