rtc: Add an RTC driver for the AS3722 PMIC.

Hardware / Coreboot - Gabe Black [google.com] - 30 December 2014 15:11 UTC

The AS3722 PMIC, like many PMICs, has an RTC built into it. This change adds a driver for it which implements the new RTC API.

BUG=None TEST=Built and booted with the event log code modified to use this interface.
Verified that events had accurate timestamps. BRANCH=nyan

Original-Change-Id: I400adccbf84221dcba8d520276bb91b389f72268

abb001a rtc: Add an RTC driver for the AS3722 PMIC.
src/drivers/Kconfig | 1 +
src/drivers/Makefile.inc | 1 +
src/drivers/ams/Kconfig | 11 +++++
src/drivers/ams/Makefile.inc | 1 +
src/drivers/ams/as3722rtc.c | 91 ++++++++++++++++++++++++++++++++++++++++++
5 files changed, 105 insertions(+)

Upstream: review.coreboot.org


  • Share