From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: barebox@lists.infradead.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Subject: [PATCH v2 0/2] Initial RAVE SP Linux driver port
Date: Wed, 2 May 2018 12:28:43 -0700 [thread overview]
Message-ID: <20180502192845.12483-1-andrew.smirnov@gmail.com> (raw)
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):
watchdog: Port RAVE SP watchdog driver from Linux kernel
mfd: rave-sp: Add temporary workaround for missing GET_STATUS
drivers/mfd/rave-sp.c | 18 +-
drivers/watchdog/Kconfig | 5 +
drivers/watchdog/Makefile | 1 +
drivers/watchdog/rave-sp-wdt.c | 426 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 448 insertions(+), 2 deletions(-)
create mode 100644 drivers/watchdog/rave-sp-wdt.c
--
2.14.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2018-05-02 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 19:28 Andrey Smirnov [this message]
2018-05-02 19:28 ` [PATCH v2 1/2] watchdog: Port RAVE SP watchdog driver from Linux kernel Andrey Smirnov
2018-05-02 19:28 ` [PATCH v2 2/2] mfd: rave-sp: Add temporary workaround for missing GET_STATUS Andrey Smirnov
2018-05-02 19:31 ` [PATCH v2 0/2] Initial RAVE SP Linux driver port Andrey Smirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180502192845.12483-1-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox