[U-Boot] [PATCH v1 0/2] DS1307 RTC update

Chris Packham judge.packham at gmail.com
Fri Apr 21 16:27:41 UTC 2017


The first patch is the addition of a KConfig option for the date
command. I haven't updated any boards to use the new option due to the
sheer number of boards that would affect. It's probably better if board
maintainers switch if/when they're ready.

The second patch is the change I really want to see. As it allows me to
switch a board I'm working on over to the driver model. I've tried to
replicate the non-DM version of the driver faithfully but I've only got
access to a ds1340 device so I can't be sure that the mcp7941x specific
code is correct.

Chris Packham (2):
  cmd: add Kconfig option for 'date' command
  rtc: Add DM support to ds1307

 cmd/Kconfig          |   6 ++
 drivers/rtc/Kconfig  |   7 ++
 drivers/rtc/ds1307.c | 196 ++++++++++++++++++++++++++++++++++++++++++++++-----
 3 files changed, 190 insertions(+), 19 deletions(-)

-- 
2.10.1



More information about the U-Boot mailing list