]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci-mtk: support option to disable ports
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 23 Dec 2020 01:52:20 +0000 (09:52 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 10 Feb 2021 21:23:24 +0000 (22:23 +0100)
commit04232f78b31ba94d837c3468338f9ce03668cb83
tree7854fdb77ff67641a88223bb9ccea2066626a5e3
parentc7182c02cefb11431a79a8abb4d8a821e4a478b5
usb: xhci-mtk: support option to disable ports

Add support to disable specific ports, it's useful for some
scenarios:
1. usb3 PHY is shared whith PCIe or SATA, the corresponding
   usb3 port can be disabled;
2. some usb2 or usb3 ports are not used on special platforms,
   they should be disabled to save power.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/usb/host/xhci-mtk.c