arm64: renesas: r8a77980a: Add support for CANFD2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dt-bindings: pinctrl: renesas: Document R-Car V3H2 supportDocumentation/ | +38 | 0 replies | |
| 2/6 | pinctrl: renesas: r8a77980: Add R-Car V3H2 supportdrivers/ drivers/ drivers/ | +261 | 0 replies | |
| 3/6 | dt-bindings: can: renesas,rcar-canfd: Document R-Car V3H2 supportDocumentation/ | +14 | 0 replies | |
| 4/6 | can: rcar_canfd: Increase number of channels on R-Car Gen3drivers/ | +1 | 0 replies | |
| 5/6 | arm64: dts: renesas: r8a77980a: Update PFC compatiblearch/ | +4 | 0 replies | |
| 6/6 | arm64: dts: renesas: r8a77980a: Add support for CAN-FD channel 2arch/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH/RFT 0/6] arm64: renesas: r8a77980a: Add support for CANFD2
Hi all,
This patch series is an attempt to add support for the third CAN-FD channel on R-Car V3H2. It consists of three parts:
1. Extend Pin Function Control for the third CAN-FD pin group,
2. Extend the R-Car CAN-FD driver for third CAN-FD channel,
3. Update DTS.
Unfortunately full testing requires local access to a (modified) Condor-I board:
- CANFD2 can be made available on GP1_19 and GP1_20, which are routed to test points CP4 and CP5, and to EXIO connector A after populating two zero-ohm resistors,
- The ADV7511W node must be disabled, as its interrupt pin is shared with CANFD2_RX,
- An external CAN transceiver must be added.
Alternatively, perhaps some testing can be performed by adding support for the various test modes (External/Internal Loopback Mode, Inter-Channel Communication Test) to the CAN-FD driver?
I still have to look into that...
Thanks for your comments!
Geert Uytterhoeven (6):
dt-bindings: pinctrl: renesas: Document R-Car V3H2 support
pinctrl: renesas: r8a77980: Add R-Car V3H2 support
dt-bindings: can: renesas,rcar-canfd: Document R-Car V3H2 support
can: rcar_canfd: Increase number of channels to 3 on R-Car Gen3
arm64: dts: renesas: r8a77980a: Update PFC compatible
arm64: dts: renesas: r8a77980a: Add support for CAN-FD channel 2
.../bindings/net/can/renesas,rcar-canfd.yaml | 18 +- .../bindings/pinctrl/renesas,pfc.yaml | 72 +-- arch/arm64/boot/dts/renesas/r8a77980a.dtsi | 12 + drivers/net/can/rcar/rcar_canfd.c | 2 +- drivers/pinctrl/renesas/core.c | 4 + drivers/pinctrl/renesas/pfc-r8a77980.c | 457 ++++++++++-------- drivers/pinctrl/renesas/sh_pfc.h | 1 + 7 files changed, 326 insertions(+), 240 deletions(-)
Signature · 12 lines
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds