Messages in this thread | | | From | Chris Healy <> | Date | Wed, 14 Jun 2017 21:19:45 -0700 | Subject | Re: [PATCH v2] mfd: Add driver for RAVE Supervisory Processor |
| |
On Mon, Jun 12, 2017 at 6:23 PM, Andrey Smirnov <andrew.smirnov@gmail.com> wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This driver implementes core MFD/serdev device as well as > communication subroutines necessary for commanding the device. > > Cc: cphealy@gmail.com > Cc: Lucas Stach <l.stach@pengutronix.de> > Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > --- > > Changes since [v1]: > > - Fix MODULE_LICENSE to specify "GPL v2" > > - Fix a bug in rave_sp_get_status() > > - Use %zu to fix warning repored by kbuild test robot > > - Remove "status" properties from examples zii,rave-sp.txt as well as > clarify the fact that device node is expected to be a child of a > serial device node > > NOTE: > > * The driver for "zii,rave-sp-watchdog" exists, but I haven't > submitted it yet, becuase I wanted to make sure that API exposed by > this MFD is acceptable and doesn't need drastic changes > > * This driver is dependent on crc_ccitt_false() introduced in > 2da9378d531f8cc6670c7497f20d936b706ab80b in 'linux-next' > > > [v1] lkml.kernel.org/r/20170606180643.14258-1-andrew.smirnov@gmail.com > > > .../devicetree/bindings/mfd/zii,rave-sp.txt | 36 + > drivers/mfd/Kconfig | 9 + > drivers/mfd/Makefile | 1 + > drivers/mfd/rave-sp.c | 1009 ++++++++++++++++++++ > include/linux/rave-sp.h | 54 ++ > 5 files changed, 1109 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/zii,rave-sp.txt > create mode 100644 drivers/mfd/rave-sp.c > create mode 100644 include/linux/rave-sp.h >
This patch was tested on Zodiac RDU1 and RDU2 platforms.
Tested-by: Chris Healy <cphealy@gmail.com>
| |