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