Thread (24 messages) 24 messages, 6 authors, 2023-09-11

Re: [PATCH V4 8/8] ARM: dts: sunxi: add support for Anbernic RG-Nano

From: Andre Przywara <andre.przywara@arm.com>
Date: 2023-09-11 20:53:07
Also in: linux-sunxi

On Mon, 11 Sep 2023 21:35:19 +0800
Chen-Yu Tsai [off-list ref] wrote:

Hi Chen-Yu,

[...]
quoted
Regarding multiple RTCs: I didn't find anything which assigns a
priority level to multiple RTCs in the system. What you can do on the
userland side is to have a udev rule that links the PCF device to
/dev/rtc, so that most tools would use that as a time source.  
You can add DT aliases to override the numbering, thus making an external
one rtc0 and the internal one rtc1. See
arch/arm/boot/dts/allwinner/sun6i-a31-hummingbird.dts for such an example.
Ah, excellent, I somehow missed this. That should indeed solve that
problem.

Thanks for the heads up!
Andre
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help