All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] can: rcar_canfd: Add support for V3U flavor
@ 2021-09-24 15:31 Ulrich Hecht
  2021-09-24 15:31 ` [PATCH 1/3] can: rcar_canfd: Add support for r8a779a0 SoC Ulrich Hecht
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ulrich Hecht @ 2021-09-24 15:31 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: netdev, davem, linux-can, prabhakar.mahadev-lad.rj, biju.das.jz,
	wsa, yoshihiro.shimoda.uh, wg, mkl, kuba, mailhol.vincent,
	socketcan, Ulrich Hecht

Hi!

This adds CANFD support for V3U (R8A779A0) SoCs. The V3U's IP supports up to
eight channels and has some other minor differences to the Gen3 variety:

- changes to some register offsets and layouts
- absence of "classic CAN" registers, both modes are handled through the
  CANFD register set

This patch set tries to accommodate these changes in a minimally intrusive
way. It follows the methods implemented in the BSP patch 745cdc4ea76af4
("can: rcar_canfd: Add support for r8a779a0 SoC"), but has not been tested
on an actual V3U device due to lack of hardware.

One thing I'm not sure of is what to name the compatible string. ATM it
looks to me like this controller cultivar is a one-off, so I named it
"renesas,r8a779a0-canfd", but I would not be surprised if it showed up in
future chips as well.

CU
Uli


Ulrich Hecht (3):
  can: rcar_canfd: Add support for r8a779a0 SoC
  dt-bindings: can: renesas,rcar-canfd: Document r8a779a0 support
  arm64: dts: r8a779a0: Add CANFD device node

 .../bindings/net/can/renesas,rcar-canfd.yaml  |   1 +
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi     |  55 +++++
 drivers/net/can/rcar/rcar_canfd.c             | 227 ++++++++++++------
 3 files changed, 208 insertions(+), 75 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-01-11 16:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 15:31 [PATCH 0/3] can: rcar_canfd: Add support for V3U flavor Ulrich Hecht
2021-09-24 15:31 ` [PATCH 1/3] can: rcar_canfd: Add support for r8a779a0 SoC Ulrich Hecht
2021-09-24 16:34   ` Wolfram Sang
2021-09-28  8:47     ` Ulrich Hecht
2021-10-05 13:06   ` Geert Uytterhoeven
2021-10-18 12:50     ` Marc Kleine-Budde
2022-01-11 16:21     ` Ulrich Hecht
2021-09-24 15:31 ` [PATCH 2/3] dt-bindings: can: renesas,rcar-canfd: Document r8a779a0 support Ulrich Hecht
2021-10-05 13:15   ` Geert Uytterhoeven
2021-09-24 15:31 ` [PATCH 3/3] arm64: dts: r8a779a0: Add CANFD device node Ulrich Hecht
2021-10-05 13:20   ` Geert Uytterhoeven
2022-01-11 16:21     ` Ulrich Hecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.