1 #ifndef __USB3503_H__ 2 #define __USB3503_H__ 3 4 #define USB3503_I2C_NAME "usb3503" 5 6 #define USB3503_OFF_PORT1 (1 << 1) 7 #define USB3503_OFF_PORT2 (1 << 2) 8 #define USB3503_OFF_PORT3 (1 << 3) 9 10 enum usb3503_mode { 11 USB3503_MODE_UNKNOWN, 12 USB3503_MODE_HUB, 13 USB3503_MODE_STANDBY, 14 }; 15 16 struct usb3503_platform_data { 17 enum usb3503_mode initial_mode; 18 u8 port_off_mask; 19 int gpio_intn; 20 int gpio_connect; 21 int gpio_reset; 22 }; 23 24 #endif 25