mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] R-Car CANFD Improvements
@ 2025-07-03 18:33 Biju Das
  2025-07-03 18:33 ` [PATCH 1/4] can: rcar_canfd: Add shared_bittiming variable to struct rcar_canfd_hw_info Biju Das
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Biju Das @ 2025-07-03 18:33 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol, Geert Uytterhoeven, Magnus Damm
  Cc: Biju Das, Fabrizio Castro, linux-can, linux-renesas-soc,
	linux-kernel, Prabhakar Mahadev Lad, Biju Das

The calculation formula for nominal bit rate of classical CAN is same as
that of nominal bit rate of CANFD on the RZ/G3E SoC compared to other SoCs.
Add shared_bittiming variable to struct rcar_canfd_hw_info to handle this
difference.

Added the patch "Drop unused macros" to this serires.

Apart from this, replaced the RCANFD_NCFG_* and RCANFD_DCFG_* macros
with simple functions and replaced RCANFD_CFG_* macros with FIELD_PREP
macro.

Biju Das (4):
  can: rcar_canfd: Add shared_bittiming variable to struct
    rcar_canfd_hw_info
  can: rcar_canfd: Drop unused macros
  can: rcar_canfd: Replace RCANFD_NCFG_* and RCANFD_DCFG_* macros
  can: rcar_canfd: Replace RCANFD_CFG_* macros with FIELD_PREP

 drivers/net/can/rcar/rcar_canfd.c | 170 +++++++-----------------------
 1 file changed, 39 insertions(+), 131 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-07-04 15:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-03 18:33 [PATCH 0/4] R-Car CANFD Improvements Biju Das
2025-07-03 18:33 ` [PATCH 1/4] can: rcar_canfd: Add shared_bittiming variable to struct rcar_canfd_hw_info Biju Das
2025-07-03 18:34 ` [PATCH 2/4] can: rcar_canfd: Drop unused macros Biju Das
2025-07-03 18:34 ` [PATCH 3/4] can: rcar_canfd: Replace RCANFD_NCFG_* and RCANFD_DCFG_* macros Biju Das
2025-07-03 18:34 ` [PATCH 4/4] can: rcar_canfd: Replace RCANFD_CFG_* macros with FIELD_PREP Biju Das
2025-07-04  2:24   ` Vincent Mailhol
2025-07-04 10:12     ` Biju Das
2025-07-04 15:37       ` Vincent Mailhol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®