aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/usb3503_otg_conn.h
blob: 224a87efe2cf6b9bdbaa12f8a255ff65a7b74eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef USB3503_H
#define USB3503_H

#define USB3503_I2C_NAME "usb3503"
int usb3503_set_mode(int mode);

enum {
	USB_3503_MODE_HUB = 0,
	USB_3503_MODE_STANDBY = 1,
};

struct usb3503_platform_data {
	bool init_needed;
	bool es_ver;
	char inital_mode;
	int (*hw_config)(void);
	int (*reset_n)(int);
	int (*port_enable)(int, int);
};

#endif