Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-03-28 Thread Alexandre Belloni
On 23/02/2016 at 13:54:57 +0300, Sergei Ianovich wrote : > DS1302 is half-duplex SPI device. The driver respects this fact now. > > Pin configurations should be implemented using SPI subsystem. > > Signed-off-by: Sergei Ianovich > CC: Alexandre Belloni > CC: Rob Herring > >v6..v7 >* c

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-03-19 Thread Sergei Ianovich
On Tue, 2016-03-15 at 01:18 +0100, Alexandre Belloni wrote: > I would like to have a solution for secureedge5410 even if it is > untested. Else, we are breaking an existing platform without any > solution. > > I've put the sh maintainers in copy, maybe they have an opinion. Else > I'll let your pa

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-03-14 Thread Alexandre Belloni
Hi, Thank you for your work! On 23/02/2016 at 13:54:57 +0300, Sergei Ianovich wrote : > -#ifdef CONFIG_SH_SECUREEDGE5410 > -#include > -#include > - > -#define RTC_RESET 0x1000 > -#define RTC_IODATA 0x0800 > -#define RTC_SCLK0x0400 > - > -#define set_dp(x)S

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 01:54:57PM +0300, Sergei Ianovich wrote: > DS1302 is half-duplex SPI device. The driver respects this fact now. > > Pin configurations should be implemented using SPI subsystem. > > Signed-off-by: Sergei Ianovich > CC: Alexandre Belloni > CC: Rob Herring > >v6..v7