[RFC v3 0/5] add rtc support
Antony Pavlov
antonynpavlov at gmail.com
Mon Jul 14 13:48:31 PDT 2014
Chages since RFC v2:
* rtc/Kconfig: fix formatting, dependencies and help sections;
* hwclock: read time into environment variable.
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.
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 | 151 +++++++++++++++
drivers/Kconfig | 1 +
drivers/Makefile | 1 +
drivers/rtc/Kconfig | 37 ++++
drivers/rtc/Makefile | 10 +
drivers/rtc/class.c | 53 +++++
drivers/rtc/rtc-ds1307.c | 345 +++++++++++++++++++++++++++++++++
drivers/rtc/rtc-lib.c | 66 +++++++
include/linux/bcd.h | 22 +++
include/linux/rtc.h | 46 +++++
include/rtc.h | 2 +
lib/Makefile | 1 +
lib/bcd.c | 14 ++
16 files changed, 760 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
More information about the barebox
mailing list