1 /* 1 2 * ds1307.h - platform_data for the ds1307 (an 3 * (C) Copyright 2012 by Wolfram Sang, Pengutr 4 * same license as the driver 5 */ 6 7 #ifndef _LINUX_DS1307_H 8 #define _LINUX_DS1307_H 9 10 #include <linux/types.h> 11 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 17 18 struct ds1307_platform_data { 19 u8 trickle_charger_setup; 20 }; 21 22 #endif /* _LINUX_DS1307_H */ 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.