blob: 5f9f8192dd0b2475ecb13ed201b018d271264a17 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Dong Aishenge0d1f482014-07-16 17:30:50 +08002config CAN_M_CAN
Dan Murphyf524f822019-05-09 11:11:05 -05003 tristate "Bosch M_CAN support"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09004 help
Dan Murphyf524f822019-05-09 11:11:05 -05005 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
8config 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
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090012 help
Dan Murphyf524f822019-05-09 11:11:05 -050013 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.
Dan Murphy5443c222019-05-09 11:11:08 -050016
17config CAN_M_CAN_TCAN4X5X
18 depends on CAN_M_CAN
Enric Balletbo i Serra3fcce132020-04-13 16:10:13 +020019 depends on SPI
20 select REGMAP_SPI
Dan Murphy5443c222019-05-09 11:11:08 -050021 tristate "TCAN4X5X M_CAN device"
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090022 help
Dan Murphy5443c222019-05-09 11:11:08 -050023 Say Y here if you want support for Texas Instruments TCAN4x5x
Marc Kleine-Budde88bfb9a2020-09-16 00:34:55 +020024 M_CAN controller. This device is a peripheral device that uses the
Dan Murphy5443c222019-05-09 11:11:08 -050025 SPI bus for communication.