mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Fixes for RX8310 RTC Configuration and rtctest Alarm
@ 2024-06-24 10:23 Emanuele Ghidoli
  2024-06-24 10:23 ` [PATCH v1 1/2] rtc: ds1307: set one-minute alarm resolution for rx_8130 Emanuele Ghidoli
  2024-06-24 10:23 ` [PATCH v1 2/2] selftests: rtc: rtctest: skip alarm test if alarm resolution is one minute Emanuele Ghidoli
  0 siblings, 2 replies; 3+ messages in thread
From: Emanuele Ghidoli @ 2024-06-24 10:23 UTC (permalink / raw)
  To: alexandre.belloni, linux-kernel, linux-rtc, linux-kselftest, shuah
  Cc: Emanuele Ghidoli, jjang, kobak, mochs

From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>

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/20240524013807.154338-1-jjang@nvidia.com/.
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(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-06-24 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-24 10:23 [PATCH v1 0/2] Fixes for RX8310 RTC Configuration and rtctest Alarm Emanuele Ghidoli
2024-06-24 10:23 ` [PATCH v1 1/2] rtc: ds1307: set one-minute alarm resolution for rx_8130 Emanuele Ghidoli
2024-06-24 10:23 ` [PATCH v1 2/2] selftests: rtc: rtctest: skip alarm test if alarm resolution is one minute Emanuele Ghidoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®