Re: [U-Boot] [PATCH v4 3/3] rtc: Add DM support to ds1307

2017-05-02 Thread Simon Glass
Hi Chris, On 30 April 2017 at 21:11, Chris Packham wrote: > On Sun, Apr 30, 2017 at 3:49 PM, Simon Glass wrote: >> On 28 April 2017 at 21:20, Chris Packham wrote: >>> Add an implementation of the ds1307 driver that uses the

Re: [U-Boot] [PATCH v4 3/3] rtc: Add DM support to ds1307

2017-04-30 Thread Chris Packham
On Sun, Apr 30, 2017 at 3:49 PM, Simon Glass wrote: > On 28 April 2017 at 21:20, Chris Packham wrote: >> Add an implementation of the ds1307 driver that uses the driver model >> i2c APIs. >> >> Signed-off-by: Chris Packham >>

[U-Boot] [PATCH v4 3/3] rtc: Add DM support to ds1307

2017-04-28 Thread Chris Packham
Add an implementation of the ds1307 driver that uses the driver model i2c APIs. Signed-off-by: Chris Packham --- Changes in v4: - move #ifdef CONFIG_CMD_DATE inside the legacy block - use driver data to identify specific chip - terminate the #ifndef with a #endif