Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
can: esd: add support for esd GmbH PCIe/402 CAN interface family
This patch adds support for the PCI based PCIe/402 CAN interface family
from esd GmbH that is available with various form factors
(https://esd.eu/en/products/402-series-can-interfaces).

All boards utilize a FPGA based CAN controller solution developed
by esd (esdACC). For more information on the esdACC see
https://esd.eu/en/products/esdacc.

This driver detects all available CAN interface boards but atm.
operates the CAN-FD capable devices in Classic-CAN mode only!

Signed-off-by: Stefan Mätje <Stefan.Maetje@esd.eu>
  • Loading branch information
stm-at-esd authored and intel-lab-lkp committed Jul 28, 2021
1 parent 8dad556 commit 5110ede
Show file tree
Hide file tree
Showing 7 changed files with 1,667 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/can/Kconfig
Expand Up @@ -170,6 +170,7 @@ config PCH_CAN

source "drivers/net/can/c_can/Kconfig"
source "drivers/net/can/cc770/Kconfig"
source "drivers/net/can/esd/Kconfig"
source "drivers/net/can/ifi_canfd/Kconfig"
source "drivers/net/can/m_can/Kconfig"
source "drivers/net/can/mscan/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/net/can/Makefile
Expand Up @@ -12,6 +12,7 @@ obj-y += rcar/
obj-y += spi/
obj-y += usb/
obj-y += softing/
obj-y += esd/

obj-$(CONFIG_CAN_AT91) += at91_can.o
obj-$(CONFIG_CAN_CC770) += cc770/
Expand Down
12 changes: 12 additions & 0 deletions drivers/net/can/esd/Kconfig
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-only
config CAN_ESD_402_PCI
tristate "esd electronics gmbh CAN-PCI(e)/402 family"
depends on PCI && HAS_DMA
help
Support for C402 card family from esd electronics gmbh.
This card family is based on the ESDACC CAN controller and
available in several form factors: PCI, PCIe, PCIe Mini,
M.2 PCIe, CPCIserial, PMC, XMC (see https://esd.eu/en)

This driver can also be built as a module. In this case the
module will be called esd_402_pci.
11 changes: 11 additions & 0 deletions drivers/net/can/esd/Makefile
@@ -0,0 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for esd gmbh ESDACC controller driver
#
esd_402_pci-y := esdacc.o esd402_pci.o

ifeq ($(CONFIG_CAN_ESD_402_PCI),)
obj-m += esd_402_pci.o
else
obj-$(CONFIG_CAN_ESD_402_PCI) += esd_402_pci.o
endif

0 comments on commit 5110ede

Please sign in to comment.