xref: /OK3568_Linux_fs/kernel/include/linux/platform_data/rtc-ds2404.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * ds2404.h - platform data structure for the DS2404 RTC.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
5*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
6*4882a593Smuzhiyun  * for more details.
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  * Copyright (C) 2012 Sven Schnelle <svens@stackframe.org>
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef __LINUX_DS2404_H
12*4882a593Smuzhiyun #define __LINUX_DS2404_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun struct ds2404_platform_data {
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun 	unsigned int gpio_rst;
17*4882a593Smuzhiyun 	unsigned int gpio_clk;
18*4882a593Smuzhiyun 	unsigned int gpio_dq;
19*4882a593Smuzhiyun };
20*4882a593Smuzhiyun #endif
21