usb: xhci-mtk: support option to disable usb3 ports
Add support to disable specific usb3 ports, it's useful when usb3 phy is shared with PCIe or SATA, because we should disable the corresponding usb3 port if the phy is used by PCIe or SATA. Sometimes it's helpful to analyse and solve problems. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ce370bfdb9
commit
55ba6e9e25
@@ -121,6 +121,7 @@ struct xhci_hcd_mtk {
|
||||
bool has_ippc;
|
||||
int num_u2_ports;
|
||||
int num_u3_ports;
|
||||
int u3p_dis_msk;
|
||||
struct regulator *vusb33;
|
||||
struct regulator *vbus;
|
||||
struct clk *sys_clk; /* sys and mac clock */
|
||||
|
Reference in New Issue
Block a user