Hi Meng,

On 28 November 2016 at 22:32, Meng Yi <meng...@nxp.com> wrote:
> This driver compatible with pcf2127 and pcf2129
>
> Signed-off-by: Meng Yi <meng...@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to