Skip to content

ARM: vf610: add FlexCAN support

Stefan Agner linux-arm-kernel linux-can lkml 2 versions – Applied

Status from this message: Applied these two, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 22 repliesApplied
  2. v24 patches 10 repliesSuperseded

Changes in v3 from the cover letter

- Return error number in flexcan_get_berr_counter if clock enabling fails
- Add the FLEXCANX_EN clocks as new clocks

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4ARM: dts: vf610: add FlexCAN nodearch/arm/boot/dts/vf610.dtsi+23 -00 replies
2/4ARM: imx: clk-vf610: fix FlexCAN clock gatingarch/arm/mach-imx/clk-vf610.c include/dt-bindings/clock/vf610-clock.h+7 -30 replies
3/4can: flexcan: switch on clocks before accessing ecr registerdrivers/net/can/flexcan.c+16 -22 replies
4/4can: flexcan: add vf610 support for FlexCANdrivers/net/can/flexcan.c+64 -917 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] ARM: vf610: add FlexCAN support

This series adds support for Vybrid (aka vf610) to the FlexCAN controller and extends the device tree accordingly.

Changes in v3:
- Return error number in flexcan_get_berr_counter if clock enabling fails
- Add the FLEXCANX_EN clocks as new clocks

Changes in v2:
- Split out patch (seperate dt, clocks and driver changes)
- Use spaces for hardware feature flags table
- Remove drive-by change of esdhc register length
- Added related fix which enables clock in berr_counter

Stefan Agner (4):
ARM: dts: vf610: add FlexCAN node
ARM: imx: clk-vf610: fix FlexCAN clock gating
can: flexcan: switch on clocks before accessing ecr register
can: flexcan: add vf610 support for FlexCAN

 arch/arm/boot/dts/vf610.dtsi            | 23 +++++++++
 arch/arm/mach-imx/clk-vf610.c           |  6 ++-
 drivers/net/can/flexcan.c               | 91 +++++++++++++++++++++++++++++----
 include/dt-bindings/clock/vf610-clock.h |  4 +-
 4 files changed, 110 insertions(+), 14 deletions(-)
Signature · 1 line
2.0.1