[PATCH 0/4] R-Car CANFD Improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux