summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-uclass.c
Commit message (Collapse)AuthorAgeLines
* dm: rtc: Add a uclass for real-time clocksSimon Glass2015-05-05-0/+96
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>