Skip to content

Add a simple rtc framework

Antony Pavlov barebox 4 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 1 replyApplied
  2. v3 RFC5 patches 12 repliesSuperseded
  3. v2 RFC5 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC5 patches11 repliesSuperseded

Changes in v4 from the cover letter

* rebase over latest 'next';
* hwclock: add additional checks;
* add jz4740 driver; make appropriate changes
for jz4755 and Ritmix RZX50 support;
* fix copyright information.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/9lib: import 'bcd' from linux-3.15include/linux/bcd.h lib/Makefile lib/bcd.c+37 -00 replies
2/9Add a simple rtc frameworkdrivers/Kconfig drivers/Makefile drivers/rtc/Kconfig +5 more+209 -00 replies
3/9rtc: import ds1307 driver from linux-3.15drivers/rtc/Kconfig drivers/rtc/Makefile drivers/rtc/rtc-ds1307.c+373 -00 replies
4/9commands: add hwclockcommands/Kconfig commands/Makefile commands/hwclock.c+170 -00 replies
5/9ARM: versatilepb_defconfig: enable RTC supportarch/arm/configs/versatilepb_defconfig+2 -00 replies
6/9rtc-lib: import rtc_time_to_tm() from linux-3.15drivers/rtc/rtc-lib.c include/linux/rtc.h+46 -00 replies
7/9rtc: add jz4740 driverdrivers/rtc/Kconfig drivers/rtc/Makefile drivers/rtc/rtc-jz4740.c+173 -00 replies
8/9MIPS: dts: jz4755.dtsi: add jz4740-rtcarch/mips/dts/jz4755.dtsi+5 -00 replies
9/9MIPS: ritmix-rzx50_defconfig: enable RTC supportarch/mips/configs/ritmix-rzx50_defconfig+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/9] Add a simple rtc framework

Changes since RFC v3:

* rebase over latest 'next';
* hwclock: add additional checks;
* add jz4740 driver; make appropriate changes
for jz4755 and Ritmix RZX50 support;
* fix copyright information.

Changes since RFC v2:

* rtc/Kconfig: fix formatting, dependencies and help sections;
* hwclock: read time into environment variable.

Changes 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 (9):
lib: import 'bcd' from linux-3.15
Add a simple rtc framework
rtc: import ds1307 driver from linux-3.15
commands: add hwclock
ARM: versatilepb_defconfig: enable RTC support
rtc-lib: import rtc_time_to_tm() from linux-3.15
rtc: add jz4740 driver
MIPS: dts: jz4755.dtsi: add jz4740-rtc
MIPS: ritmix-rzx50_defconfig: enable RTC support

 arch/arm/configs/versatilepb_defconfig   |   2 +
 arch/mips/configs/ritmix-rzx50_defconfig |   3 +
 arch/mips/dts/jz4755.dtsi                |   5 +
 commands/Kconfig                         |   8 +
 commands/Makefile                        |   1 +
 commands/hwclock.c                       | 161 ++++++++++++++
 drivers/Kconfig                          |   1 +
 drivers/Makefile                         |   1 +
 drivers/rtc/Kconfig                      |  44 ++++
 drivers/rtc/Makefile                     |  11 +
 drivers/rtc/class.c                      |  70 +++++++
 drivers/rtc/rtc-ds1307.c                 | 347 +++++++++++++++++++++++++++++++
 drivers/rtc/rtc-jz4740.c                 | 165 +++++++++++++++
 drivers/rtc/rtc-lib.c                    | 113 ++++++++++
 include/linux/bcd.h                      |  22 ++
 include/linux/rtc.h                      |  47 +++++
 include/rtc.h                            |   2 +
 lib/Makefile                             |   1 +
 lib/bcd.c                                |  14 ++
 19 files changed, 1018 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-jz4740.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
Signature · 7 lines
2.0.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox