[PATCH v2 1/2] can: rcar_canfd: Add Classical CAN only mode support
From: robh@kernel.org (Rob Herring)
Date: 2016-06-24 16:12:30
Also in:
linux-can, linux-devicetree, linux-renesas-soc
From: robh@kernel.org (Rob Herring)
Date: 2016-06-24 16:12:30
Also in:
linux-can, linux-devicetree, linux-renesas-soc
On Wed, Jun 22, 2016 at 01:31:46PM +0100, Ramesh Shanmugasundaram wrote:
The controller can operate in one of the two global modes - CAN FD only mode (default) - Classical CAN (CAN2.0) only mode This patch adds support for Classical CAN only mode. It can be enabled by defining the optional device tree property "renesas,no-can-fd" of this node. Note: R-Car Gen3 h/w manual v0.51E shows bit6 of RSCFDnCFDGCFG as reserved, which is incorrect. This bit is same as RSCFDnGCFG. Signed-off-by: Ramesh Shanmugasundaram <redacted> --- .../devicetree/bindings/net/can/rcar_canfd.txt | 21 +-
Acked-by: Rob Herring <robh@kernel.org>
drivers/net/can/rcar/rcar_canfd.c | 355 ++++++++++++++------- 2 files changed, 255 insertions(+), 121 deletions(-)