aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rtc/ds1307.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-05-29rtc: ds1307: add trickle charger supportWolfram Sang1-0/+22
Some DS13XX devices have "trickle chargers". Its configuration register is at different locations, the setup is the same, though. Since the configuration is board specific, introduce a platform_data to this driver. Tested with a DS1339 on a custom board. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Cc: Alessandro Zummo <alessandro.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>