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

From: Faiz Abbas
Date: Wed Jan 10 2018 - 05:55:09 EST


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@xxxxxx>. 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

--
2.7.4