Skip to content

rtc: da9052: Corrections to access, validation and capability

Adam Ward lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rtc: da9052: Add extra reads with timeouts to avoid returning partially updated valuesdrivers/rtc/rtc-da9052.c+66 -210 replies
2/3rtc: da9052: Add constraints to set valid yeardrivers/rtc/rtc-da9052.c+8 -00 replies
3/3rtc: da9052: Register ability of alarm to wake device from suspenddrivers/rtc/rtc-da9052.c+2 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchAdam Ward
1/3T-b
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] rtc: da9052: Corrections to access, validation and capability

Hi,

This patch set is based on mainline v4.0-rc2.

It makes corrections to restrict the year setting to the range defined for the device to support. It also prevents erroneous values being returned, as was discovered possible when reading a time immediately after setting it.

And lastly, it enables the wake-from-suspend capability.

Best regards,
Adam

Adam Ward (3):
rtc: da9052: Add extra reads with timeouts to avoid returning
partially updated values
rtc: da9052: Add constraints to set valid year
rtc: da9052: Register ability of alarm to wake device from suspend

 drivers/rtc/rtc-da9052.c | 97 +++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 76 insertions(+), 21 deletions(-)
Signature · 1 line
end-of-patch for rtc: da9052: Corrections to access, validation and capability