Re: [PATCH 0/4] rtc: m41t80: improve SQW support

From: Alexandre Belloni
Date: Tue May 30 2017 - 21:40:34 EST


On 25/04/2017 at 16:45:13 +0200, Gary Bisson wrote:
> Hi,
>
> This series aims at improving the square-wave support for some of the
> devices supported by the m41t80 driver.
>
> The first two patches are fixes that prevent the driver from overriding
> the SQW configuration (divider & enable bit).
>
> Then the last two remove the old sysfs entry and replace it with a clock
> provider approach.
>
> It has been tested on a Boundary Devices Nitrogen6_MAX which features a
> MicroCrystal RV4162 RTC. The SQW (named clkout in RV4162 datasheet) can be
> probed on TP70 on the platform.
>
> Let me know if you have any question/suggestion.
>
> Regards,
> Gary
>
> Gary Bisson (4):
> rtc: m41t80: fix SQWE override when setting an alarm
> rtc: m41t80: fix SQW dividers override when setting a date
> rtc: m41t80: remove sqw sysfs entry
> rtc: m41t80: add clock provider support
>
> drivers/rtc/rtc-m41t80.c | 251 +++++++++++++++++++++++++++++++++--------------
> 1 file changed, 175 insertions(+), 76 deletions(-)
>

All applied now, I had to rebase the last patch on top of v4.12-rc1

Thanks!

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com