blob: 33625bd931d71f9a9a28a5a0149abc7410d7a224 [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;
26};
27
28#endif /* __STK3X1X_H__ */