usb: xhci-mtk: add an optional xhci_ck clock
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 23 Aug 2019 06:40:25 +0000 (14:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2019 20:50:25 +0000 (22:50 +0200)
commitb2fcb285ade36c2339ee6638223a65829ee9907f
treeacb0036b6c0899626e3b0cc7aefb5a303ea72cbd
parente74e8bbff6e3654db55a56d3000ef581a6166944
usb: xhci-mtk: add an optional xhci_ck clock

Some SoCs may have an optional clock xhci_ck (125M or 200M), it
usually uses the same PLL as sys_ck, so support it.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/1566542425-20082-2-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c
drivers/usb/host/xhci-mtk.h