Skip to content

rtc: m41t80: improve SQW support

Gary Bisson linux-rtc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rtc: m41t80: fix SQWE override when setting an alarmdrivers/rtc/rtc-m41t80.c+3 -00 replies
2/4rtc: m41t80: fix SQW dividers override when setting a datedrivers/rtc/rtc-m41t80.c+12 -00 replies
3/4rtc: m41t80: remove sqw sysfs entrydrivers/rtc/rtc-m41t80.c+0 -880 replies
4/4rtc: m41t80: add clock provider supportdrivers/rtc/rtc-m41t80.c+172 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 11 lines
2.11.0

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.