[U-Boot] [PATCH v2 0/4] rtc: m41t62: Convert the m41t62 driver to use driver model (DM)

Lukasz Majewski lukma at denx.de
Thu Nov 22 13:54:30 UTC 2018


This series enables using this driver with DM aware boards


Changes in v2:
- New patch
- Extract common RTC handling code to avoid #ifdefs for CONFIG_DM_RTC
- Provide extra patch to group DM_RTC functions together (easier to
  maintain)

Changes in v1:
- None

Lukasz Majewski (4):
  Kconfig: Migrate CONFIG_RTC_M41T62 define to Kconfig
  rtc: m41t62: Break i2c_write() arguments to fix checkpatch warning
  rtc: m41t62: Extract common RTC handling code to facilitate DM
    conversion
  rtc: m41t62: Convert the RTC driver to support the driver model (DM)

 configs/bk4r1_defconfig      |   1 +
 configs/m53menlo_defconfig   |   1 +
 configs/pcm052_defconfig     |   1 +
 configs/x600_defconfig       |   1 +
 drivers/rtc/Kconfig          |   6 +++
 drivers/rtc/m41t62.c         | 112 ++++++++++++++++++++++++++++++++++++++-----
 include/configs/m53menlo.h   |   1 -
 include/configs/pcm052.h     |   1 -
 include/configs/x600.h       |   1 -
 scripts/config_whitelist.txt |   1 -
 10 files changed, 109 insertions(+), 17 deletions(-)

-- 
2.11.0



More information about the U-Boot mailing list