xref: /openbmc/linux/drivers/net/can/m_can/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2f566373fSMarc Kleine-Buddemenuconfig CAN_M_CAN
3f524f829SDan Murphy	tristate "Bosch M_CAN support"
4*bfe0092dSVincent Mailhol	select CAN_RX_OFFLOAD
5a7f7f624SMasahiro Yamada	help
6f524f829SDan Murphy	  Say Y here if you want support for Bosch M_CAN controller framework.
7f524f829SDan Murphy	  This is common support for devices that embed the Bosch M_CAN IP.
8f524f829SDan Murphy
9f566373fSMarc Kleine-Buddeif CAN_M_CAN
10f566373fSMarc Kleine-Budde
11cab7ffc0SJarkko Nikulaconfig CAN_M_CAN_PCI
12cab7ffc0SJarkko Nikula	tristate "Generic PCI Bus based M_CAN driver"
13cab7ffc0SJarkko Nikula	depends on PCI
14cab7ffc0SJarkko Nikula	help
15cab7ffc0SJarkko Nikula	  Say Y here if you want to support Bosch M_CAN controller connected
16cab7ffc0SJarkko Nikula	  to the pci bus.
17cab7ffc0SJarkko Nikula
18f524f829SDan Murphyconfig CAN_M_CAN_PLATFORM
19f524f829SDan Murphy	tristate "Bosch M_CAN support for io-mapped devices"
20f524f829SDan Murphy	depends on HAS_IOMEM
21a7f7f624SMasahiro Yamada	help
22f524f829SDan Murphy	  Say Y here if you want support for IO Mapped Bosch M_CAN controller.
23f524f829SDan Murphy	  This support is for devices that have the Bosch M_CAN controller
24f524f829SDan Murphy	  IP embedded into the device and the IP is IO Mapped to the processor.
255443c226SDan Murphy
265443c226SDan Murphyconfig CAN_M_CAN_TCAN4X5X
273fcce133SEnric Balletbo i Serra	depends on SPI
283fcce133SEnric Balletbo i Serra	select REGMAP_SPI
295443c226SDan Murphy	tristate "TCAN4X5X M_CAN device"
30a7f7f624SMasahiro Yamada	help
315443c226SDan Murphy	  Say Y here if you want support for Texas Instruments TCAN4x5x
3288bfb9a7SMarc Kleine-Budde	  M_CAN controller.  This device is a peripheral device that uses the
335443c226SDan Murphy	  SPI bus for communication.
34f566373fSMarc Kleine-Budde
35f566373fSMarc Kleine-Buddeendif
36