{"id":2221255,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2221255/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260409-ten64-add-usb5744-v1-0-2094496f72c8@traverse.com.au/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260409-ten64-add-usb5744-v1-0-2094496f72c8@traverse.com.au>","list_archive_url":null,"date":"2026-04-09T00:06:30","name":"[0/5] board: ten64: add USB Hub (USB5744) management support","submitter":{"id":72945,"url":"http://patchwork.ozlabs.org/api/1.2/people/72945/?format=json","name":"Mathew McBride","email":"matt@traverse.com.au"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260409-ten64-add-usb5744-v1-0-2094496f72c8@traverse.com.au/mbox/","series":[{"id":499228,"url":"http://patchwork.ozlabs.org/api/1.2/series/499228/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499228","date":"2026-04-09T00:06:30","name":"board: ten64: add USB Hub (USB5744) management support","version":1,"mbox":"http://patchwork.ozlabs.org/series/499228/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2221255/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=traverse.com.au header.i=@traverse.com.au\n header.a=rsa-sha256 header.s=fm1 header.b=jRP3IM8g;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm2 header.b=vsJvcPWc;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=traverse.com.au","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=traverse.com.au header.i=@traverse.com.au\n header.b=\"jRP3IM8g\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.b=\"vsJvcPWc\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=traverse.com.au","phobos.denx.de;\n spf=pass smtp.mailfrom=matt@traverse.com.au"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frgGR1Xw7z1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 10:06:55 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 53E0F83DC9;\n\tThu,  9 Apr 2026 02:06:45 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 63CB884120; Thu,  9 Apr 2026 02:06:44 +0200 (CEST)","from fout-a7-smtp.messagingengine.com\n (fout-a7-smtp.messagingengine.com [103.168.172.150])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5A17983CF5\n for <u-boot@lists.denx.de>; Thu,  9 Apr 2026 02:06:40 +0200 (CEST)","from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42])\n by mailfout.phl.internal (Postfix) with ESMTP id 263D0EC0105;\n Wed,  8 Apr 2026 20:06:39 -0400 (EDT)","from phl-frontend-04 ([10.202.2.163])\n by phl-compute-02.internal (MEProxy); Wed, 08 Apr 2026 20:06:39 -0400","by mail.messagingengine.com (Postfix) with ESMTPA; Wed,\n 8 Apr 2026 20:06:37 -0400 (EDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au;\n h=cc:cc:content-transfer-encoding:content-type:content-type\n :date:date:from:from:in-reply-to:message-id:mime-version\n :reply-to:subject:subject:to:to; s=fm1; t=1775693199; x=\n 1775779599; bh=4X9+LlFmPbVKDELSbtEoqghDVYKaVyqok1sA6Sdms84=; b=j\n RP3IM8g0x3vM7bkXYCwRWuyWw9/MgU98uG5eUwnUoR4HtQRZspEZl47JbWX6miUM\n zek99Z2mhocl6oAugz5cH1lTaO83dpWK6yOTIX+sAy7vUMM071kU8ylwDGiZcbSH\n svp6n0IpiX4P897sP9gR4q6OISym3tzPM/AQy9oSUDj2oQ9DIVn0PXy2SSuJceaZ\n vPxmsnPv8qBI1C1EaClNgL5W1sYuGJp+zKNA8YdfVVK/vdjdyLR/KQymquweM0gK\n SsiiYI5fYrW01utReYfhntnyee9dWhT5OufhPYbE3UHtGMZT146bb8GW76I/V1zL\n oZH0nr3K8VOpbhQRjZDWw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:cc:content-transfer-encoding\n :content-type:content-type:date:date:feedback-id:feedback-id\n :from:from:in-reply-to:message-id:mime-version:reply-to:subject\n :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm2; t=1775693199; x=1775779599; bh=4X9+LlFmPbVKDELSbtEoqghDVYKa\n Vyqok1sA6Sdms84=; b=vsJvcPWcsilRsbehwmvdJYISFoRS/cyS0ta3YciBTyOd\n 7acR8kjm0T+pGKJTD5dn63oQh4XR5XqDBXYGDS1fXssNhUM7j4Yu22MbhyZiWw0j\n ksTz6VaOw6MyneFu4WFO3VWhQ0VJuBMm32HRZHNlabftee5rnWE3vjUreLKmKm5I\n zMt3o3UtlMGgVqT6mlTd+m9OKY3OzyJyfY195l+5XFqGxVbyL8NGFgp51H7RDk96\n JkxtbI2gavW3xWGygY1LkXzH86IlJWwrwVVFJ5AgHQ9XOmoXpluudrsqGngxYnei\n 5U5FYv7Ju/tIeV/mvqfSJftYAlQuyspQCF7Y4rjfyg=="],"X-ME-Sender":"<xms:ju3WaUmRbgS3pflTfVFgOXfUdUaVRIwkN0E_IwnQUdaxAdNHPq1hqQ>\n <xme:ju3WaRy7wZ4bH4lieVTeox1BZUDOUXJpAO6PnXib5bu0Jp3n2qGklz-20_eqlvu33\n qQLmPCCzbs5-RpkDjXvwGkv6xQIAhiY4h7CzdOdVMAyFJ-DxgfgDQ>","X-ME-Received":"\n <xmr:ju3WaaNQLlay6IJDPWCj203xLYndlphOs57QHJKdwC6V_k3paHkfvXx-HEQtKkmNtNmVztkfORmvdchLQoTeTmrBaORjr0uJs3xmew6Aujfjk5MX_q_xc2mM>","X-ME-Proxy-Cause":"\n gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvgeelkecutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr\n ihhlohhuthemuceftddtnecunecujfgurhephffufffkgggtgffvvefosehtjeertdertd\n ejnecuhfhrohhmpeforghthhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghvvghr\n shgvrdgtohhmrdgruheqnecuggftrfgrthhtvghrnhepgffgvdfhteeujedvueehiefgke\n dvkeehgfeugeeludejffegfffffffhtddugfelnecuffhomhgrihhnpehgihhthhhusgdr\n tghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe\n hmrghtthesthhrrghvvghrshgvrdgtohhmrdgruhdpnhgspghrtghpthhtohepvddpmhho\n uggvpehsmhhtphhouhhtpdhrtghpthhtohepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomh\n drrghupdhrtghpthhtohepuhdqsghoohhtsehlihhsthhsrdguvghngidruggv","X-ME-Proxy":"<xmx:ju3WadSyBpzv7WNiP_2Rf4VHAKqHPcGO-5REjRD_-se9gjfJjav6pw>\n <xmx:ju3WaQZPiQL6P9u3rsR0Knq7e2vylzUDdon9OqtolQdV_Em4tCLj7g>\n <xmx:ju3WaS0B0DB5A5AFfERfdWInBuiBW_V_64xREo1VeiVqR0YGfupNiQ>\n <xmx:ju3WaYX2mPlCTfUx31P7deGO5U9MqD4wy0DquB8rGVJW6iBx888rfQ>\n <xmx:j-3WaRlo_1a4Si93sjGJ_kHt1uW28MT7M-HtmPpro0iEIxzLo0FmIBCz>","Feedback-ID":"i426947f3:Fastmail","From":"Mathew McBride <matt@traverse.com.au>","Subject":"[PATCH 0/5] board: ten64: add USB Hub (USB5744) management support","Date":"Thu, 09 Apr 2026 10:06:30 +1000","Message-Id":"<20260409-ten64-add-usb5744-v1-0-2094496f72c8@traverse.com.au>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAIbt1mkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n vPSU3UzU4B8JSMDIzMDEwML3ZLUPDMT3cSUFN3S4iRTcxMTXYPEFNM0s8QUyzQTAyWgvoKi1LT\n MCrCZ0bG1tQBd1akeYwAAAA==","X-Change-ID":"20260408-ten64-add-usb5744-0ad5f6ad9f40","To":"u-boot@lists.denx.de","Cc":"Mathew McBride <matt@traverse.com.au>","X-Mailer":"b4 0.14.3","X-Developer-Signature":"v=1; a=ed25519-sha256; t=1775693197; l=1979;\n i=matt@traverse.com.au; s=20260115; h=from:subject:message-id;\n bh=irxCV+c0OXP6OAmCnJRYzQVujz6+oZ+tzmBwmsvW3Pk=;\n b=BfdMSxpcgcao/6gV0n39fcHp8audcjauuYwuMjTdXRSLuZHaFUtmEjog1EsNyqy+gqo1sLRcb\n +HhSE3PqQQ7Dy1xr4iFq0wNu1o9aCj7O1CBCk6Oxvm/Is+GXw4YKExD","X-Developer-Key":"i=matt@traverse.com.au; a=ed25519;\n pk=SM+aGm9Y2fPJ2prfH/b5lab73fTBrKL5UsJwdzv7Pbg=","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"The main public Ten64 board version (RevC) has a Microchip/SMSC\nUSB hub (USB5744) connected to the second USB controller on the\nLS1088A.\n\nThe USB5744 is configured (by bootstrap pins) not to start automatically,\nrather the firmware has to issue the start commands to the USB5744\nover I2C.\nThe rationale for this is to allow certain ports to be disabled,\nnamely the M.2 Key B slot where the USB3 lanes need to be disabled\nfor a card that is PCI Express only (as the USB3 pins are shared\nwith a PCIe lane).\n(The functionality for this scenario is not present in the mainline\nUSB5744 driver at this time).\n\nFurther testing revealed that some operating systems get stuck at boot\nwhen they start their usb5744 driver, so we hide the USB Hub from\noperating systems by deleting references (fixup) in the FDT prior to handover.\n\nSimilarly, references in U-Boot's internal FDT need to be deleted\nwhen running on a board without the USB hub present.\n\nCI pipeline results are here:\nhttps://github.com/u-boot/u-boot/pull/924\nI had to change the gpio.h #include in usb_onboard_hub.c to\nasm-generic to fix a compile issue (missing stdint types).\nThe CI did not pick up any issues with this.\n\nSigned-off-by: Mathew McBride <matt@traverse.com.au>\n---\nMathew McBride (5):\n      usb: onboard-hub: fix compile issue with gpio.h import\n      board: ten64: add fdt fixup to hide usb hub topology\n      board: ten64: remove USB hub references from internal FDT when needed\n      configs: ten64: enable USB_ONBOARD_HUB (USB5744) option\n      configs: ten64: switch to OF_UPSTREAM\n\n board/traverse/ten64/ten64.c | 62 ++++++++++++++++++++++++++++++++++++++++++++\n common/usb_onboard_hub.c     |  2 +-\n configs/ten64_tfa_defconfig  |  4 ++-\n 3 files changed, 66 insertions(+), 2 deletions(-)\n---\nbase-commit: 0a7e2a90ad4df4235946c2349fc9430e87428d4f\nchange-id: 20260408-ten64-add-usb5744-0ad5f6ad9f40\n\nBest regards,"}