public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/15] can: grcan: Enhance driver with CANFD Support and Improvemens
@ 2026-01-28 14:49 Arun Muthusamy
  2026-01-28 14:49 ` [PATCH v4 01/15] dt-bindings: Add vendor prefix for Frontgrade Gaisler AB Arun Muthusamy
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Arun Muthusamy @ 2026-01-28 14:49 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, mkl, mailhol
  Cc: devicetree, linux-kernel, linux-can, Arun Muthusamy

This patch series updates the GRCAN driver to support the GRCANFD core
from the GRLIB IP core library.

In addition to GRCANFD support, the updates include enhancements for
compatibility with NOEL-V (RISC-V) systems, such as matching drivers
using the 'compatible' identifier and adding support for reading clock
frequency via the common clock framework where available. The series
also includes improvements like functions for configuring
nominal bit-timing and optimizations for DMA operations.

This series also updates the driver documentation and bindings.
The old text binding is converted to YAML, a new vendor prefix
is added to reflect the updated ownership and an entry for the
driver is added to the MAINTAINERS file.

Arun Muthusamy (9):
  net: can: Convert gaisler,grcan to DT schema
  MAINTAINERS: Add maintainers for GRCAN CAN network driver
  can: grcan: Replace bit timing macros with literal values
  can: grcan: Simplify timing configuration
  can: grcan: add FD capability detection and nominal bit-timing
  can: grcan: Add CANFD TX support alongside legacy CAN
  can: grcan: Add CANFD RX support alongside legacy CAN
  can: grcan: Update echo skb handling to match variable length CANFD
    frame
  can: grcan: Advertise CANFD capability

Daniel Hellstrom (5):
  can: grcan: Add clock handling
  can: grcan: optimize DMA by 32-bit accesses
  can: grcan: set DMA mask for GRCAN and GRCANFD to 32-bit
  can: grcan: Add saving and restoring of CAN FD baud-rate registers
  can: grcan: Reserve space between cap and next register to align with
    address layout

Ludwig Rydberg (1):
  dt-bindings: Add vendor prefix for Frontgrade Gaisler AB

Changes in v4:
- can: Removed unnecessary saving and restoring of registers.
- can: Corrected spacing inconsistencies.
- can: Revised how timing information is logged.
- can: Eliminated redundant checks for platform data,
- can: Recalculted the number fo descriptors needed for both CAN and
    CANFD.
- can: Eliminated multiple independent queue stop conditions.
- can: Aligned the order of patches.
- Link to v3: https://lore.kernel.org/all/20260122121038.7910-1-arun.muthusamy@gaisler.com/

Changes in v3:
- can: Replaced custom bit shifting with FIELD_PREP and GENMASK.
- can: Factorized common elements of struct canfd_frame and
    struct can_frame, excluding DLC assignment.
- can: Split the patch to separate code refactoring from the
    introduction of the new feature.
- can: Remove Unused macros
- Link to v2: https://lore.kernel.org/all/20251223105604.12675-1-arun.muthusamy@gaisler.com/

Changes in v2:
- bindings: Updated commit message to explain the removal of freq
  and systemid in the new binding.
- can: S-o-b is placed last in commit messages.
- can: Add values are directly added to the struct can_bittiming_const.
- can: Replaced custom bit shifting with FIELD_PREP and GENMASK for clarity.
- can: Drop do_set_bittiming() callback
- can: Remove forward declarations, unnecessary parentheses, redundant comments
- can: Adjust line breaks according to new character limits
- can: Eliminating unnecessary defines
- can: Enhance code efficiency with memcpy, use standard API to fetch device specific data and
  error handling.
- Link to v1: https://lore.kernel.org/all/20251118092115.3455-1-arun.muthusamy@gaisler.com/

 .../bindings/net/can/gaisler,grcan.yaml       |  62 +++
 .../devicetree/bindings/net/can/grcan.txt     |  28 -
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   8 +
 drivers/net/can/Kconfig                       |   6 +-
 drivers/net/can/grcan.c                       | 496 ++++++++++++------
 6 files changed, 426 insertions(+), 176 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/gaisler,grcan.yaml
 delete mode 100644 Documentation/devicetree/bindings/net/can/grcan.txt


base-commit: 4001bda0cc911fcdd3dde36963a17f4eac173d7d
--
2.51.0


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

end of thread, other threads:[~2026-02-01 16:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28 14:49 [PATCH v4 00/15] can: grcan: Enhance driver with CANFD Support and Improvemens Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 01/15] dt-bindings: Add vendor prefix for Frontgrade Gaisler AB Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 02/15] net: can: Convert gaisler,grcan to DT schema Arun Muthusamy
2026-01-28 23:09   ` kernel test robot
2026-01-28 14:49 ` [PATCH v4 03/15] MAINTAINERS: Add maintainers for GRCAN CAN network driver Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 04/15] can: grcan: Add clock handling Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 05/15] can: grcan: Replace bit timing macros with literal values Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 06/15] can: grcan: Simplify timing configuration Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 07/15] can: grcan: add FD capability detection and nominal bit-timing Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 08/15] can: grcan: optimize DMA by 32-bit accesses Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 09/15] can: grcan: set DMA mask for GRCAN and GRCANFD to 32-bit Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 10/15] can: grcan: Add saving and restoring of CAN FD baud-rate registers Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 11/15] can: grcan: Reserve space between cap and next register to align with address layout Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 12/15] can: grcan: Add CANFD TX support alongside legacy CAN Arun Muthusamy
2026-02-01 16:43   ` Vincent Mailhol
2026-01-28 14:49 ` [PATCH v4 13/15] can: grcan: Add CANFD RX " Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 14/15] can: grcan: Update echo skb handling to match variable length CANFD frame Arun Muthusamy
2026-01-28 14:49 ` [PATCH v4 15/15] can: grcan: Advertise CANFD capability Arun Muthusamy

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