usb: mtu3: support option to disable usb3 ports
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 13 Oct 2017 09:10:38 +0000 (17:10 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 07:38:10 +0000 (10:38 +0300)
commit076f1a8903d5dadf224f17be63a25bd75d860659
tree2b71d0c70ab9572287182d16e3abce9bfcb19a28
parentc162ff0aaaac456ef29aebd1e9d4d3e305cd3279
usb: mtu3: 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.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3.h
drivers/usb/mtu3/mtu3_host.c
drivers/usb/mtu3/mtu3_plat.c