Hi All, This patch is based on can-next latest tag "linux-can-next-for-4.7-20160509" Changes since v6: * Corrected two register definitions as pointed out by Ulrich * Added Ulrich's Reviewed-by: tag Changes since v5: * Addressed Ulrich's concerns on register, bits naming convention * Rebased to latest tag (linux-can-next-for-4.7-20160509) Changes since v4: * Rebased to latest can-next/testing branch * Addressed Marc K review comments on v2 patch * Use clk_get_rate() to find ext clock availability. Refer thread (https://lkml.org/lkml/2016/4/8/203) Changes since v3: * Split v3 patch into two (Marc K) (1) Introduce rcar_canfd.c driver in drivers/net/can/rcar dir (2) Move rcar_can.c driver to new drivers/net/can/rcar dir * Added Acked-by Rob H for the bindings * Added comments on CAN FD only mode in driver & Kconfig (Oliver H) Changes since v2: * Rebased to latest tag (linux-can-next-for-4.6-20160310) * Cleaned up leftover debugfs code (Thanks Oliver H) * Revised devicetree documentation text (as suggested by Rob H) (https://www.mail-archive.com/linux-renesas-soc@xxxxxxxxxxxxxxx/msg01597.html) * Used new can subsystem api to set static configuration & removed check in rcar_canfd_start (as suggested by Oliver H) (Refer: http://comments.gmane.org/gmane.linux.can/9126 & https://www.mail-archive.com/linux-renesas-soc@xxxxxxxxxxxxxxx/msg01867.html) * Clubbed Renesas controller drivers to driver/net/can/rcar dir (as suggested by Oliver H) * Updated commit message Changes since v1: * Removed testmodes & debugfs code (suggested by Oliver H) * Fixed tx path race issue by introducing lock (suggested by Marc K) * Removed __maybe_unused attribute of rcar_canfd_of_table Ramesh Shanmugasundaram (2): can: rcar_canfd: Add Renesas R-Car CAN FD driver can: rcar_can: Move Renesas CAN driver to rcar dir .../devicetree/bindings/net/can/rcar_canfd.txt | 89 + drivers/net/can/Kconfig | 11 +- drivers/net/can/Makefile | 2 +- drivers/net/can/rcar/Kconfig | 21 + drivers/net/can/rcar/Makefile | 6 + drivers/net/can/{ => rcar}/rcar_can.c | 0 drivers/net/can/rcar/rcar_canfd.c | 1695 ++++++++++++++++++++ 7 files changed, 1813 insertions(+), 11 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/can/rcar_canfd.txt create mode 100644 drivers/net/can/rcar/Kconfig create mode 100644 drivers/net/can/rcar/Makefile rename drivers/net/can/{ => rcar}/rcar_can.c (100%) create mode 100644 drivers/net/can/rcar/rcar_canfd.c -- 1.9.1