Skip to content

Fixes for RX8310 RTC Configuration and rtctest Alarm

Emanuele Ghidoli linux-kselftest linux-rtc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rtc: ds1307: set one-minute alarm resolution for rx_8130drivers/rtc/rtc-ds1307.c+12 -20 replies
2/2selftests: rtc: rtctest: skip alarm test if alarm resolution is one minutetools/testing/selftests/rtc/rtctest.c+30 -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 v1 0/2] Fixes for RX8310 RTC Configuration and rtctest Alarm

From: Emanuele Ghidoli <[email protected]>

Hi,

I am submitting two patches related to the RX8310 RTC configuration:

1. **Correct RX8310 RTC Features Configuration:**
- Sets one-minute alarm resolution.
- Disables update IRQ.

Without this patch, if the interrupt is configured in the device tree, hwclock fails to read the RTC as it waits for the update IRQ.

2. **Avoid rtctest Alarm Test Failures:**
- Ensures rtctest alarm tests do not fail on hardware that only supports one-minute alarm resolution.

I know the second patch creates conflict with this one: https://lore.kernel.org/all/[email protected]/.
I think that series can reuse the rtc_get_features function I implemented.

Best regards,
Emanuele Ghidoli

Emanuele Ghidoli (2):
rtc: ds1307: set one-minute alarm resolution for rx_8130
selftests: rtc: rtctest: skip alarm test if alarm resolution is one
minute

 drivers/rtc/rtc-ds1307.c              | 14 +++++++++++--
 tools/testing/selftests/rtc/rtctest.c | 30 +++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1