Re: [PATCH] ARM: dts: imx6qdl-hummingboard: Add rtc0 and rtc1 aliases to fix hctosys

From: Russell King (Oracle)
Date: Thu Jan 18 2024 - 11:07:43 EST


On Thu, Jan 18, 2024 at 04:01:10PM +0100, Josua Mayer wrote:
> HummingBoard has two RTCs, first integrated within SoC that can be used to
> wake up from sleep - and a second on the carrier board including back-up
> battery which is intended for keeping time during power-off.
>
> Add aliases for both, ensuring that the battery-backed clock is primary
> rtc and used by default during boot for restoring system time.

Given that the snvs RTC isn't battery backed, should we even be enabling
that in DT?

Also, have you seen any issues such as:

[ 0.933249] rtc-pcf8523 0-0068: failed to set xtal load capacitance: -11
[ 0.933505] rtc-pcf8523: probe of 0-0068 failed with error -11

which seems to be exhibiting itself on my SolidSense board?

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!