Skip to content

Commit 9c0c570

Browse files
G. LiakhovetskiLinus Torvalds
authored andcommitted
[PATCH] drivers/acorn/char/pcf8583.[hc] vs. RTC subsystem
A port of the driver for the pcf8583 i2c rtc controller to the generic RTC framework by Alessandro Zummo. Based on drivers/acorn/char/{pcf8583.[hc],i2c.c}. Hopefully, acorn can be converted too to use this driver in the future. Signed-off-by: G. Liakhovetski <gl@dsa-ac.de> Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 655066c commit 9c0c570

3 files changed

Lines changed: 405 additions & 0 deletions

File tree

‎drivers/rtc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,16 @@ config RTC_DRV_PCF8563
132132
This driver can also be built as a module. If so, the module
133133
will be called rtc-pcf8563.
134134

135+
config RTC_DRV_PCF8583
136+
tristate "Philips PCF8583"
137+
depends on RTC_CLASS && I2C
138+
help
139+
If you say yes here you get support for the
140+
Philips PCF8583 RTC chip.
141+
142+
This driver can also be built as a module. If so, the module
143+
will be called rtc-pcf8583.
144+
135145
config RTC_DRV_RS5C372
136146
tristate "Ricoh RS5C372A/B"
137147
depends on RTC_CLASS && I2C

‎drivers/rtc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
1616
obj-$(CONFIG_RTC_DRV_DS1307) += rtc-ds1307.o
1717
obj-$(CONFIG_RTC_DRV_DS1672) += rtc-ds1672.o
1818
obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pcf8563.o
19+
obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
1920
obj-$(CONFIG_RTC_DRV_RS5C372) += rtc-rs5c372.o
2021
obj-$(CONFIG_RTC_DRV_M48T86) += rtc-m48t86.o
2122
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o

0 commit comments

Comments
 (0)