can: peak: add support for PEAK PCAN-PCIe FD CAN-FD boards
authorStephane Grosjean <s.grosjean@peak-system.com>
Thu, 19 Jan 2017 15:31:07 +0000 (16:31 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 25 Apr 2017 07:00:45 +0000 (09:00 +0200)
commit8ac8321e4a7981312348413b9ec314fd93d71a0c
tree2ad88a86c96ebe0b489b965c51717518215e31d1
parentc3df7c5755ee1a53cd56a4efcf3426334ab9eea4
can: peak: add support for PEAK PCAN-PCIe FD CAN-FD boards

This patch adds the support of the PCAN-PCI Express FD boards made
by PEAK-System, for computers using the PCI Express slot.

The PCAN-PCI Express FD has one or two CAN FD channels, depending
on the model. A galvanic isolation of the CAN ports protects
the electronics of the card and the respective computer against
disturbances of up to 500 Volts. The PCAN-PCI Express FD can be operated
with ambient temperatures in a range of -40 to +85 °C.

Such boards run an extented version of the CAN-FD IP running into USB
CAN-FD interfaces from PEAK-System, so this patch adds several new commands
and their corresponding data types to the PEAK CAN-FD common definitions
header file too.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/Kconfig
drivers/net/can/Makefile
drivers/net/can/peak_canfd/Kconfig [new file with mode: 0644]
drivers/net/can/peak_canfd/Makefile [new file with mode: 0644]
drivers/net/can/peak_canfd/peak_canfd.c [new file with mode: 0644]
drivers/net/can/peak_canfd/peak_canfd_user.h [new file with mode: 0644]
drivers/net/can/peak_canfd/peak_pciefd_main.c [new file with mode: 0644]
include/linux/can/dev/peak_canfd.h