usb: mtu3: add optional clock xhci_ck and frmcnt_ck
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 17 Apr 2023 02:52:03 +0000 (10:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 09:17:05 +0000 (11:17 +0200)
commit41792870dc1cb8305ca04d563cabd63833e94762
tree8e8f39fa763b59594e41524660d88eafdc3ea310
parentd10cb206acb45b9a0aa83318f0101bb56c33b7de
usb: mtu3: add optional clock xhci_ck and frmcnt_ck

Add optional clock 'xhci_ck' which is usually the same as sys_ck, but
some SoC use two separated clocks when the controller supports dual
role mode;
Add optional clock 'frmcnt_ck' used on 4nm or advanced process SoC.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20230417025203.18097-7-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3.h
drivers/usb/mtu3/mtu3_plat.c