![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * board initialization should put one of these into dev->platform_data 0004 * and place the sl811hs onto platform_bus named "sl811-hcd". 0005 */ 0006 0007 #ifndef __LINUX_USB_SL811_H 0008 #define __LINUX_USB_SL811_H 0009 0010 struct sl811_platform_data { 0011 unsigned can_wakeup:1; 0012 0013 /* given port_power, msec/2 after power on till power good */ 0014 u8 potpg; 0015 0016 /* mA/2 power supplied on this port (max = default = 250) */ 0017 u8 power; 0018 0019 /* sl811 relies on an external source of VBUS current */ 0020 void (*port_power)(struct device *dev, int is_on); 0021 0022 /* pulse sl811 nRST (probably with a GPIO) */ 0023 void (*reset)(struct device *dev); 0024 0025 /* some boards need something like these: */ 0026 /* int (*check_overcurrent)(struct device *dev); */ 0027 /* void (*clock_enable)(struct device *dev, int is_on); */ 0028 }; 0029 0030 #endif /* __LINUX_USB_SL811_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |