blob: 61a2920a8faafd4fe8511ff199c6fa88bd27c5d8 [file] [log] [blame]
Wentao Xudac9e602012-06-12 11:52:34 -04001/*
Duy Truonge833aca2013-02-12 13:35:08 -08002 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
Wentao Xudac9e602012-06-12 11:52:34 -04003 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14
15#ifndef __MPU3050_H__
16#define __MPU3050_H__
17
18struct mpu3050_gyro_platform_data {
19 int poll_interval;
20 int min_interval;
21
22 int (*init)(void);
23 void (*exit)(void);
24 int (*power_on)(void);
25 int (*power_off)(void);
26
27 int gpio_int;
28 int gpio_fsync;
29};
30
31#endif /* __MPU3050_H__ */