[U-Boot] [PATCH] Add RTC chip pcf2127 support

Simon Glass sjg at chromium.org
Wed Nov 30 01:34:36 CET 2016


Hi Meng,

On 28 November 2016 at 22:32, Meng Yi <meng.yi at nxp.com> wrote:
> This driver compatible with pcf2127 and pcf2129
>
> Signed-off-by: Meng Yi <meng.yi at 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


More information about the U-Boot mailing list