rtc: add support for rtc NXP pca8565
PATCH 1/1 rtc: add support for rtc NXP pca8565
This is a patch to add support for
NXP rtc pca8565
Signed-off-by Venkat Prashanth B U <[email protected]>
---
--- drivers/rtc/Kconfig | 9 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-pca8565.c | 221 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 231 insertions(+)
drivers/rtc/Kconfig +9 -0
@@ -392,6 +392,15 @@ config RTC_DRV_PCF8523 This driver can also be built as a module. If so, the module will be called rtc-pcf8523. +config RTC_DRV_PCA8565 + tristate "NXP PCA8565" + help + If you say yes here you get support for the NXP PCA8565 RTC + chips. + + This driver can also be built as a module. If so, the module + will be called rtc-pca8565. + config RTC_DRV_PCF85063 tristate "NXP PCF85063" help
drivers/rtc/Makefile +1 -0
@@ -106,6 +106,7 @@ obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o obj-$(CONFIG_RTC_DRV_OPAL) += rtc-opal.o obj-$(CONFIG_RTC_DRV_PALMAS) += rtc-palmas.o obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o +obj-$(CONFIG_RTC_DRV_PCA8565) += rtc-pca8565.o obj-$(CONFIG_RTC_DRV_PCF2123) += rtc-pcf2123.o obj-$(CONFIG_RTC_DRV_PCF2127) += rtc-pcf2127.o obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
drivers/rtc/rtc-pca8565.c +221 -0
221 lines not on this page · raw message
Signature · 11 lines
1.9.2 -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Hi Venkat,
Quoted 4 lines · VENKAT PRASHANTH B U
This is a patch to add support for
NXP rtc pca8565From a quick look the PCA8565 register layout looks very similar to
PCF8563 which already has a driver (rtc-pcf8563).
Can you use that driver instead of creating a new one? If so; send a patch for rtc-pcf8563 that adds "pca8565" to the set of i2c ids.
regards,
Joachim Eastwood
Signature · 8 lines
You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.