[U-Boot] [PATCH v3] rtc: Add RTC chip pcf2127 support

Simon Glass sjg at chromium.org
Sat Dec 3 19:40:09 CET 2016


On 2 December 2016 at 21:26, Simon Glass <sjg at chromium.org> wrote:
> On 30 November 2016 at 20:57, Meng Yi <meng.yi at nxp.com> wrote:
>> This driver just implemented rtc_get and rtc_set function for
>> the compatibility of pcf2127 and pcf2129, and didn't make use
>> of pcf2127's 512 bytes of general-purpose static RAM since
>> pcf2129 don't have any static RAM.
>>
>> Signed-off-by: Meng Yi <meng.yi at nxp.com>
>> ---
>> change in V3:
>> -fix coding style and return value check
>> change in V2:
>> -convert to using u-boot driver module
>> ---
>>  drivers/rtc/Kconfig   |  10 +++++
>>  drivers/rtc/Makefile  |   1 +
>>  drivers/rtc/pcf2127.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 120 insertions(+)
>>  create mode 100644 drivers/rtc/pcf2127.c
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list