* Sony package version: 52.1.A.0.532 Change-Id: I1537e8c6d1332d72fb7b077ce6ac287fff5efbde Signed-off-by: Sorayukii <sorayukii69@gmail.com>
32 lines
730 B
C
32 lines
730 B
C
/* misc/sim_detect/sim_detect.h
|
|
*
|
|
* Copyright (C) 2017 Sony Mobile Communications Inc.
|
|
*
|
|
* Author: Atsushi Iyogi <atsushi.x.iyogi@sonymobile.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2, as
|
|
* published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef _LINUX_SIM_DETECT_H
|
|
#define _LINUX_SIM_DETECT_H
|
|
|
|
struct device;
|
|
|
|
struct sim_detect_gpio_event {
|
|
int index;
|
|
int gpio;
|
|
int active_low;
|
|
const char *desc;
|
|
int debounce_interval;
|
|
unsigned int irq;
|
|
};
|
|
|
|
struct sim_detect_platform_data {
|
|
int n_events;
|
|
struct sim_detect_gpio_event *events;
|
|
};
|
|
|
|
#endif
|