From patchwork Fri Oct 14 14:14:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 13007046 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 EA519C4332F for ; Fri, 14 Oct 2022 14:16:43 +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=JLKpoYrUuPz1ux6HzUt47L/lSa/urYj0s0T5w9IRATo=; b=k3Uc+O6Sh9Z6fU yTrL2VK4wccruT2Xwm3lMHH3oXUH2uvQMcq4qiBZOxXeJNpKvmvztMLb5k7ywwQv2OGA7oMG+mAgF mvcbEG2QMctgDrtDvRKGpwB67Ke+wnfzvqwoHhA9U/B/j+lw2Xj/OfL03gxbN+tiF0y21aqHnXQMB vLXrwF85bYMLz4BFRCATU7krLO0HJftj/Fa8D201vaTWao92zth3yTf0M8k2FIngNwjYVNHOTNYnf pJQ1GxNG/UBisCVWutS/atCyA02ws7HY7DkvmFJ1B/umkJHX5XVCJr1Z/ACVXD+gFHarQ6gTTNd3c KP6ezGQll77D+sdPN74Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojLTQ-00EwkF-1F; Fri, 14 Oct 2022 14:15:40 +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 1ojLTL-00EwiL-6h for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 14:15:37 +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 29EAT6Co022413; Fri, 14 Oct 2022 16:15:29 +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=c4sqIP3SAOyeiYoNJ/9pa6fPWtN5o3u+21fCELVnUaE=; b=hXrc1QkIwK5kz7wVV9Ww8bnj57a/XAgqCGJJjr0Z+AWq2glrw2BOgEA7gqEMeFN8AIIl yjII/K91O7g6+ZHF7CEbpvpnERey+igFKL8DTI3nWy59sudTXu4+CA2r/v5AjQD0NOa0 mo4r5TI8NRK72PqxVfysLv/a5hQjFcQFRMlEToX7AQnHN9W8TzT4CdF/a7ipj10I/sGy FmIxugO5in26pbEKpiAFYNiP6w/V/kloSLzF2PTiYdUv+x+zyXuKpLsKq25iG2LFsGRe PFX6qNYn35NsWXjAAZkDVBDM5CD9qJ17ctf2GJiofvRN5Hm3GSC9FBP6iGLtsMSIPI72 MQ== 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 3k64m7x0dw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 16:15:29 +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 4667410002A; Fri, 14 Oct 2022 16:15:26 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3DF812309FA; Fri, 14 Oct 2022 16:15:26 +0200 (CEST) Received: from localhost (10.75.127.44) 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 16:15:24 +0200 From: Fabrice Gasnier To: , , CC: , , , , , Subject: [PATCH v2 00/10] Add support for USB on STM32MP13 Date: Fri, 14 Oct 2022 16:14:59 +0200 Message-ID: <20221014141509.211149-1-fabrice.gasnier@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) 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_08,2022-10-14_01,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_071535_553410_997BEB08 X-CRM114-Status: GOOD ( 14.06 ) 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. Changes in v2: Adopt "usb" and "typec" generic node names 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(+)