Skip to content

can: rcar_canfd: Add suspend/resume support

Geert Uytterhoeven linux-can linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6can: rcar_canfd: Invert reset assert orderdrivers/net/can/rcar/rcar_canfd.c+2 -23 replies
2/6can: rcar_canfd: Invert global vs. channel teardowndrivers/net/can/rcar/rcar_canfd.c+3 -33 replies
3/6can: rcar_canfd: Extract rcar_canfd_global_{,de}init()drivers/net/can/rcar/rcar_canfd.c+93 -670 replies
4/6can: rcar_canfd: Invert CAN clock and close_candev() orderdrivers/net/can/rcar/rcar_canfd.c+1 -11 reply
5/6can: rcar_canfd: Convert to DEFINE_SIMPLE_DEV_PM_OPS()drivers/net/can/rcar/rcar_canfd.c+5 -51 reply
6/6can: rcar_canfd: Add suspend/resume supportdrivers/net/can/rcar/rcar_canfd.c+53 -010 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchBiju DasVincent Mailhol
1/6R-b R-b
2/6R-b R-b
3/6
4/6R-b
5/6R-b
6/6T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] can: rcar_canfd: Add suspend/resume support

Hi all,

This patch series adds proper suspend/resume support to the Renesas R-Car CAN-FD controller driver, after the customary cleanuops and fixes. It aims to fix CAN-FD operation after resume from s2ram on systems where PSCI powers down the SoC.

The last patch is marked RFC, as it causes a regression on R-Car Gen4. More details can be found in that patch.

This has been tested on Ebisu-4D (R-Car E3) and White Hawk (R-Car V4H).

Thanks for your comments!

Geert Uytterhoeven (6):
can: rcar_canfd: Invert reset assert order
can: rcar_canfd: Invert global vs. channel teardown
can: rcar_canfd: Extract rcar_canfd_global_{,de}init()
can: rcar_canfd: Invert CAN clock and close_candev() order
can: rcar_canfd: Convert to DEFINE_SIMPLE_DEV_PM_OPS() [RFC] can: rcar_canfd: Add suspend/resume support

 drivers/net/can/rcar/rcar_canfd.c | 225 ++++++++++++++++++++----------
 1 file changed, 152 insertions(+), 73 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