mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-24 02:48:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
9 lines
298 B
Plaintext
9 lines
298 B
Plaintext
config DM_RTC
|
|
bool "Enable Driver Model for RTC drivers"
|
|
depends on DM
|
|
help
|
|
Enable drver model for real-time-clock drivers. The RTC uclass
|
|
then provides the rtc_get()/rtc_set() interface, delegating to
|
|
drivers to perform the actual functions. See rtc.h for a
|
|
description of the API.
|