mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
35
drivers/pinctrl/samsung/secgpio_dvs.h
Normal file
35
drivers/pinctrl/samsung/secgpio_dvs.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* secgpio_dvs.h -- Samsung GPIO debugging and verification system
|
||||
*/
|
||||
|
||||
#ifndef __SECGPIO_DVS_H
|
||||
#define __SECGPIO_DVS_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
enum gdvs_phone_status {
|
||||
PHONE_INIT = 0,
|
||||
PHONE_SLEEP,
|
||||
GDVS_PHONE_STATUS_MAX
|
||||
};
|
||||
|
||||
struct gpiomap_result_t {
|
||||
unsigned char *init;
|
||||
unsigned char *sleep;
|
||||
};
|
||||
|
||||
struct gpio_dvs_t {
|
||||
struct gpiomap_result_t *result;
|
||||
unsigned int count;
|
||||
bool check_sleep;
|
||||
void (*check_gpio_status)(unsigned char phonestate);
|
||||
int (*get_nr_gpio)(void);
|
||||
};
|
||||
|
||||
void gpio_dvs_check_initgpio(void);
|
||||
void gpio_dvs_check_sleepgpio(void);
|
||||
|
||||
/* list of all exported SoC specific data */
|
||||
extern struct gpio_dvs_t exynos7570_secgpio_dvs;
|
||||
extern int exynos7570_secgpio_get_nr_gpio(void);
|
||||
#endif /* __SECGPIO_DVS_H */
|
Loading…
Add table
Add a link
Reference in a new issue