forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/drivers/net/can/m_can/Kconfig
....@@ -1,5 +1,25 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config CAN_M_CAN
3
+ tristate "Bosch M_CAN support"
4
+ help
5
+ 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
+
8
+config CAN_M_CAN_PLATFORM
9
+ tristate "Bosch M_CAN support for io-mapped devices"
210 depends on HAS_IOMEM
3
- tristate "Bosch M_CAN devices"
4
- ---help---
5
- Say Y here if you want to support for Bosch M_CAN controller.
11
+ depends on CAN_M_CAN
12
+ help
13
+ 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.
16
+
17
+config CAN_M_CAN_TCAN4X5X
18
+ depends on CAN_M_CAN
19
+ depends on SPI
20
+ select REGMAP_SPI
21
+ tristate "TCAN4X5X M_CAN device"
22
+ help
23
+ Say Y here if you want support for Texas Instruments TCAN4x5x
24
+ M_CAN controller. This device is a peripheral device that uses the
25
+ SPI bus for communication.