Add RTC chip pcf2127 support
PATCH 1/1 Add RTC chip pcf2127 support
This driver compatible with pcf2127 and pcf2129
Signed-off-by Meng Yi <[email protected]>
--- drivers/rtc/Makefile | 1 + drivers/rtc/pcf2127.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 drivers/rtc/pcf2127.c
drivers/rtc/Makefile +1 -0
@@ -45,6 +45,7 @@ obj-$(CONFIG_RTC_MV) += mvrtc.o obj-$(CONFIG_RTC_MX27) += mx27rtc.o obj-$(CONFIG_RTC_MXS) += mxsrtc.o obj-$(CONFIG_RTC_PCF8563) += pcf8563.o +obj-$(CONFIG_RTC_PCF2127) += pcf2127.o obj-$(CONFIG_RTC_PL031) += pl031.o obj-$(CONFIG_RTC_PT7C4338) += pt7c4338.o obj-$(CONFIG_RTC_RS5C372A) += rs5c372.o
drivers/rtc/pcf2127.c new file +94 -0
94 lines not on this page · raw message
Signature · 1 line
2.1.0.27.g96db324
PATCH 1/1 Add RTC chip pcf2127 support
Hi Meng,
Quoted 8 lines · Meng Yi
This driver compatible with pcf2127 and pcf2129
Signed-off-by Meng Yi <[email protected]>--- 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
PATCH 1/1 Add RTC chip pcf2127 support
Hi Simon,
Quoted 13 lines · Meng Yi
Quoted 9 lines
This driver compatible with pcf2127 and pcf2129
Signed-off-by Meng Yi <[email protected]>--- drivers/rtc/Makefile | 1 + drivers/rtc/pcf2127.c | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 drivers/rtc/pcf2127.c
Quoted 2 lines
Please can you convert this to driver model?
Ok, I will do it and send version V2 later.
Quoted 3 lines
See for example
drivers/rtc/sandbox_rtc.c, or perhapsdrivers/rtc/mc146818.c(you can ignore all code except that used byCONFIG_DM_RTC).
Regards,
Meng