usb: xhci-mtk: add support optional controller reset
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 23 May 2022 09:04:48 +0000 (17:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 09:50:05 +0000 (11:50 +0200)
commit32b615ed4b7da586eb447212e3d2665b8aa6fdb2
treea7fd705e907fc7c4135ba9fc44c61e2a1a3a3a63
parent0efcd08571e5e769b794a54350e47b3817f3f8c9
usb: xhci-mtk: add support optional controller reset

Add support controller reset via a reset-controller usually in infracfg,
it's different with the software reset by IPPC which only used to reset MAC,
and it will also reset IPPC meanwhile.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220523090449.14430-3-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c