Tim Wawrzynczak has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/47412 )
Change subject: soc/intel/tigerlake: Implmement soc_get_north_xhci_usb_info ......................................................................
soc/intel/tigerlake: Implmement soc_get_north_xhci_usb_info
TGL's North XHCI controller supports 1 USB2 port and 4 USB3 ports; add the register offset information in order to log wakes from these ports.
Change-Id: I90b5baba0bcc0228f6f21977e96cde774a608e59 Signed-off-by: Tim Wawrzynczak twawrzynczak@chromium.org --- A src/soc/intel/tigerlake/north_xhci.c 1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/47412/1
diff --git a/src/soc/intel/tigerlake/north_xhci.c b/src/soc/intel/tigerlake/north_xhci.c new file mode 100644 index 0000000..5ca6430 --- /dev/null +++ b/src/soc/intel/tigerlake/north_xhci.c @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <intelblocks/north_xhci.h> + +#define USB2_PORT_STATUS_REG 0x480 +#define USB3_PORT_STATUS_REG 0x490 +#define USB2_PORT_NUM 1 +#define USB3_PORT_NUM 4 + +static const struct north_xhci_usb_info usb_info = { + .usb2_port_status_reg = USB2_PORT_STATUS_REG, + .num_usb2_ports = USB2_PORT_NUM, + .usb3_port_status_reg = USB3_PORT_STATUS_REG, + .num_usb3_ports = USB3_PORT_NUM, +}; + +const struct north_xhci_usb_info *soc_get_north_xhci_usb_info(void) +{ + return &usb_info; +}
Attention is currently required from: Tim Wawrzynczak. Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47412 )
Change subject: soc/intel/tigerlake: Implmement soc_get_north_xhci_usb_info ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1: Tim, is this patch still needed?
Tim Wawrzynczak has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/47412 )
Change subject: soc/intel/tigerlake: Implmement soc_get_north_xhci_usb_info ......................................................................
Abandoned
superseded by CB:47396
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47412 )
Change subject: soc/intel/tigerlake: Implmement soc_get_north_xhci_usb_info ......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Tim, is this patch still needed?
thanks for keeping me honest Angel!