1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __USB3503_H__ 3 #define __USB3503_H__ 4 5 #define USB3503_I2C_NAME "usb3503" 6 7 #define USB3503_OFF_PORT1 (1 << 1) 8 #define USB3503_OFF_PORT2 (1 << 2) 9 #define USB3503_OFF_PORT3 (1 << 3) 10 11 enum usb3503_mode { 12 USB3503_MODE_UNKNOWN, 13 USB3503_MODE_HUB, 14 USB3503_MODE_STANDBY, 15 USB3503_MODE_BYPASS, 16 }; 17 18 struct usb3503_platform_data { 19 enum usb3503_mode initial_mode; 20 u8 port_off_mask; 21 }; 22 23 #endif 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.