linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] M_CAN Framework
@ 2019-01-11 17:32 Dan Murphy
  2019-01-11 17:32 ` [PATCH v3 1/4] can: m_can: Create a m_can platform framework Dan Murphy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Dan Murphy @ 2019-01-11 17:32 UTC (permalink / raw)
  To: wg, mkl, davem, b29396; +Cc: linux-can, netdev, linux-kernel, Dan Murphy

All

Well it has taken me a while to get this working and ported to a provide a
m_can framework that manages the Bosch m_can stack and abstracts away devices
to use that framework.

The m_can.c is the framework that devices register to.

The device abstractions can provide read/write capability as well as bit timings
and also provide any other initializations that are device specific.

The m_can platform code will need to be updated as I have not tested this code.
The tcan code is working.

Dan

Dan Murphy (4):
  can: m_can: Create a m_can platform framework
  can: m_can: Migrate the m_can code to use the framework
  dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver
  can: tcan4x5x: Add tcan4x5x driver to the kernel

 .../devicetree/bindings/net/can/tcan4x5x.txt  |  37 +
 drivers/net/can/m_can/Kconfig                 |  18 +
 drivers/net/can/m_can/Makefile                |   4 +-
 drivers/net/can/m_can/m_can.c                 | 765 +++++++++---------
 drivers/net/can/m_can/m_can_platform.c        | 212 +++++
 drivers/net/can/m_can/m_can_platform.h        | 163 ++++
 drivers/net/can/m_can/tcan4x5x.c              | 458 +++++++++++
 7 files changed, 1253 insertions(+), 404 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt
 create mode 100644 drivers/net/can/m_can/m_can_platform.c
 create mode 100644 drivers/net/can/m_can/m_can_platform.h
 create mode 100644 drivers/net/can/m_can/tcan4x5x.c

-- 
2.20.1.98.gecbdaf0899


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

end of thread, other threads:[~2019-01-11 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 17:32 [PATCH v3 0/4] M_CAN Framework Dan Murphy
2019-01-11 17:32 ` [PATCH v3 1/4] can: m_can: Create a m_can platform framework Dan Murphy
2019-01-11 17:32 ` [PATCH v3 2/4] can: m_can: Migrate the m_can code to use the framework Dan Murphy
2019-01-11 17:32 ` [PATCH v3 3/4] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Dan Murphy
2019-01-11 17:32 ` [PATCH v3 4/4] can: tcan4x5x: Add tcan4x5x driver to the kernel Dan Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).