summaryrefslogtreecommitdiff
path: root/drivers/net/can/m_can/Kconfig
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2019-05-09 19:11:05 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-07-24 11:31:54 +0300
commitf524f829b75a7d934f56f63f2ed4d42f4e1d06d9 (patch)
tree2e1c1a576bd8fee6ea111c79e22d937967172acb /drivers/net/can/m_can/Kconfig
parent69652195b6e071d9adcd7c8129943d95813c42ea (diff)
downloadlinux-f524f829b75a7d934f56f63f2ed4d42f4e1d06d9.tar.xz
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: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Dan Murphy <dmurphy@ti.com> Acked-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/m_can/Kconfig')
-rw-r--r--drivers/net/can/m_can/Kconfig13
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/net/can/m_can/Kconfig b/drivers/net/can/m_can/Kconfig
index ec4b2e117f66..306c75dc7913 100644
--- a/drivers/net/can/m_can/Kconfig
+++ b/drivers/net/can/m_can/Kconfig
@@ -1,6 +1,15 @@
# 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.