Integrate meta-seco-rk/linux-seco-rk/seco_5.10.110_d23
Integrate linux-seco-rk/seco_5.10.110_d23
--
[D23] [DRIVERS] Try to reset RTC Oscillator Stop flag
from dmesg log: [12.498494] rtc rtc0: Power loss detected, invalid time [12.498513] rtc-pcf85063 1-0051: hctosys: unable to read the hardware clock
According to the PCF85063TP data-sheet, the oscillator is considered to be stopped during the time between power-on and stable crystal resonance. The Oscillator stop flag remains set until cleared by command. Before reporting the rtc error, try clearing the flag to check if the rtc oscillator is running.
thanks to Michele Cirinei michele.cirinei@seco.com for the proposed log messages
--
[D23] [DEFCONFIG] Disable RTC RK808 driver
RTC device node is already disabled in device tree. Disable driver in defconfig as well to fix RTC driver probe failure. from dmesg log: [ 12.492967] rk808-rtc rk808-rtc: device is disabled [ 12.493022] rk808-rtc: probe of rk808-rtc failed with error -22
--
[D23] [DTS] Disable RTC provided by the PMIC
Board has a RTC PCF85063TP with battery as backup power supply.