[U-Boot] [U-Boot, 2/2] rtc: rv3029: update to support DM and sync with Linux 4.17

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Nov 30 21:05:49 UTC 2018


> The "Flamingo" carrier-board for the RK3399-Q7 has a RV3029 populated
> and the application will use the off-module RV3029 RTC including the
> battery backed SRAM.
> 
> To support this use case, this commit includes the following changes:
>  * updates the rv3029 driver to use DM
>  * implements the read8/write8 operations
> 
> This syncs the implementation with the Linux code (based on 4.17),
> porting the trickle-charger support from there (with improvements to
> avoid unnecessary EEPROM updates) and adheres to the Linux DTS
> binding.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Tested-by: Klaus Goger <klaus.goger at theobroma-systems.com>
> ---
> 
>  drivers/rtc/rv3029.c         | 580 +++++++++++++++++++++++++++++++++----------
>  scripts/config_whitelist.txt |   1 -
>  2 files changed, 443 insertions(+), 138 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list