root/include/linux/platform_data/usb3503.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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 };
  16 
  17 struct usb3503_platform_data {
  18         enum usb3503_mode       initial_mode;
  19         u8      port_off_mask;
  20         int     gpio_intn;
  21         int     gpio_connect;
  22         int     gpio_reset;
  23 };
  24 
  25 #endif

/* [<][>][^][v][top][bottom][index][help] */