162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig CAN_M_CAN
362306a36Sopenharmony_ci	tristate "Bosch M_CAN support"
462306a36Sopenharmony_ci	select CAN_RX_OFFLOAD
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  Say Y here if you want support for Bosch M_CAN controller framework.
762306a36Sopenharmony_ci	  This is common support for devices that embed the Bosch M_CAN IP.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciif CAN_M_CAN
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig CAN_M_CAN_PCI
1262306a36Sopenharmony_ci	tristate "Generic PCI Bus based M_CAN driver"
1362306a36Sopenharmony_ci	depends on PCI
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  Say Y here if you want to support Bosch M_CAN controller connected
1662306a36Sopenharmony_ci	  to the pci bus.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig CAN_M_CAN_PLATFORM
1962306a36Sopenharmony_ci	tristate "Bosch M_CAN support for io-mapped devices"
2062306a36Sopenharmony_ci	depends on HAS_IOMEM
2162306a36Sopenharmony_ci	help
2262306a36Sopenharmony_ci	  Say Y here if you want support for IO Mapped Bosch M_CAN controller.
2362306a36Sopenharmony_ci	  This support is for devices that have the Bosch M_CAN controller
2462306a36Sopenharmony_ci	  IP embedded into the device and the IP is IO Mapped to the processor.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig CAN_M_CAN_TCAN4X5X
2762306a36Sopenharmony_ci	depends on SPI
2862306a36Sopenharmony_ci	select REGMAP_SPI
2962306a36Sopenharmony_ci	tristate "TCAN4X5X M_CAN device"
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  Say Y here if you want support for Texas Instruments TCAN4x5x
3262306a36Sopenharmony_ci	  M_CAN controller.  This device is a peripheral device that uses the
3362306a36Sopenharmony_ci	  SPI bus for communication.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciendif
36