mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 10:16:51 +07:00
6a099c6365
This patch adds new driver of SMSC USB3503 USB 2.0 hub controller with HSIC upstream connectivity and three USB 2.0 downstream ports. The specification can be found from 'http://www.smsc.com/index.php?tid=295&pid=325'. The current version have been tested very basic features switching the modes, HUB-MODE and STANDBY-MODE. Signed-off-by: Dongjin Kim <tobetter@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
297 B
C
20 lines
297 B
C
#ifndef __USB3503_H__
|
|
#define __USB3503_H__
|
|
|
|
#define USB3503_I2C_NAME "usb3503"
|
|
|
|
enum usb3503_mode {
|
|
USB3503_MODE_UNKNOWN,
|
|
USB3503_MODE_HUB,
|
|
USB3503_MODE_STANDBY,
|
|
};
|
|
|
|
struct usb3503_platform_data {
|
|
enum usb3503_mode initial_mode;
|
|
int gpio_intn;
|
|
int gpio_connect;
|
|
int gpio_reset;
|
|
};
|
|
|
|
#endif
|