mbox series

[v7,0/8] Add MCAN Support for Dra76 platform

Message ID 1515581725-29242-1-git-send-email-faiz_abbas@ti.com
Headers show
Series Add MCAN Support for Dra76 platform | expand

Message

Faiz Abbas Jan. 10, 2018, 10:55 a.m. UTC
This patch series adds support for M_CAN on the TI Dra76
platform. Device tree patches will be sent separately.
A bunch of patches were sent before by
Franklin Cooper <fcooper@ti.com>. I have clubbed the
series together and rebased to the latest kernel.

v7 changes:
Added support for bitrate_max to be read from the netlink
interface.
Moved allocation of netdevice to probe. Cleaned up the
allocator function.
Moved enabling/disabling of clocks to pm_runtime callbacks.
Minor format changes.

patch 5 depends on patch 4 which in turn depends on patch 3.

v6 changes:
Dropped the patches to make hclk optional. Drivers
which enable hclk as the interface clock using
pm_runtime calls must still provide a hclk in the
clocks property.

Support higher speed CAN-FD bitrate:
The community decided that data sampling point be used
for the secondary sampling point here
https://patchwork.kernel.org/patch/9909845/

Faiz Abbas (2):
  can: m_can: Remove check for version when allocating m_can net device
  can: m_can: Move allocation of net device to probe

Franklin S Cooper Jr (6):
  can: dev: Add support for limiting configured bitrate
  can: m_can: Add call to of_can_transceiver
  can: m_can: Add PM Support
  can: m_can: Support higher speed CAN-FD bitrates
  dt-bindings: can: m_can: Document new can transceiver binding
  dt-bindings: can: can-transceiver: Document new binding

 .../bindings/net/can/can-transceiver.txt           |  24 +++
 .../devicetree/bindings/net/can/m_can.txt          |   9 ++
 drivers/net/can/dev.c                              |  45 +++++-
 drivers/net/can/m_can/m_can.c                      | 169 ++++++++++++++-------
 include/linux/can/dev.h                            |   8 +
 include/uapi/linux/can/netlink.h                   |   1 +
 6 files changed, 202 insertions(+), 54 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/can-transceiver.txt

Comments

Marc Kleine-Budde Jan. 15, 2018, 2:44 p.m. UTC | #1
On 01/10/2018 11:55 AM, Faiz Abbas wrote:
> This patch series adds support for M_CAN on the TI Dra76
> platform. Device tree patches will be sent separately.
> A bunch of patches were sent before by
> Franklin Cooper <fcooper@ti.com>. I have clubbed the
> series together and rebased to the latest kernel.

I've added patches 1-3 to linux-can-next/testing. But stopped at 4, due
to the problems with the error handling. You can include 1-3 in your
next posting if you like, otherwise I'll takes the ones I've already
applied.

Marc