
30 Nov
2016
30 Nov
'16
1:34 a.m.
Hi Meng,
On 28 November 2016 at 22:32, Meng Yi meng.yi@nxp.com wrote:
This driver compatible with pcf2127 and pcf2129
Signed-off-by: Meng Yi meng.yi@nxp.com
drivers/rtc/Makefile | 1 + drivers/rtc/pcf2127.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 drivers/rtc/pcf2127.c
Please can you convert this to driver model?
See for example drivers/rtc/sandbox_rtc.c, or perhaps drivers/rtc/mc146818.c (you can ignore all code except that used by CONFIG_DM_RTC).
Regards, Simon