]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: rtc: sandbox: Add a driver for the sandbox I2C RTC
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:25 +0000 (12:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:14 +0000 (22:37 +0200)
commitbfaaa156214b4b0b5c78f856cf890f3ba0e018d4
treea65f5ba9d96eedd9eda83ca1f74abf2608df2ce4
parent39cb22ad8b9db7c90cf88aabab5f25c8da65992a
dm: rtc: sandbox: Add a driver for the sandbox I2C RTC

Add a driver which communicates with the sandbox I2C emulation RTC device
and permits it to be used in U-Boot. This driver is very simple - it just
reads and writes selected I2C registers in the device.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/rtc/Makefile
drivers/rtc/sandbox_rtc.c [new file with mode: 0644]