linux/include/linux/platform_data/usb3503.h
<<
>>
Prefs
   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
  11enum usb3503_mode {
  12        USB3503_MODE_UNKNOWN,
  13        USB3503_MODE_HUB,
  14        USB3503_MODE_STANDBY,
  15};
  16
  17struct usb3503_platform_data {
  18        enum usb3503_mode       initial_mode;
  19        u8      port_off_mask;
  20};
  21
  22#endif
  23