Hi Alexander,
+Marek in Cc as maintainer of this file
On 6/1/26 10:27 AM, Alexander Stein wrote:
From: Markus Niebel <[email protected]>
Add support for the TI TUSB8041 USB3.0 and 2.0 Hub. A reset duration of
3ms is specified in the datasheet.
Matches what you sent to the Linux kernel... /me checks notes... 4 years
ago.
I see a few other compatible with the same configuration in the kernel,
should we add them too in U-Boot?
Reviewed-by: Quentin Schulz <[email protected]>
Thanks!
Quentin
Signed-off-by: Markus Niebel <[email protected]>
Signed-off-by: Alexander Stein <[email protected]>
---
common/usb_onboard_hub.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c
index 6fc34489a98..e7bd0b9ccdd 100644
--- a/common/usb_onboard_hub.c
+++ b/common/usb_onboard_hub.c
@@ -277,6 +277,12 @@ static const struct onboard_hub_data usb5744_data = {
.supply_names = { "vdd-supply" },
};
+static const struct onboard_hub_data tusb8041_data = {
+ .reset_us = 3000,
+ .num_supplies = 1,
+ .supply_names = { "vdd-supply" },
+};
+
static const struct onboard_hub_data usbhx3_data = {
.reset_us = 10000,
.num_supplies = 2,
@@ -293,6 +299,12 @@ static const struct udevice_id usb_onboard_hub_ids[] = {
}, {
.compatible = "usb424,5744", /* USB5744 USB 3.0 */
.data = (ulong)&usb5744_data,
+ }, {
+ .compatible = "usb451,8140", /* TUSB8041 USB 3.0 */
+ .data = (ulong)&tusb8041_data,
+ }, {
+ .compatible = "usb451,8142", /* TUSB8041 USB 2.0 */
+ .data = (ulong)&tusb8041_data,
}, {
.compatible = "usb4b4,6504", /* Cypress HX3 USB 3.0 */
.data = (ulong)&usbhx3_data,