From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [RFC v2 0/5] add rtc support
Date: Mon, 14 Jul 2014 14:56:15 +0400 [thread overview]
Message-ID: <1405335380-17996-1-git-send-email-antonynpavlov@gmail.com> (raw)
Chages since RFC v1:
* rebase over latest 'next';
* fix copy'n'paste side effects;
* add hwclock set time function;
* make hwclock options more close to util-linux hwclock;
* rtc-ds1307: add ds1338 chip support (used in versatile);
* use qemu-versatile for testing.
TODOs:
* make it possible to read time into environment variable.
Antony Pavlov (5):
lib: import 'bcd' from linux-3.15
add rtc support
rtc: import ds1307 driver from linux-3.15
commands: add hwclock
ARM: versatilepb_defconfig: enable RTC support
arch/arm/configs/versatilepb_defconfig | 2 +
commands/Kconfig | 8 +
commands/Makefile | 1 +
commands/hwclock.c | 136 +++++++++++++
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/rtc/Kconfig | 45 +++++
drivers/rtc/Makefile | 10 +
drivers/rtc/class.c | 53 +++++
drivers/rtc/rtc-ds1307.c | 345 +++++++++++++++++++++++++++++++++
drivers/rtc/rtc-lib.c | 55 ++++++
include/linux/bcd.h | 22 +++
include/linux/rtc.h | 45 +++++
include/rtc.h | 2 +
lib/Makefile | 1 +
lib/bcd.c | 14 ++
16 files changed, 741 insertions(+)
create mode 100644 commands/hwclock.c
create mode 100644 drivers/rtc/Kconfig
create mode 100644 drivers/rtc/Makefile
create mode 100644 drivers/rtc/class.c
create mode 100644 drivers/rtc/rtc-ds1307.c
create mode 100644 drivers/rtc/rtc-lib.c
create mode 100644 include/linux/bcd.h
create mode 100644 include/linux/rtc.h
create mode 100644 lib/bcd.c
--
2.0.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2014-07-14 10:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 10:56 Antony Pavlov [this message]
2014-07-14 10:56 ` [RFC v2 1/5] lib: import 'bcd' from linux-3.15 Antony Pavlov
2014-07-14 10:56 ` [RFC v2 2/5] add rtc support Antony Pavlov
2014-07-14 12:40 ` Antony Pavlov
2014-07-14 10:56 ` [RFC v2 3/5] rtc: import ds1307 driver from linux-3.15 Antony Pavlov
2014-07-14 12:48 ` Antony Pavlov
2014-07-14 10:56 ` [RFC v2 4/5] commands: add hwclock Antony Pavlov
2014-07-14 10:56 ` [RFC v2 5/5] ARM: versatilepb_defconfig: enable RTC support Antony Pavlov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405335380-17996-1-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox