[U-Boot] [PATCH 12/20] dm: rtc: Add a uclass for real-time clocks

Simon Glass sjg at chromium.org
Mon May 4 16:20:32 CEST 2015


On 20 April 2015 at 12:37, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/rtc/Kconfig      |   8 +++
>  drivers/rtc/Makefile     |   2 +
>  drivers/rtc/rtc-uclass.c |  96 ++++++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h   |   1 +
>  include/rtc.h            | 132 +++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 239 insertions(+)
>  create mode 100644 drivers/rtc/rtc-uclass.c

Applied to u-boot-dm.


More information about the U-Boot mailing list