Skip to content

Commit 8a20468

Browse files
m1ng1109lag-linaro
authored andcommitted
can: Add Nuvoton NCT6694 CANFD support
This driver supports Socket CANFD functionality for NCT6694 MFD device based on USB interface. Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Signed-off-by: Ming Yu <a0282524688@gmail.com> Link: https://lore.kernel.org/r/20250912091952.1169369-5-a0282524688@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent c5cf27d commit 8a20468

4 files changed

Lines changed: 845 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18088,6 +18088,7 @@ S: Supported
1808818088
F: drivers/gpio/gpio-nct6694.c
1808918089
F: drivers/i2c/busses/i2c-nct6694.c
1809018090
F: drivers/mfd/nct6694.c
18091+
F: drivers/net/can/usb/nct6694_canfd.c
1809118092
F: include/linux/mfd/nct6694.h
1809218093

1809318094
NUVOTON NCT7201 IIO DRIVER

drivers/net/can/usb/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ config CAN_MCBA_USB
134134
This driver supports the CAN BUS Analyzer interface
135135
from Microchip (http://www.microchip.com/development-tools/).
136136

137+
config CAN_NCT6694
138+
tristate "Nuvoton NCT6694 Socket CANfd support"
139+
depends on MFD_NCT6694
140+
select CAN_RX_OFFLOAD
141+
help
142+
If you say yes to this option, support will be included for Nuvoton
143+
NCT6694, a USB device to socket CANfd controller.
144+
145+
This driver can also be built as a module. If so, the module will
146+
be called nct6694_canfd.
147+
137148
config CAN_PEAK_USB
138149
tristate "PEAK PCAN-USB/USB Pro interfaces for CAN 2.0b/CAN-FD"
139150
help

drivers/net/can/usb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ obj-$(CONFIG_CAN_F81604) += f81604.o
1111
obj-$(CONFIG_CAN_GS_USB) += gs_usb.o
1212
obj-$(CONFIG_CAN_KVASER_USB) += kvaser_usb/
1313
obj-$(CONFIG_CAN_MCBA_USB) += mcba_usb.o
14+
obj-$(CONFIG_CAN_NCT6694) += nct6694_canfd.o
1415
obj-$(CONFIG_CAN_PEAK_USB) += peak_usb/
1516
obj-$(CONFIG_CAN_UCAN) += ucan.o

0 commit comments

Comments
 (0)