From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- drivers/input/misc/stk3x1x.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 drivers/input/misc/stk3x1x.h (limited to 'drivers/input/misc/stk3x1x.h') diff --git a/drivers/input/misc/stk3x1x.h b/drivers/input/misc/stk3x1x.h new file mode 100644 index 00000000..2d3cc79b --- /dev/null +++ b/drivers/input/misc/stk3x1x.h @@ -0,0 +1,31 @@ +/* + * + * $Id: stk3x1x.h + * + * Copyright (C) 2012~2013 Lex Hsieh + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file COPYING in the main directory of this archive for + * more details. + * + */ +#ifndef __STK3X1X_H__ +#define __STK3X1X_H__ + +/* platform data */ +struct stk3x1x_platform_data +{ + uint8_t state_reg; + uint8_t psctrl_reg; + uint8_t alsctrl_reg; + uint8_t ledctrl_reg; + uint8_t wait_reg; + uint16_t ps_thd_h; + uint16_t ps_thd_l; + int int_pin; + uint32_t transmittance; + uint32_t int_flags; +}; + + +#endif // __STK3X1X_H__ \ No newline at end of file -- cgit v1.3.1