Skip to content

Commit

Permalink
can: esd: add support for esd GmbH PCIe/402 CAN interface family
Browse files Browse the repository at this point in the history
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 board variants of
the family but atm. operates the CAN-FD capable devices in
Classic-CAN mode only! A later patch will introduce the CAN-FD
functionality in this driver.

Co-developed-by: Thomas Körper <thomas.koerper@esd.eu>
Signed-off-by: Thomas Körper <thomas.koerper@esd.eu>
Signed-off-by: Stefan Mätje <stefan.maetje@esd.eu>
  • Loading branch information
stm-at-esd authored and intel-lab-lkp committed Sep 8, 2021
1 parent 3d3d07a commit f2b8372
Show file tree
Hide file tree
Showing 7 changed files with 1,692 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 @@ -8,6 +8,7 @@ obj-$(CONFIG_CAN_VXCAN) += vxcan.o
obj-$(CONFIG_CAN_SLCAN) += slcan.o

obj-y += dev/
obj-y += esd/
obj-y += rcar/
obj-y += spi/
obj-y += usb/
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.
7 changes: 7 additions & 0 deletions drivers/net/can/esd/Makefile
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for esd gmbh ESDACC controller driver
#
esd_402_pci-objs := esdacc.o esd_402_pci-core.o

obj-$(CONFIG_CAN_ESD_402_PCI) += esd_402_pci.o

0 comments on commit f2b8372

Please sign in to comment.