Re: [PATCH v4] spi: master driver to enable RTC on ICPDAS LP-8841

From: Rob Herring
Date: Tue Feb 23 2016 - 18:28:32 EST


On Tue, Feb 23, 2016 at 01:44:28PM +0300, Sergei Ianovich wrote:
> ICP DAS LP-8841 contains a DS-1302 RTC. This driver provides an SPI
> master which makes the RTC usable. The driver is not supposed to work
> with anything else.
>
> The driver uses the standard MicroWire half-duplex transfer timing.
> Master output is set on low clock and sensed by the RTC on the rising
> edge. Master input is set by the RTC on the trailing edge and is sensed
> by the master on low clock.
>
> Signed-off-by: Sergei Ianovich <ynvich@xxxxxxxxx>
> CC: Mark Brown <broonie@xxxxxxxxxx>
> CC: Rob Herring <robh@xxxxxxxxxx>
>
> v3..v4
> fix Mark Brown review comments
> * fix dependencies in Kconfig
>
> fix Rob Herring review comments
> * rewrite binding description
> * change binding and doc file names
> * fix typo
>
> v2..v3 to fix Mark Brown review comments
> * drop dependencies in Kconfig
> * use #ifdef CONFIG_OF to allow build without DT
> * drop empty driver->remove
>
> v1..v2 to fix Mark Brown review comments
> * drop ifdef around MODULE_NAME
> * use usleep_range directly
> * drop empty master->cleanup
> ---
> .../bindings/spi/icpdas-lp8841-spi-rtc.txt | 54 +++++

Acked-by: Rob Herring <robh@xxxxxxxxxx>