Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44918 )
Change subject: drivers/intel/usb4: Add driver for USB4 retimer device
......................................................................
Patch Set 12:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44918/12/src/drivers/intel/usb4/ret...
File src/drivers/intel/usb4/retimer/retimer.c:
https://review.coreboot.org/c/coreboot/+/44918/12/src/drivers/intel/usb4/ret...
PS12, Line 39: 0x0F
When bit 0 is set, it means that "more bits follow":
Even in that case this will have to be 0x3 and not 0xF. There are 2 additional functions supported with revision 1 i.e. "Query force power enable state" and "Set force power state". So, this should be returning 0x3.
Why not adjust the function so that accounting for this bit is unnecessary?
That is a good idea. I think that will help eliminate some of the confusion. Basically, the query function will have to be implemented by the generic helper and it will have to take in sets of functions for each revision. Anyways, I think that should be done as a separate change.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/44918
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icfb85dc3c0885d828aba3855a66109043250ab86
Gerrit-Change-Number: 44918
Gerrit-PatchSet: 12
Gerrit-Owner: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Caveh Jalali
caveh@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Wed, 14 Oct 2020 01:02:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment