summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/include/asm/rtc.h
Commit message (Collapse)AuthorAgeFilesLines
* dm: rtc: sandbox: Add an emulated I2C RTC deviceSimon Glass2015-05-051-0/+28
Add a sandbox I2C emulation device which emulates a real-time clock. The clock works off an offset from the current system time, and supports setting and getting the clock, as well as access to byte-width regisers in the RTC. It does not support changing the system time. This device can be used for testing the 'date' command on sandbox, as well as the RTC uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
OpenPOWER on IntegriCloud