thunderbolt: Implement USB3 bandwidth negotiation routines
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 21 Feb 2020 21:14:41 +0000 (23:14 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 22 Jun 2020 16:58:20 +0000 (19:58 +0300)
commit3b1d8d577ca8d0619c88ac76a943aa4ce11a3027
treeb5fb6f75f02189aeb64cf27bba81fe926722f97d
parentacf815b86768d591d9ac429e3b40c703d911b6ff
thunderbolt: Implement USB3 bandwidth negotiation routines

Each host router USB3 downstream adapter has a set of registers that are
used to negotiate bandwidth between the connection manager and the
internal xHCI controller. These registers allow dynamic bandwidth
management for USB3 isochronous traffic based on what is actually
consumed vs. allocated at any given time.

Implement these USB3 bandwidth negotiation routines to allow the
software connection manager take advantage of these.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tb.h
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/usb4.c