On 20 April 2015 at 12:37, Simon Glass <[email protected]> wrote: > Add a uclass for real-time clocks which support getting the current time, > setting it and resetting the chip to a known-working state. Some RTCs have > additional registers which can be used to store settings, so also provide > an interface to these. > > Signed-off-by: Simon Glass <[email protected]> > --- > > drivers/rtc/Kconfig | 8 +++ > drivers/rtc/Makefile | 2 + > drivers/rtc/rtc-uclass.c | 96 ++++++++++++++++++++++++++++++++++ > include/dm/uclass-id.h | 1 + > include/rtc.h | 132 > +++++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 239 insertions(+) > create mode 100644 drivers/rtc/rtc-uclass.c
Applied to u-boot-dm. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

