commit | d9050b51068406affd96abe8f7e131962c2128a9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 20 12:37:23 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 05 20:58:39 2015 -0600 |
tree | e4640d8cee4a8aaf6c13c23e1bd067a3b981e8fd | |
parent | 504548f3a282bcbf95c7a5bceb10ae02fc83ad5e [diff] |
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>