blob: f3c942f396f822e04334ca49442aab9f6016df72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __USB3503_H__
#define __USB3503_H__
#define USB3503_I2C_NAME "usb3503"
#define USB3503_OFF_PORT1 (1 << 1)
#define USB3503_OFF_PORT2 (1 << 2)
#define USB3503_OFF_PORT3 (1 << 3)
enum usb3503_mode {
USB3503_MODE_UNKNOWN,
USB3503_MODE_HUB,
USB3503_MODE_STANDBY,
USB3503_MODE_BYPASS,
};
struct usb3503_platform_data {
enum usb3503_mode initial_mode;
u8 port_off_mask;
};
#endif
|