Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dm: rtc: Correct rtc_read32() return value | Simon Glass | 2015-10-21 | 1 | -1/+1 |
| | | | | | | | | The current check is incorrect and will fail when any non-zero byte is read. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> | ||||
* | dm: rtc: Add a uclass for real-time clocks | Simon Glass | 2015-05-05 | 1 | -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> |