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
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 */
This page took 0.031917 seconds and 6 git commands to generate.