From: Weijie Gao Date: Wed, 15 Apr 2020 15:17:07 +0800 Subject: [PATCH v5 10/14] xhci: mediatek: Add support for MTK xHCI host controller In-Reply-To: <1586497552-12194-11-git-send-email-chunfeng.yun@mediatek.com> References: <1586497552-12194-1-git-send-email-chunfeng.yun@mediatek.com> <1586497552-12194-11-git-send-email-chunfeng.yun@mediatek.com> Message-ID: <1586935027.26858.137.camel@mcddlt001> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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