Commit f524f829 authored by Dan Murphy's avatar Dan Murphy Committed by Marc Kleine-Budde
Browse files

can: m_can: Create a m_can platform framework



Create a m_can platform framework that peripheral
devices can register to and use common code and register sets.
The peripheral devices may provide read/write and configuration
support of the IP.

Acked-by: default avatarWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Acked-by: default avatarFaiz Abbas <faiz_abbas@ti.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 69652195
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config CAN_M_CAN
	tristate "Bosch M_CAN support"
	---help---
	  Say Y here if you want support for Bosch M_CAN controller framework.
	  This is common support for devices that embed the Bosch M_CAN IP.

config CAN_M_CAN_PLATFORM
	tristate "Bosch M_CAN support for io-mapped devices"
	depends on HAS_IOMEM
	tristate "Bosch M_CAN devices"
	depends on CAN_M_CAN
	---help---
	  Say Y here if you want to support for Bosch M_CAN controller.
	  Say Y here if you want support for IO Mapped Bosch M_CAN controller.
	  This support is for devices that have the Bosch M_CAN controller
	  IP embedded into the device and the IP is IO Mapped to the processor.
+1 −0
Original line number Diff line number Diff line
@@ -4,3 +4,4 @@
#

obj-$(CONFIG_CAN_M_CAN) += m_can.o
obj-$(CONFIG_CAN_M_CAN_PLATFORM) += m_can_platform.o