diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2020-05-02 12:35:18 +0300 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-05-02 13:32:28 +0300 |
commit | 74102834154c2e575c14e050a62f63e2e52f96de (patch) | |
tree | 9db43679cb0a1d3e77e7d0e4bd59da712ce41b22 /include/usb | |
parent | 4d4abbd783688f08da2e3e525d19917744d75a81 (diff) | |
download | u-boot-74102834154c2e575c14e050a62f63e2e52f96de.tar.xz |
xhci: mediatek: Add support for MTK xHCI host controller
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@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/xhci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usb/xhci.h b/include/usb/xhci.h index 6017504488..20e4a21066 100644 --- a/include/usb/xhci.h +++ b/include/usb/xhci.h @@ -670,6 +670,9 @@ struct xhci_ep_ctx { /* deq bitmasks */ #define EP_CTX_CYCLE_MASK (1 << 0) +/* reserved[0] bitmasks, MediaTek xHCI used */ +#define EP_BPKTS(p) (((p) & 0x7f) << 0) +#define EP_BBM(p) (((p) & 0x1) << 11) /** * struct xhci_input_control_context |