mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [RESEND PATCH v2 0/2] Initial RAVE SP Linux driver port
@ 2018-05-02 19:36 Andrey Smirnov
  2018-05-02 19:36 ` [RESEND PATCH v2 1/2] mfd: Port RAVE SP driver from Linux kernel Andrey Smirnov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrey Smirnov @ 2018-05-02 19:36 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Everyone:

These two patches are first results of an effort to port RAVE SP
(Supervisory Processor) MFD and it's children drivers from Linux
kernel to Barebox. Patch 1/2 brings MFD driver with its core API and
patch 2/2 adds support for watchdog "cell" of the RAVE SP device.

With a very few exceptions, the code of the drivers is identical to
the code of their Linux counterparts.

These drivers are also first users of "serdev" API work that was
recently merged and should server as a reasonable example of its
usage.

Feedback is wellcome!

Changes since [v1]:

 - rave_sp_wdt_set_timeout fixed to correctly handle timeout of zero
   (as pointed out by Sascha)

Thanks,
Andrey Smirnov

[v1] http://lists.infradead.org/pipermail/barebox/2018-April/032725.html

Andrey Smirnov (2):
  mfd: Port RAVE SP driver from Linux kernel
  watchdog: Port RAVE SP watchdog driver from Linux kernel

 drivers/mfd/Kconfig            |   8 +
 drivers/mfd/Makefile           |   1 +
 drivers/mfd/rave-sp.c          | 758 +++++++++++++++++++++++++++++++++++++++++
 drivers/watchdog/Kconfig       |   5 +
 drivers/watchdog/Makefile      |   1 +
 drivers/watchdog/rave-sp-wdt.c | 426 +++++++++++++++++++++++
 include/linux/mfd/rave-sp.h    |  78 +++++
 7 files changed, 1277 insertions(+)
 create mode 100644 drivers/mfd/rave-sp.c
 create mode 100644 drivers/watchdog/rave-sp-wdt.c
 create mode 100644 include/linux/mfd/rave-sp.h

-- 
2.14.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2018-05-04  5:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02 19:36 [RESEND PATCH v2 0/2] Initial RAVE SP Linux driver port Andrey Smirnov
2018-05-02 19:36 ` [RESEND PATCH v2 1/2] mfd: Port RAVE SP driver from Linux kernel Andrey Smirnov
2018-05-02 19:36 ` [RESEND PATCH v2 2/2] watchdog: Port RAVE SP watchdog " Andrey Smirnov
2018-05-04  5:25 ` [RESEND PATCH v2 0/2] Initial RAVE SP Linux driver port Sascha Hauer

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