From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52CA7C5DF97 for ; Sat, 22 Aug 2026 07:48:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FtA/CR5xvtL7ApqII4icS4lK66slI0vXOPxAXMB+yzw=; b=xwzih7tn8vCdoi hIzkQk6011FH70cie/pqtQQc+LgHv9k6UtGPHA3cqFS4Run6nfOkwSQJt3yS9rERHTglMwX9swAFs ye3O2nw+AYdKM8blTbnP12JEpWdSeZFZjPR497Ps9Lip3A/6FTErxeZj71vs1vggJafIVDX7mUpDn Vbf/Q+LszITere0qnWWwnnkL9x4rls3IVYvEZJ3bs46yEhO9+0EHfQbZxDGOsBCLuZWCfcRzsRU+U C/ZEVVYtzkrtBSoAsAMq/MVsBAypsu84bKj5xBTLtrKzQINAWxJTl06ihbKaqFbyosOCTl/cCyG1h kAHparZ9ndC9o2/ehpBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxgTB-0000000ELkT-2OkN; Sat, 22 Aug 2026 07:48:49 +0000 Received: from [2a00:f820:417:0:178:251:229:89] (helo=mx.nabladev.com) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wxgT2-0000000ELh2-47nC; Sat, 22 Aug 2026 07:48:42 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 736C011C80D; Sat, 22 Aug 2026 09:48:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nabladev.com; s=dkim; t=1787384905; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=ApgKLGERBQ+N6zwIr4Wb6+GNo707nJxKKU4VrpSyuZo=; b=QDKqKIciwavWcNQf5Jm8iI6sIaNCwaVPj3CjCK8tLa/xPVQue/j4pB1j9JrfnNPrMYePqa ES6qm0/orPkUjp3FCDy7SnhQRX8/sa12YJoxweyvta6S+Fffvca1eNEPJcEzrBprY/PUrb 8wKYlNE0Sh4bx8Xo1G8PEQ2O/c7dt5QwnnPt+8TXQDV6JG/F7dN+LJV3+Y+DhodmDFVP2W GMZo8oEXcsUJ817/7PTzO09QOr2rot/3IGyWFT50jY0G+W32ETtGbkHkwtIMZGqJFHh4Hv 3vhNlF8fHhrf7m7S9bqlRJtE54M/s+QgpCC6dkfdV/+OfZIUihVqyS6TSXtamQ== From: Marek Vasut To: linux-usb@vger.kernel.org Cc: fabrice.gasnier@foss.st.com, Marek Vasut , Alexandre Torgue , Christian Bruel , Conor Dooley , Greg Kroah-Hartman , Krzysztof Kozlowski , Maxime Coquelin , Neil Armstrong , Pankaj Dev , Rahul Kumar , Rob Herring , Rosen Penev , Thinh Nguyen , Vinod Koul , devicetree@vger.kernel.org, kernel@dh-electronics.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v3 0/9] arm64: dts: phy: st: usb: Add STM32MP2 USB support Date: Sat, 22 Aug 2026 09:46:33 +0200 Message-ID: <20260822074816.548662-1-marex@nabladev.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260822_004841_162225_FED75B95 X-CRM114-Status: GOOD ( 10.18 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add USB support for STM32MP23xx/STM32MP25xx SoCs. This includes USB 2.0 FEMTO-PHY driver, DWC3 glue code and DT adjustments. Parts of this are taken from ST downstream kernel fork, reduced, or rewritten, since not all of the content there was useful and bits which might be missing and are useful can be added later. Unlike the downstream implementation, the DWC3 glue code is using plain dwc3-generic-plat, the EHCI and OHCI controllers are instantiated as plain generic controllers without any wrapper glue driver, and the USB2 PHY driver is simplified. Both USB 2.0 Host controller and DWC3 super-speed controller are tested. Marek Vasut (6): dt-bindings: usb: generic-ehci: Document access-controllers property dt-bindings: usb: generic-ohci: Document access-controllers property dt-bindings: usb: dwc3: Document ST STM32MP2 DWC3 xHCI USB controller usb: dwc3: dwc3-generic-plat: Add ST STM32MP2 DWC3 xHCI USB controller glue dt-bindings: arm: stm32: Switch st,stm32mp23/25-syscfg into simple-mfd arm64: dts: st: Add USB nodes on stm32mp231 Pankaj Dev (3): dt-bindings: phy: Document ST STM32MP25 USB2-FEMTO PHY phy: stm32: Add support for ST STM32MP25 USB2-FEMTO PHY arm64: dts: st: Add USB nodes on stm32mp251 .../bindings/arm/stm32/st,stm32-syscon.yaml | 24 +- .../bindings/phy/st,stm32-usb2phy.yaml | 67 +++ .../devicetree/bindings/usb/generic-ehci.yaml | 3 + .../devicetree/bindings/usb/generic-ohci.yaml | 3 + .../bindings/usb/st,stm32mp25-dwc3.yaml | 97 +++++ arch/arm64/boot/dts/st/stm32mp231.dtsi | 67 ++- arch/arm64/boot/dts/st/stm32mp251.dtsi | 65 ++- drivers/phy/st/Kconfig | 10 + drivers/phy/st/Makefile | 1 + drivers/phy/st/phy-stm32-usb2phy.c | 406 ++++++++++++++++++ drivers/usb/dwc3/dwc3-generic-plat.c | 44 ++ 11 files changed, 781 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/st,stm32-usb2phy.yaml create mode 100644 Documentation/devicetree/bindings/usb/st,stm32mp25-dwc3.yaml create mode 100644 drivers/phy/st/phy-stm32-usb2phy.c Cc: Alexandre Torgue Cc: Christian Bruel Cc: Conor Dooley Cc: Fabrice Gasnier Cc: Greg Kroah-Hartman Cc: Krzysztof Kozlowski Cc: Maxime Coquelin Cc: Neil Armstrong Cc: Pankaj Dev Cc: Rahul Kumar Cc: Rob Herring Cc: Rosen Penev Cc: Thinh Nguyen Cc: Vinod Koul Cc: devicetree@vger.kernel.org Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-phy@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-usb@vger.kernel.org -- 2.53.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy