Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[linux-2.6.git] / include / linux / rtc / ds1307.h
blob291b1c4903671f208e488371cd0ec42b8ca94ee7
1 /*
2 * ds1307.h - platform_data for the ds1307 (and variants) rtc driver
3 * (C) Copyright 2012 by Wolfram Sang, Pengutronix e.K.
4 * same license as the driver
5 */
7 #ifndef _LINUX_DS1307_H
8 #define _LINUX_DS1307_H
10 #include <linux/types.h>
12 #define DS1307_TRICKLE_CHARGER_250_OHM 0x01
13 #define DS1307_TRICKLE_CHARGER_2K_OHM 0x02
14 #define DS1307_TRICKLE_CHARGER_4K_OHM 0x03
15 #define DS1307_TRICKLE_CHARGER_NO_DIODE 0x04
16 #define DS1307_TRICKLE_CHARGER_DIODE 0x08
18 struct ds1307_platform_data {
19 u8 trickle_charger_setup;
22 #endif /* _LINUX_DS1307_H */