summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2020-05-02 11:35:18 +0200
committerMarek Vasut <[email protected]>2020-05-02 12:32:28 +0200
commit74102834154c2e575c14e050a62f63e2e52f96de (patch)
tree9db43679cb0a1d3e77e7d0e4bd59da712ce41b22 /include/usb
parent4d4abbd783688f08da2e3e525d19917744d75a81 (diff)
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 <[email protected]> Signed-off-by: Frank Wunderlich <[email protected]> Reviewed-by: Weijie Gao <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/xhci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usb/xhci.h b/include/usb/xhci.h
index 60175044884..20e4a21066f 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