01-22-2020, 04:00 PM
(12-18-2019, 05:04 PM)xalius Wrote: Reading hardware clock from RK808 should work on the Debian images with BSP kernel, on the Manjaro image with mainline, hwclock currently can't read the time from the RK808, there is a bug somewhere...
It looks like that's a device tree issue.
From https://lkml.org/lkml/2020/1/21/551:
Code:
> + rk808: pmic@1b {
> + compatible = "rockchip,rk808";
> + reg = <0x1b>;
> + interrupt-parent = <&gpio1>;
> + interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
Interrupt GPIO is not correct, should be 10. This will stop the RTC from
working correctly.