zzz | b7673aa | 2013-07-24 02:55:43 +0800 | [diff] [blame^] | 1 | /* |
2 | * | ||||
3 | * $Id: stk3x1x.h | ||||
4 | * | ||||
5 | * Copyright (C) 2012 Lex Hsieh <lex_hsieh@sitronix.com.tw> | ||||
6 | * | ||||
7 | * This file is subject to the terms and conditions of the GNU General Public | ||||
8 | * License. See the file COPYING in the main directory of this archive for | ||||
9 | * more details. | ||||
10 | * | ||||
11 | */ | ||||
12 | #ifndef __STK3X1X_H__ | ||||
13 | #define __STK3X1X_H__ | ||||
14 | |||||
15 | /* platform data */ | ||||
16 | struct stk3x1x_platform_data | ||||
17 | { | ||||
18 | uint8_t state_reg; | ||||
19 | uint8_t psctrl_reg; | ||||
20 | uint8_t alsctrl_reg; | ||||
21 | uint8_t ledctrl_reg; | ||||
22 | uint8_t wait_reg; | ||||
23 | uint16_t ps_thd_h; | ||||
24 | uint16_t ps_thd_l; | ||||
25 | int int_pin; | ||||
26 | uint32_t transmittance; | ||||
27 | }; | ||||
28 | |||||
29 | #endif // __STK3X1X_H__ |