[PATCH v5 10/14] xhci: mediatek: Add support for MTK xHCI host controller
Weijie Gao
weijie.gao at mediatek.com
Wed Apr 15 09:17:07 CEST 2020
On Fri, 2020-04-10 at 13:45 +0800, Chunfeng Yun wrote:
> This patch is used to support the on-chip xHCI controller on
> MediaTek SoCs, currently control/bulk/interrupt transfers are
> supported.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> v5:
> 1. print error number suggested by Marek
> 2. support interrupt transfer
>
> v4:
> 1. use phy_bulk API
>
> v3:
> 1. use macro approach to access registers suggested by Marek
>
> v2:
> 1. use clk_bulk to get clocks suggested by Marek
> 2. use clrsetbits_le32() etc suggeseted by Marek
> ---
> drivers/usb/host/Kconfig | 6 +
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/xhci-mtk.c | 296 ++++++++++++++++++++++++++++++++++++
> drivers/usb/host/xhci.c | 10 ++
> include/usb/xhci.h | 3 +
> 5 files changed, 316 insertions(+)
> create mode 100644 drivers/usb/host/xhci-mtk.c
>
Reviewed-by: Weijie Gao <weijie.gao at mediatek.com>
More information about the U-Boot
mailing list