From: Chris Packham Date: Sat, 22 Apr 2017 04:27:41 +1200 Subject: [U-Boot] [PATCH v1 0/2] DS1307 RTC update Message-ID: <20170421162743.9881-1-judge.packham@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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