Bingzhe Cai | 440b835 | 2013-07-26 01:02:29 +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 | uint8_t state_reg; |
| 18 | uint8_t psctrl_reg; |
| 19 | uint8_t alsctrl_reg; |
| 20 | uint8_t ledctrl_reg; |
| 21 | uint8_t wait_reg; |
| 22 | uint16_t ps_thd_h; |
| 23 | uint16_t ps_thd_l; |
| 24 | int int_pin; |
| 25 | uint32_t transmittance; |
Bingzhe Cai | 1ccffb7 | 2013-07-26 01:31:19 +0800 | [diff] [blame] | 26 | uint32_t int_flags; |
Bingzhe Cai | ab00b7d | 2013-08-23 13:51:56 +0800 | [diff] [blame] | 27 | bool use_fir; |
Bingzhe Cai | 440b835 | 2013-07-26 01:02:29 +0800 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | #endif /* __STK3X1X_H__ */ |