Thread (12 messages) 12 messages, 4 authors, 2020-08-18

Re: [PATCH v2 2/3] arm64: dts: meson-g12b-odroid-n2: Disable virtual RTC driver

From: Christian Hewitt <hidden>
Date: 2020-08-18 07:51:47
Also in: linux-amlogic, linux-devicetree

On 18 Aug 2020, at 11:45 am, Jerome Brunet [off-list ref] wrote:


On Mon 17 Aug 2020 at 12:21, Anand Moon [off-list ref] wrote:
quoted
Disable virtual RTC node on Odroid N2,
since RTC PCF8563 support rtc wakeup.

[    7.171149] meson-vrtc ff8000a8.rtc: registered as rtc0
[    7.182875] meson-vrtc ff8000a8.rtc: setting system clock to 1970-01-01T00:00:07 UTC (7)
Maybe I'm missing something but why should disable this ?
Can't the 2 RTCs co-exist ?
aliases {
	serial0 = &uart_AO;
	ethernet0 = &ethmac;
	rtc1 = &vrtc;
};

^ adding this alias moves vrtc to /dev/rtc1 allowing the on-board rtc to
assume /dev/rtc0 which scripts/users and HOWTO guides assume to be a
real clock device. Tested and working fine with my own experiments with
enabling rtc on a bunch of G12B/SM1 boards.

Christian
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help