[rtc-linux] Re: [RFC] rtc: ds1307: add square wave output from ds1308

2017-07-31 Thread Alexandre Belloni
Hi Sean, The mailing list address changed, can you resend there. Also, please copy the CCF maintainers. A quick comment below: On 31/07/2017 at 15:30:13 +0200, Sean Nyekjaer wrote: > - ret = ds3231_clks_register(ds1307); > if (ret) { > dev_warn(ds1307->dev, "unable to reg

[rtc-linux] [RFC] rtc: ds1307: add square wave output from ds1308

2017-07-31 Thread Sean Nyekjaer
add square wave output to generic clock framework and disable sqw output from ds1308 in order to reduce the power consumption by ~50%. Signed-off-by: Sean Nyekjaer --- This contains some code duplication(of my opinion) I guess it could be done more generic together with the ds3231. drivers/rtc/