mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* alarmtimer: no way to choose the RTC on boards with two wakeup RTCs
@ 2026-10-10  4:04 Igor Velkov
  0 siblings, 0 replies; only message in thread
From: Igor Velkov @ 2026-10-10  4:04 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner, Alexandre Belloni
  Cc: Stephen Boyd, linux-rtc, linux-kernel, Igor Velkov

Hi,

alarmtimer_rtc_add_device() binds to the first registered RTC that has
RTC_FEATURE_ALARM and a wakeup-capable parent, and keeps it. With two such
RTCs the choice follows probe order: ODROID-N2/N2+ (pcf8563 and meson-vrtc),
ODROID-HC4 with its RTC add-on, and 11 rockchip boards in v7.3 DT with a
hym8563/pcf8563 next to an RK808-family PMIC RTC. On HC4 meson-vrtc wins.

I found no DT property, command-line option or sysfs knob to make the choice
explicit. Is there an intended way? If not, where would such a setting
belong, and under what name?

Igor

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-10  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10  4:04 alarmtimer: no way to choose the RTC on boards with two wakeup RTCs Igor Velkov

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®