GNU Linux-libre 5.10.153-gnu1
[releases.git] / drivers / net / can / m_can / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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 config CAN_M_CAN_PLATFORM
9         tristate "Bosch M_CAN support for io-mapped devices"
10         depends on HAS_IOMEM
11         depends on CAN_M_CAN
12         help
13           Say Y here if you want support for IO Mapped Bosch M_CAN controller.
14           This support is for devices that have the Bosch M_CAN controller
15           IP embedded into the device and the IP is IO Mapped to the processor.
16
17 config CAN_M_CAN_TCAN4X5X
18         depends on CAN_M_CAN
19         depends on SPI
20         select REGMAP_SPI
21         tristate "TCAN4X5X M_CAN device"
22         help
23           Say Y here if you want support for Texas Instruments TCAN4x5x
24           M_CAN controller.  This device is a peripheral device that uses the
25           SPI bus for communication.