diff options
| author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-11-06 18:07:00 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-14 12:10:21 -0400 |
| commit | 1a4fbf6a9286a6e3db497bc7bbae2024f0f1ad90 (patch) | |
| tree | d436f52669a239d8494c565715114aaa336a9946 /include/linux/iio | |
| parent | 398fd22b6b94cb15c1c299bceecd63644a1b17b4 (diff) | |
iio: accel: kxcjk1013 3-axis accelerometer driver
This patch adds IIO driver for KXCJK 1013 triaxis accelerometer sensor.
The specifications for this driver is downloaded from:
http://www.kionix.com/sites/default/files/KXCJK-1013%20Specifications%20Rev%202.pdf
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
| -rw-r--r-- | include/linux/iio/accel/kxcjk_1013.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/iio/accel/kxcjk_1013.h b/include/linux/iio/accel/kxcjk_1013.h new file mode 100644 index 000000000000..fd1d540ea62d --- /dev/null +++ b/include/linux/iio/accel/kxcjk_1013.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * KXCJK-1013 3-axis accelerometer Interface | ||
| 3 | * Copyright (c) 2014, Intel Corporation. | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify it | ||
| 6 | * under the terms and conditions of the GNU General Public License, | ||
| 7 | * version 2, as published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 12 | * more details. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #ifndef __IIO_KXCJK_1013_H__ | ||
| 16 | #define __IIO_KXCJK_1013_H__ | ||
| 17 | |||
| 18 | struct kxcjk_1013_platform_data { | ||
| 19 | bool active_high_intr; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif | ||
