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