-
- Downloads
dm: rtc: Add a uclass for real-time clocks
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 <sjg@chromium.org>
Showing
- drivers/rtc/Kconfig 8 additions, 0 deletionsdrivers/rtc/Kconfig
- drivers/rtc/Makefile 2 additions, 0 deletionsdrivers/rtc/Makefile
- drivers/rtc/rtc-uclass.c 96 additions, 0 deletionsdrivers/rtc/rtc-uclass.c
- include/dm/uclass-id.h 1 addition, 0 deletionsinclude/dm/uclass-id.h
- include/rtc.h 132 additions, 0 deletionsinclude/rtc.h
Loading
Please register or sign in to comment