Skip to content
Permalink
Browse files
net: can: Introduce MEN 16Z192-00 CAN controller driver
    This CAN Controller is found on MEN Chameleon FPGAs.

    The driver/device supports the CAN2.0 specification.
    There are 255 RX and 255 Tx buffer within the IP. The
    pointer for the buffer are handled by HW to make the
    access from within the driver as simple as possible.

    The driver also supports parameters to configure the
    buffer level interrupt for RX/TX as well as a RX timeout
    interrupt using ethtool.

    With this configuration options, the driver/device
    provides flexibility for different types of usecases.

    Changes in version 2:
    Since the hardware does not have TX-done notification,
    the local loopback mechanism is implemented using ECHO skbs.
    The skb is added to echo stack, upon packet reception,
    received and echo skb are matched.

    LED trigger support is added.

    Changes in version 3:
    Fixed compiler warning.

    Changes in version 4:
    Implemented the module parameters using ethtool coalesce.
    Removed LED trigger implementation. Used FIELD_GET and
    FIELD_PREP for setting and getting register values. Replaced
    some hard-coded values with macros.

    Changes in version 5:
    Fixed compiler warning.

Signed-off-by: Abhijeet Badurkar <abhijeet.badurkar@duagon.com>
  • Loading branch information
Abhijeet Badurkar authored and intel-lab-lkp committed Oct 5, 2020
1 parent 549738f commit 267876771a434b2be3278c2c87d36146c0fac77d
Show file tree
Hide file tree
Showing 3 changed files with 1,109 additions and 0 deletions.
@@ -133,6 +133,16 @@ config CAN_KVASER_PCIEFD
Kvaser Mini PCI Express HS v2
Kvaser Mini PCI Express 2xHS v2

config CAN_MEN_Z192
depends on MCB
tristate "MEN 16Z192-00 CAN Controller"
help
Driver for MEN 16Z192-00 CAN Controller IP-Core, which
is connected to the MEN Chameleon Bus.

This driver can also be built as a module. If so, the module will be
called men_z192_can.ko.

config CAN_SUN4I
tristate "Allwinner A10 CAN controller"
depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
@@ -26,6 +26,7 @@ obj-$(CONFIG_CAN_GRCAN) += grcan.o
obj-$(CONFIG_CAN_IFI_CANFD) += ifi_canfd/
obj-$(CONFIG_CAN_JANZ_ICAN3) += janz-ican3.o
obj-$(CONFIG_CAN_KVASER_PCIEFD) += kvaser_pciefd.o
obj-$(CONFIG_CAN_MEN_Z192) += men_z192_can.o
obj-$(CONFIG_CAN_MSCAN) += mscan/
obj-$(CONFIG_CAN_M_CAN) += m_can/
obj-$(CONFIG_CAN_PEAK_PCIEFD) += peak_canfd/

0 comments on commit 2678767

Please sign in to comment.