{"id":2228851,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2228851/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260427-topic-am33-evm-oftree-v2026-01-v7-10-7e6cd1a805a1@baylibre.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/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},"msgid":"<20260427-topic-am33-evm-oftree-v2026-01-v7-10-7e6cd1a805a1@baylibre.com>","date":"2026-04-27T09:01:26","name":"[v7,10/14] am33xx: Support upstream devicetree USB device","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"b7f88ad8e698d377c814d8a5c5c416612c7fd8e3","submitter":{"id":82333,"url":"http://patchwork.ozlabs.org/api/1.1/people/82333/?format=json","name":"Markus Schneider-Pargmann","email":"msp@baylibre.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.1/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260427-topic-am33-evm-oftree-v2026-01-v7-10-7e6cd1a805a1@baylibre.com/mbox/","series":[{"id":501644,"url":"http://patchwork.ozlabs.org/api/1.1/series/501644/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=501644","date":"2026-04-27T09:01:16","name":"arm: am335x: Switch to upstream devicetree","version":7,"mbox":"http://patchwork.ozlabs.org/series/501644/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2228851/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2228851/checks/","tags":{},"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=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=xcT5yWWG;\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=baylibre.com","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=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.b=\"xcT5yWWG\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com","phobos.denx.de;\n spf=pass smtp.mailfrom=msp@baylibre.com"],"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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g43Tl0Lvlz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 22:56:11 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E460484329;\n\tMon, 27 Apr 2026 14:54:45 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 413358416F; Mon, 27 Apr 2026 11:03:34 +0200 (CEST)","from mail-wm1-x334.google.com (mail-wm1-x334.google.com\n [IPv6:2a00:1450:4864:20::334])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B9D1E841DF\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 11:03:28 +0200 (CEST)","by mail-wm1-x334.google.com with SMTP id\n 5b1f17b1804b1-4890d945eb4so49570575e9.0\n for <u-boot@lists.denx.de>; Mon, 27 Apr 2026 02:03:28 -0700 (PDT)","from localhost ([2001:4090:a246:83ca:1917:a47e:1872:2063])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4891cc7b2efsm329716395e9.0.2026.04.27.02.03.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 02:03:27 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1777280608;\n x=1777885408;\n darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=dfbfH8v4xySYdPtSrwrUYkHcl/53g9TkVInwERrltt4=;\n b=xcT5yWWGiRtmlavruteSDQ40frUWGXp6lr1AyHcr6/KS7/NgyYOOOv8nqT3j0q3jpH\n hbNX0kZlGu9Ly79n5tWySth18whnSAoXHdun93UQOzkdqZnRcZ+1lHObTxuGiOkrEHVV\n PNtn9byB4WNmaexEvuoKEfc699a5vURtMN3h7s5LKGfQXE/cBKkku/467Ql/lxt7luJq\n u2duF9MlsiK9B8ICrQPok4b3or97KIaWrozGe6wSHCAmWNzBqfgk3YgQqBIOMnOkI3R7\n G+vRsjeuHM/lGivswj2q+MqogLzCA02MPptvpPFdMEtMuzR/ae39yZKdchQnNrHoRBUW\n GEiw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777280608; x=1777885408;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=dfbfH8v4xySYdPtSrwrUYkHcl/53g9TkVInwERrltt4=;\n b=GY3gi4b9C1sT//XmTZwlKCEr2fupNn5qVlXO9AhXfjmHKUs1sAJWsXNH+uZ3ZYqaIh\n HV23SBdH4fTE9t95TD66vrkzNCo0NxMH8uiYLR1t0H1X4Jot//jNrPQ000OlIo4hr1of\n vnKfOOMZ6ZRSFeX48jSCMzTjE6Fm+S0cTyvH4UObwJKIB4dHBvqD71+lDhZZm9yK8eNn\n dPx4c/q743dhh4aWReiqeZsmrrxHixWtlSbHTBvFITGKAsTC41eeUGcDcvrB/7SRCLs/\n d44d3BCmIKivfD1fgMpt05cNeiKqYGkXWdyFaeurSTHnPcsWyTTUU021Ha+yL3TSzSTN\n JYew==","X-Gm-Message-State":"AOJu0YxfsW0eIUYb3sYPDhXSYEJzVlo1h9J5fj43g/E+6VFSNOhVx+29\n FoBKyvuAc5VtwA95k8NWphNElgPRSuVicD4g+hltXo8HACUD8HGyhPzLxncuvIfY4RE=","X-Gm-Gg":"AeBDieuEFG8XKajGLaB/TIHkUr0o5euaMm1Ij81rma6VX1xARG8lkOc2IY2BbvZ76fH\n Bl4jMAA/YRfp2cGB3Eei2hc26ke/pZw5MsT9bjuyndNraP/8gL4XhbFO/Bae2mG+GZb4qYanB1u\n clDFKHu4bCEX7l5s6fCvz1dxNel+HysC++wEpOKDC8RrOlrLf7uxyGdvkcn/WsARCSudcAA4zhV\n +OpvXOQ7TRafCutCFCsByi4OzOvfXNiUXB4FzNdg33rAXRkyW5+ACz9NhSCYtfBqf+enn87VWP5\n 5oG8YGvWU399+GfkfWlXoLhqBSCVakIFqNqHF+wBQNeAR+SHP/yhAF0J6zjD1as5TFDtv5rdAFU\n 2puLaix+r02LFg9Sak4zZccVjYmCjojvmhM0OH64z1a44BY94kTiZSHxpICwI4Qina1QOMBGLRc\n 5kwfwzK7/m3w3SD9wWIHmxvkCEzTxPmhM=","X-Received":"by 2002:a05:600c:8b6b:b0:485:3c2e:60d5 with SMTP id\n 5b1f17b1804b1-488fb8859ddmr558600955e9.2.1777280608079;\n Mon, 27 Apr 2026 02:03:28 -0700 (PDT)","From":"\"Markus Schneider-Pargmann (TI)\" <msp@baylibre.com>","Date":"Mon, 27 Apr 2026 11:01:26 +0200","Subject":"[PATCH v7 10/14] am33xx: Support upstream devicetree USB device","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","Message-Id":"\n <20260427-topic-am33-evm-oftree-v2026-01-v7-10-7e6cd1a805a1@baylibre.com>","References":"\n <20260427-topic-am33-evm-oftree-v2026-01-v7-0-7e6cd1a805a1@baylibre.com>","In-Reply-To":"\n <20260427-topic-am33-evm-oftree-v2026-01-v7-0-7e6cd1a805a1@baylibre.com>","To":"u-boot@lists.denx.de, Marc Murphy <marc.murphy@sancloud.com>","Cc":"Tom Rini <trini@konsulko.com>, Rasmus Villemoes <ravi@prevas.dk>,\n  Kory Maincent <kory.maincent@bootlin.com>,\n  Marek Vasut <marek.vasut+renesas@mailbox.org>,\n  Romain Gantois <romain.gantois@bootlin.com>,\n  Parvathi Pudi <parvathi@couthit.com>,\n  Basharath Hussain Khaja <basharath@couthit.com>,\n  Paul Barker <paul.barker@sancloud.com>, \"Andrew F. Davis\" <afd@ti.com>,\n  Simon Glass <sjg@chromium.org>, Anshul Dalal <anshuld@ti.com>,\n  Michael Trimarchi <michael@amarulasolutions.com>,\n  Patrick Delaunay <patrick.delaunay@foss.st.com>,\n  Patrice Chotard <patrice.chotard@foss.st.com>,\n  Svyatoslav Ryhel <clamor95@gmail.com>,\n  Tien Fong Chee <tien.fong.chee@altera.com>,\n  Frieder Schrempf <frieder.schrempf@kontron.de>,\n  Johan Jonker <jbx6244@gmail.com>, Brian Sune <briansune@gmail.com>,\n  Hai Pham <hai.pham.ud@renesas.com>,\n  Bernhard Messerklinger <bernhard.messerklinger@at.abb.com>,\n  Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,\n  Parth Pancholi <parth.pancholi@toradex.com>,\n =?utf-8?q?Jonas_Schw=C3=B6bel?= <jonasschwoebel@yahoo.de>,\n  Paul Kocialkowski <contact@paulk.fr>,\n  Andre Przywara <andre.przywara@arm.com>, Paresh Bhagat <p-bhagat@ti.com>,\n  Ion Agorria <ion@agorria.com>, Peng Fan <peng.fan@nxp.com>,\n  \"Markus Schneider-Pargmann (TI)\" <msp@baylibre.com>","X-Mailer":"b4 0.14.2","X-Developer-Signature":"v=1; a=openpgp-sha256; l=1798; i=msp@baylibre.com;\n h=from:subject:message-id; bh=oGUl/xSpWiXGTDltDl4GA7ou+PXomTKYifn9AASTqDE=;\n b=owGbwMvMwCXWejAsc4KoVzDjabUkhsz3atZa4cn7tF+mVKxexOP4a9s3NfF8g2PFRXsSQ3nOn\n i4UerKqo5SFQYyLQVZMkaUzMTTtv/zOY8mLlm2GmcPKBDKEgYtTACay+BIjw8Jl/3pc3vQGu9U4\n 1O6JOOBQlSS+b3fyMqazd0917/9vfoThr6RxOudqEe9bjxp/s+QUMUrMTHUNdU95n+f8yUHwbN5\n dTgA=","X-Developer-Key":"i=msp@baylibre.com; a=openpgp;\n fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41","X-Mailman-Approved-At":"Mon, 27 Apr 2026 14:54:41 +0200","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":"Support musb being probed by ti,musb-am33xx. The non-upstream DT probing\nused a wrapper driver that probed ti-musb-peripheral and ti-musb-host.\nThis wrapper registered as UCLASS_MISC, which is why it is requested in\nthis board.c file.\n\nWith the new devicetree the wrapper that registers as UCLASS_MISC is\ngone, instead the UCLASS_USB and UCLASS_USB_GADGET_GENERIC have to be\nrequested.\n\nSigned-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>\n---\n arch/arm/mach-omap2/am33xx/board.c | 20 ++++++++++++--------\n 1 file changed, 12 insertions(+), 8 deletions(-)","diff":"diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c\nindex c3931900622957a5499fe6483473c61e3a62fff0..5a006cf309b08d0e035faeb675368da73076e7ed 100644\n--- a/arch/arm/mach-omap2/am33xx/board.c\n+++ b/arch/arm/mach-omap2/am33xx/board.c\n@@ -264,15 +264,19 @@ int arch_misc_init(void)\n int arch_misc_init(void)\n {\n \tstruct udevice *dev;\n-\tint ret;\n+\tint ret = 0;\n \n-\t/*\n-\t * Trigger probe of the UCLASS_MISC device which is a USB wrapper driver\n-\t * ti-musb-wrapper that handles all usb host and gadget devices.\n-\t */\n-\tret = uclass_first_device_err(UCLASS_MISC, &dev);\n-\tif (ret)\n-\t\tprintf(\"Failed probing USB %d, continue without USB\\n\", ret);\n+\tif (!IS_ENABLED(CONFIG_OF_UPSTREAM)) {\n+\t\t/*\n+\t\t * Trigger probe of the UCLASS_MISC device which is a USB\n+\t\t * wrapper driver ti-musb-wrapper that handles all usb host and\n+\t\t * gadget devices. Note that with OF_UPSTREAM the devices are\n+\t\t * bound directly, no wrapper necessary.\n+\t\t */\n+\t\tret = uclass_first_device_err(UCLASS_MISC, &dev);\n+\t\tif (ret)\n+\t\t\tprintf(\"Failed probing USB %d, continue without USB\\n\", ret);\n+\t}\n \n #if defined(CONFIG_DM_ETH) && defined(CONFIG_USB_ETHER)\n \tif (!ret)\n","prefixes":["v7","10/14"]}