blob: 6dd446c11cc23351736915eff79d9cc63e012874 [file] [log] [blame]
Bingzhe Cai440b8352013-07-26 01:02:29 +08001/*
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 */
16struct 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 Cai1ccffb72013-07-26 01:31:19 +080026 uint32_t int_flags;
Bingzhe Caiab00b7d2013-08-23 13:51:56 +080027 bool use_fir;
Bingzhe Cai440b8352013-07-26 01:02:29 +080028};
29
30#endif /* __STK3X1X_H__ */