public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] can: grcan: Enhance driver with CANFD Support and Improvements
@ 2025-12-23 10:55 Arun Muthusamy
  2025-12-23 10:55 ` [PATCH v2 01/10] dt-bindings: Add vendor prefix for Frontgrade Gaisler AB Arun Muthusamy
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Arun Muthusamy @ 2025-12-23 10:55 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 (3):
  dt-bindings: net: can: grcan: Convert GRCAN CAN controllers binding
    from txt to YAML
  MAINTAINERS: Add maintainers for GRCAN CAN network driver
  can: grcan: Add CANFD support alongside legacy CAN

Daniel Hellstrom (6):
  can: grcan: Add clock handling
  can: grcan: add FD capability detection and nominal bit-timing
  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 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
  and unnecessary debug printouts.
- can: Refactored variable declarations to follow the reverse-xmas-tree style.
- 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                       | 508 +++++++++++++-----
 6 files changed, 437 insertions(+), 177 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] 17+ messages in thread

end of thread, other threads:[~2025-12-30  2:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 10:55 [PATCH v2 00/10] can: grcan: Enhance driver with CANFD Support and Improvements Arun Muthusamy
2025-12-23 10:55 ` [PATCH v2 01/10] dt-bindings: Add vendor prefix for Frontgrade Gaisler AB Arun Muthusamy
2025-12-27 12:31   ` Krzysztof Kozlowski
2025-12-23 10:55 ` [PATCH v2 02/10] dt-bindings: net: can: grcan: Convert GRCAN CAN controllers binding from txt to YAML Arun Muthusamy
2025-12-24  2:29   ` kernel test robot
2025-12-30  2:19   ` Rob Herring
2025-12-23 10:55 ` [PATCH v2 03/10] MAINTAINERS: Add maintainers for GRCAN CAN network driver Arun Muthusamy
2025-12-23 10:55 ` [PATCH v2 04/10] can: grcan: Add clock handling Arun Muthusamy
2025-12-23 10:55 ` [PATCH v2 05/10] can: grcan: add FD capability detection and nominal bit-timing Arun Muthusamy
2025-12-23 20:51   ` Vincent Mailhol
2025-12-23 10:56 ` [PATCH v2 06/10] can: grcan: optimize DMA by 32-bit accesses Arun Muthusamy
2025-12-23 20:40   ` Vincent Mailhol
2025-12-23 10:56 ` [PATCH v2 07/10] can: grcan: set DMA mask for GRCAN and GRCANFD to 32-bit Arun Muthusamy
2025-12-23 10:56 ` [PATCH v2 08/10] can: grcan: Add saving and restoring of CAN FD baud-rate registers Arun Muthusamy
2025-12-23 10:56 ` [PATCH v2 09/10] can: grcan: Reserve space between cap and next register to align with address layout Arun Muthusamy
2025-12-23 10:56 ` [PATCH v2 10/10] can: grcan: Add CANFD support alongside legacy CAN Arun Muthusamy
2025-12-23 21:09   ` Vincent Mailhol

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