-
Notifications
You must be signed in to change notification settings - Fork 54.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
6965219
commit f524f82
Showing
5 changed files
with
704 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
# | ||
|
||
obj-$(CONFIG_CAN_M_CAN) += m_can.o | ||
obj-$(CONFIG_CAN_M_CAN_PLATFORM) += m_can_platform.o |
Oops, something went wrong.