[PATCH v2 0/2] Initial RAVE SP Linux driver port
Andrey Smirnov
andrew.smirnov at gmail.com
Wed May 2 12:31:48 PDT 2018
On Wed, May 2, 2018 at 12:28 PM, Andrey Smirnov
<andrew.smirnov at gmail.com> wrote:
> 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
Ugh. Accidentaly sent out the wrong patch. Will send out the correct
one shortly. Disregard this submission and sorry for the noise.
Thanks,
Andrey Smirnov
>
> 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
>
More information about the barebox
mailing list