Linux 4.6-rc6
[cris-mirror.git] / include / linux / i2c / mms114.h
blob5722ebfb27382d73d241e758a3665f24866c3cf8
1 /*
2 * Copyright (C) 2012 Samsung Electronics Co.Ltd
3 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundationr
8 */
10 #ifndef __LINUX_MMS114_H
11 #define __LINUX_MMS114_H
13 struct mms114_platform_data {
14 unsigned int x_size;
15 unsigned int y_size;
16 unsigned int contact_threshold;
17 unsigned int moving_threshold;
18 bool x_invert;
19 bool y_invert;
21 void (*cfg_pin)(bool);
24 #endif /* __LINUX_MMS114_H */