M7350/kernel/include/linux/input/mpu3050.h

32 lines
808 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __MPU3050_H__
#define __MPU3050_H__
struct mpu3050_gyro_platform_data {
int poll_interval;
int min_interval;
int (*init)(void);
void (*exit)(void);
int (*power_on)(void);
int (*power_off)(void);
int gpio_int;
int gpio_fsync;
};
#endif /* __MPU3050_H__ */