From patchwork Fri Oct 14 09:26:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 13006842 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 C1955C4332F for ; Fri, 14 Oct 2022 09:28:46 +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=8skkQ5X5X/WxyFalSRXJ5pSL75iQqohbcvc/pLZ/ptk=; b=wZ4SdxeKKiSIwq aTmk0TIxYpevu6d3HiOsyGBYGpvK1Tcua4MQrZ3Qo0IQLkHQ0z9+7aG+CF+kUFuAWwLhcIjsodmP/ 4nBQrCn8kVJCNTBeY66TwiDnelb4g3xIyuEhOye3aRVJ3oe4APW37+jYAxbmKBmolnFs9efUkwwMV ngrtpmS3R379GDMLyGSft2tz5uTblLuYqCzvjmvaFNQvUcKWq/XcYatbgUgWmAg9jWEuWH2H02UCf JuqQiGQJd4dJE4cnRWgpmH+pb+P4sayC/fcrW791RsUhKTEbm3QsFL8N6VEPSiBijEbYRaVlasHEM I3PhjkY3CwOOepqcHJbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojGyo-00ED5h-2Y; Fri, 14 Oct 2022 09:27:46 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojGyj-00ED4Q-Ma for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 09:27:43 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29E77Hew023247; Fri, 14 Oct 2022 11:27:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=fPnbtOy06TMn1DTm+aL02K49WdHSqDZcH3ig0RdQW+w=; b=WMQDODOWFUwRPKDth4MgqUQnNFJct0VDftAPfUxNfM5JAldcGFn70ju5Hb473jk2R5F1 CFS8nuhXGC6Mm471vM+da+9SMBVhYcTuBY/aq/bK+1MVrCirvZtAKO3Nd4iwd+Av7poV MwrONzOCtr+pOAbZYJ0rK3lmTj/+5DWlidECNgS+ahyUwb1seP/ZMgsxCbEgO+ClL2Q/ 5BOaKJgojjn+tdahFX+K4UPi6RphfZTwlZyPu5YYH4qNu2gPLth1yNVeiNXIVSqhPgNT akcvLknMljBtEj68XCuQj9JufMefL2po7sSayNVLjQh2ry0vp5l6a3kI42kcjy9dtyzk tA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3k64m7v4fr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 11:27:35 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DD10110002A; Fri, 14 Oct 2022 11:27:30 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D28F721A904; Fri, 14 Oct 2022 11:27:30 +0200 (CEST) Received: from localhost (10.75.127.117) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 11:27:29 +0200 From: Fabrice Gasnier To: , , CC: , , , , , Subject: [PATCH 00/10] Add support for USB on STM32MP13 Date: Fri, 14 Oct 2022 11:26:41 +0200 Message-ID: <20221014092651.25202-1-fabrice.gasnier@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.117] X-ClientProxiedBy: GPXDAG2NODE4.st.com (10.75.127.68) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-14_05,2022-10-13_01,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_022742_030325_989A54D4 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for USBPHYC, USB Host and USB OTG on STM32MP13. Enable all these interfaces on STM32MP135F-DK board. Enable the STM32G0 UCSI driver as module. Dependency on PWR and PMIC regulator is tempoarily managed by using fixed regulators (resp in the SoC dtsi and the board dts files). The USB support is functional when these regulators gets enabled at boot time before entering the kernel. Amelie Delaunay (5): ARM: dts: stm32: add USBPHYC and dual USB HS PHY support on stm32mp131 ARM: dts: stm32: add UBSH EHCI and OHCI support on stm32mp131 ARM: dts: stm32: add USB OTG HS support on stm32mp131 ARM: dts: stm32: enable USB HS phys on stm32mp135f-dk ARM: dts: stm32: enable USB Host EHCI on stm32mp135f-dk Fabrice Gasnier (5): ARM: dts: stm32: add PWR fixed regulators on stm32mp131 ARM: dts: stm32: add fixed regulators to support usb on stm32mp135f-dk ARM: dts: stm32: add pins for stm32g0 typec controller on stm32mp13 ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk ARM: multi_v7_defconfig: enable Type-C UCSI and STM32G0 as modules arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 7 ++ arch/arm/boot/dts/stm32mp131.dtsi | 81 ++++++++++++++++++++ arch/arm/boot/dts/stm32mp135f-dk.dts | 95 ++++++++++++++++++++++++ arch/arm/configs/multi_v7_defconfig | 2 + 4 files changed, 185 insertions(+)