linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] rtc: m41t80: improve SQW support
@ 2017-04-25 14:45 Gary Bisson
  2017-04-25 14:45 ` [PATCH 1/4] rtc: m41t80: fix SQWE override when setting an alarm Gary Bisson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Gary Bisson @ 2017-04-25 14:45 UTC (permalink / raw)
  To: rtc-linux; +Cc: linux-kernel, alexandre.belloni, a.zummo, Gary Bisson

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(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-31  1:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25 14:45 [PATCH 0/4] rtc: m41t80: improve SQW support Gary Bisson
2017-04-25 14:45 ` [PATCH 1/4] rtc: m41t80: fix SQWE override when setting an alarm Gary Bisson
2017-04-25 14:45 ` [PATCH 2/4] rtc: m41t80: fix SQW dividers override when setting a date Gary Bisson
2017-04-25 14:45 ` [PATCH 3/4] rtc: m41t80: remove sqw sysfs entry Gary Bisson
2017-04-25 14:45 ` [PATCH 4/4] rtc: m41t80: add clock provider support Gary Bisson
2017-05-31  1:40 ` [PATCH 0/4] rtc: m41t80: improve SQW support Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).