Duncan Laurie has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
mb/google/volteer: Enable USB4 retimer driver
Enable the USB4 retimer driver with GPP_H10 as the power control.
Signed-off-by: Duncan Laurie dlaurie@google.com Change-Id: I166bc477f94c159bb411620a6bf77b5d1f194fb2 --- M src/mainboard/google/volteer/Kconfig M src/mainboard/google/volteer/variants/baseboard/devicetree.cb 2 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/44919/1
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index 4867fea..44f6738 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -8,6 +8,7 @@ select DRIVERS_I2C_SX9310 select DRIVERS_INTEL_DPTF select DRIVERS_INTEL_PMC + select DRIVERS_INTEL_USB4_RETIMER select DRIVERS_I2C_MAX98373 select DRIVERS_INTEL_SOUNDWIRE select DRIVERS_SPI_ACPI diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb index 2717acd..82e3e5a 100644 --- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb @@ -392,6 +392,10 @@ device ref tbt_dma0 on probe DB_USB USB4_GEN2 probe DB_USB USB4_GEN3 + chip drivers/intel/usb4/retimer + register "power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H10)" + device generic 0 on end + end end device ref gna on end device ref north_xhci on end
Tim Wawrzynczak has uploaded a new patch set (#2) to the change originally created by Duncan Laurie. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
mb/google/volteer: Enable USB4 retimer driver
Enable the USB4 retimer driver with GPP_H10 as the power control.
Change-Id: I166bc477f94c159bb411620a6bf77b5d1f194fb2 Signed-off-by: Duncan Laurie dlaurie@google.com --- M src/mainboard/google/volteer/Kconfig M src/mainboard/google/volteer/variants/baseboard/devicetree.cb 2 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/44919/2
Caveh Jalali has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... PS2, Line 396: ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H10) my reading of the BB spec is that this is a signal to keep the chip from going to sleep. i'm not sure why we unconditionally assert this in gpio.c now. also, it's active high.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... PS2, Line 396: ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H10)
my reading of the BB spec is that this is a signal to keep the chip from […]
Right, I think this is for FW updates, so it can apply the update, then turn it off and on again? Will fix the polarity.
Tim Wawrzynczak has uploaded a new patch set (#3) to the change originally created by Duncan Laurie. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
mb/google/volteer: Enable USB4 retimer driver
Enable the USB4 retimer driver with GPP_H10 as the power control.
Change-Id: I166bc477f94c159bb411620a6bf77b5d1f194fb2 Signed-off-by: Duncan Laurie dlaurie@google.com --- M src/mainboard/google/volteer/Kconfig M src/mainboard/google/volteer/variants/baseboard/devicetree.cb 2 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/44919/3
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 4: Code-Review+2
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/2/src/mainboard/google/voltee... PS2, Line 396: ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H10)
Right, I think this is for FW updates, so it can apply the update, then turn it off and on again? Wi […]
Done
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... PS4, Line 395: drivers/intel/usb4/retimer Just curious: Is this retimer used on all variants?
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... PS4, Line 395: drivers/intel/usb4/retimer
Just curious: Is this retimer used on all variants?
The retimer is required for any that have usb4 so the probe statements should enable/disable it properly. we're using DB_USB because that is what volteer had, but it can be on the MLB (like voxel) where it still sets DB_USB=USB4_GEN3 at least.
All the usb4 designs also seem to stick to GPP_H10 for power control, even if it has multiple retimers, although that could in theory change in a future design.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... File src/mainboard/google/volteer/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/44919/4/src/mainboard/google/voltee... PS4, Line 395: drivers/intel/usb4/retimer
The retimer is required for any that have usb4 so the probe statements should enable/disable it prop […]
Ack.
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/44919 )
Change subject: mb/google/volteer: Enable USB4 retimer driver ......................................................................
mb/google/volteer: Enable USB4 retimer driver
Enable the USB4 retimer driver with GPP_H10 as the power control.
Change-Id: I166bc477f94c159bb411620a6bf77b5d1f194fb2 Signed-off-by: Duncan Laurie dlaurie@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/44919 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nick Vaccaro nvaccaro@google.com --- M src/mainboard/google/volteer/Kconfig M src/mainboard/google/volteer/variants/baseboard/devicetree.cb 2 files changed, 5 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Nick Vaccaro: Looks good to me, approved
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index edc9c91..69f58b5 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -8,6 +8,7 @@ select DRIVERS_I2C_SX9310 select DRIVERS_INTEL_DPTF select DRIVERS_INTEL_PMC + select DRIVERS_INTEL_USB4_RETIMER select DRIVERS_I2C_MAX98373 select DRIVERS_INTEL_SOUNDWIRE select DRIVERS_SPI_ACPI diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb index 28d903f..7486aef 100644 --- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb @@ -426,6 +426,10 @@ device ref tbt_dma0 on probe DB_USB USB4_GEN2 probe DB_USB USB4_GEN3 + chip drivers/intel/usb4/retimer + register "power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H10)" + device generic 0 on end + end end device ref gna on end device ref north_xhci on end