From patchwork Thu Nov 21 16:12:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 11256491 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4364C138C for ; Thu, 21 Nov 2019 16:12:37 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1570E20637 for ; Thu, 21 Nov 2019 16:12:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I00Hp/xy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="quKhFORN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1570E20637 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=sIrREg/otmBgkx8BMGqzM82sdNl9c+cS0FIJGlUUqyo=; b=I00Hp/xyln6XwT 1PYZhnJqNVY0sc7TEwwZ07TLPWFzFErA2cTw5HqkM5t5dljWgve7FFtrKIxPfNreOeY9bfNdkX+jp E2n86u9CDyRQhnkN3BzIb8tzlsLU2EHBsxNDjQX/a5r+P2HH+WbHiea7nXwtJ21vhcNqIu93F42R6 1zBqKR1gyCTT0/KE8PWqqD2CsSwi6VHVGTm7pS1KjTa3YriHXImVhWWy+zC1/uEeWHywzMW+xwisB 4tL2KsLuhfR7QzPRF8Ut2HmDKDdOWtw9MZKr64sYM+meEBTQf/Cgpft83e1omNVw5XGXYP/3TGqoc lsVGQnUvFOrY5IiHcX4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4M-000725-I1; Thu, 21 Nov 2019 16:12:34 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4I-0006z2-PO for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2019 16:12:32 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALFq6jh032620; Thu, 21 Nov 2019 17:12:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=W89uFJ0IfPiAqbUyCEZVBH5pD2ZGe8j+wCNo6AYpHTo=; b=quKhFORN1ffSKLiwjWdz/YlykUqd5dkvs1sYk6Ci+z9787PT+H4lm/Ab2o3nFFlp2Rjp KP0qS4crGkMR9cA3n15pzoXPcNqI9mYrQ/VDWkhlM9QxMo5K7i4I/vrQyFhJ9WEA1EoJ SYV4d9Hhg8MpzT3PfZfsPUPOxZguIR8tOfAFYTdGcE87fSlRjWStHO93Qm/YUY29I4NS GMa7zC9o94NPtgqyGfLRL7zLyQMjwRQRCUG8ztTMwm5PfnhhiewwrxrEFk37q0JC5u2l q8Vov+UXq/v+tAe3Adp45DYmFftdSm4L+fySpXK6zbV4zbMxNEV2SL+9FX8n5X+ZkqAq ew== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2wa9ujc9xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 17:12:23 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2492B10002A; Thu, 21 Nov 2019 17:12:23 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1573D2FF5E5; Thu, 21 Nov 2019 17:12:23 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 21 Nov 2019 17:12:22 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , Russell King , Olof Johansson , Arnd Bergmann Subject: [PATCH 1/5] ARM: multi_v7_defconfig: enable STM32 PWR regulator Date: Thu, 21 Nov 2019 17:12:22 +0100 Message-ID: <20191121161222.25604-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_03:2019-11-21,2019-11-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191121_081231_145347_F4FA24CA X-CRM114-Status: GOOD ( 13.72 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.209.51.94 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amelie Delaunay , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This enables the driver for STM32 PWR regulators found on stm32mp1. Signed-off-by: Amelie Delaunay --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index dd3c717432ea..39abb3187cdb 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -585,6 +585,7 @@ CONFIG_REGULATOR_S2MPS11=y CONFIG_REGULATOR_S5M8767=y CONFIG_REGULATOR_STM32_BOOSTER=m CONFIG_REGULATOR_STM32_VREFBUF=m +CONFIG_REGULATOR_STM32_PWR=y CONFIG_REGULATOR_STPMIC1=y CONFIG_REGULATOR_TI_ABB=y CONFIG_REGULATOR_TPS51632=y From patchwork Thu Nov 21 16:12:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 11256493 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA01C138C for ; Thu, 21 Nov 2019 16:12:54 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 95D8A2071C for ; Thu, 21 Nov 2019 16:12:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="PNtRAcPw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="o56rs75W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 95D8A2071C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=vTAhXjYDDa5mLPfAcxXDiTgqoYh3WzSRH/Wjw6QXmeI=; b=PNtRAcPwBEvfXD F8W/G5nVr3OtnlWjeMVDBuLXnwAJHtvW/TxH8jmUtbp4Giy0RO8HRom6ko9SRcv40o84bpBfbFtIa n1H/ZZfGAan7RzLV+ZtkEhb+E38HrKg8b6epDGMdx6lQDHLVqseZhUvs2E/c/VK6votF8/iqGtSEE tTC7d/wmo8mkx/y26hZSwMgEc1lhb1V8b6FIMOC/3FN9kdYAcpYcbrsSZ4cuLbgrshi46O/doanaV 6QODbR7VxBzh2VOys5394A3QSSsev/t3Kc2ZTN0T0nlb8BUG3QM5HFjTfARSpBZ/NmyOUTChKZGfa hJIbZplZCfqTmfGqgglQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4e-0007I4-Ap; Thu, 21 Nov 2019 16:12:52 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4b-0007FN-8x for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2019 16:12:50 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALFr4SE014960; Thu, 21 Nov 2019 17:12:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=xSTrsy/epUKJuiZ6PJB9kA43uOI6dkM0JAF9xLrErWM=; b=o56rs75WH2zuSmPT/CZYe3wogtb7dmSRD4xNIzfaVDMsrAMWl9AAdZmGRyeezYbtoFan tGNhhyfAxQdDYSRR4w6gD9gUQSrHJRyvSVzDWuYn6WybUpjwiqgyBnAiwRIZ508AvprG 1IUFo2cZ7Bspv//fuPeO0lWD5kd5oElTUxFMLHqJPRgE+ghMTR3+JkTu+FFCTUdNHAma 9O4p75ZfxnAGURLuAjcylJeXjX//LzqPdp8G5fO35Pcs8ubAyJPHPQqxlLhVAobIrhB4 1C/3upVfT/TAI+J6vpamgH+Gbof4x8rvjoNseDDiSiR/oG4AkyT0Q2fAswKR1+i+MoQ3 gw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wa9uvmpc7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 17:12:40 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AB24310002A; Thu, 21 Nov 2019 17:12:39 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 978A92FF5E2; Thu, 21 Nov 2019 17:12:39 +0100 (CET) Received: from localhost (10.75.127.47) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 21 Nov 2019 17:12:38 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , Russell King , Olof Johansson , Arnd Bergmann Subject: [PATCH 2/5] ARM: dts: stm32: enable USBPHYC on stm32mp157a-dk1 Date: Thu, 21 Nov 2019 17:12:38 +0100 Message-ID: <20191121161238.25655-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG7NODE3.st.com (10.75.127.21) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_03:2019-11-21,2019-11-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191121_081249_607428_28A90732 X-CRM114-Status: GOOD ( 14.02 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [91.207.212.93 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amelie Delaunay , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch enables USBPHYC (USB PHY Controller on stm32mp157a-dk1. This enables the two usbphyc usb2 ports, which require 3 supplies: 3v3, 1v1 and 1v8. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 2f9f8cf94b02..2914109db26d 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts @@ -605,6 +605,22 @@ status = "okay"; }; +&usbphyc { + status = "okay"; +}; + +&usbphyc_port0 { + phy-supply = <&vdd_usb>; + vdda1v1-supply = <®11>; + vdda1v8-supply = <®18>; +}; + +&usbphyc_port1 { + phy-supply = <&vdd_usb>; + vdda1v1-supply = <®11>; + vdda1v8-supply = <®18>; +}; + &vrefbuf { regulator-min-microvolt = <2500000>; regulator-max-microvolt = <2500000>; From patchwork Thu Nov 21 16:12:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 11256495 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3218214E5 for ; Thu, 21 Nov 2019 16:13:10 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A117520643 for ; Thu, 21 Nov 2019 16:13:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dE5aIVBC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="W2eGSnjn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A117520643 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=qpWfYkw+KWiu6OPW/04soueupNL3R/jCsseDK7AxXAE=; b=dE5aIVBCfk3pGU sYe4VdJVmnKrGZdytdKaVIwFsijuQAdMTPMMnH7x8ejQ33bvu/jQvD4m8+eRIVd+CEkuyf07gOtBv 0XwiCJWZgJB3ZJlM0tj0evlVx6kLXQ8Eqld12AkuqlvKw1z2Ri+kWxdglnibUwM58AYPRT2XbEKgU sMB4GblQkfW/ZYtXHlL2xtE2CAOneB0EB4uc18DX9zIh8m9bGBa0q6gHXUgdjvUNvToGnr6RQyqbz WOG0jW91UV1FQG4/QvAj7UysMdN5u3Gp1d84CUUc2AuI+57yBryF6+Ge4J7hYLVLUVrVVrLOFOG3W ZqdF83sQYpoQgho6wn8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4r-0007TP-Sc; Thu, 21 Nov 2019 16:13:05 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4g-0007Ix-If for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2019 16:12:56 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALFqJSC020077; Thu, 21 Nov 2019 17:12:46 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=msiolxjNPDbDO0stR1EQ2j+X77+u7RGbPsdUhF4GNCU=; b=W2eGSnjnqWrZ1ZxUraj+Hl9KrqXyuVv4aqrUhutFzwq1230HN4X8TGdN4d2cv/fE1xwf gmjY0F8wDC9DnsB5xWRmIg2xlFFDgQaYbZKqvpSnucnjvlcPV99paRV4bxnaz8Nr8DOW 1F5MkW/t2FjonuCfTJc882REcunvoC8zh5kankRZOmIGCVZb0sqc5p1RTbPXVuwDo6qo Ak8KLHF/v4/HClWNutn0VdXhgLtAd8nrL99WUu/mX7TjV/EVL3/+f0CM+iwooPy+3mB5 Ni62+unR7yZZOvKxStwYbX0DqTubbqm4FriyS57fXFWOx7s9xNEP6VoZNOaOiG3WbKJ6 mg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wa9upcrv4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 17:12:46 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 668B6100038; Thu, 21 Nov 2019 17:12:46 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 589B12FF5E2; Thu, 21 Nov 2019 17:12:46 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 21 Nov 2019 17:12:45 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , Russell King , Olof Johansson , Arnd Bergmann Subject: [PATCH 3/5] ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157a-dk1 Date: Thu, 21 Nov 2019 17:12:45 +0100 Message-ID: <20191121161245.25702-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_03:2019-11-21,2019-11-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191121_081254_937136_F792F7CC X-CRM114-Status: GOOD ( 14.27 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [91.207.212.93 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amelie Delaunay , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch enables USB Host (USBH) EHCI controller on stm32mp157a-dk1. As a hub is used between USBH and USB connectors, no need to enable USBH OHCI controller: all low- and full-speed traffic is managed by the hub. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 2914109db26d..7603f9456d56 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts @@ -605,6 +605,11 @@ status = "okay"; }; +&usbh_ehci { + phys = <&usbphyc_port0>; + status = "okay"; +}; + &usbphyc { status = "okay"; }; From patchwork Thu Nov 21 16:12:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 11256497 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5D0C138C for ; Thu, 21 Nov 2019 16:13:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 64C8520643 for ; Thu, 21 Nov 2019 16:13:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tNJYSI3f"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="KW1fAbQw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64C8520643 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=ZWNfUlquI0lh9PI09M9VC4V/rt8jxJLQjesFlJmu/kA=; b=tNJYSI3fA1PyFv bfonZEz8WymxnbBOjELqa3ajuD1SbdBmL69evFm/NLAP6Yo2Oaub5ywH+uKdRI1tSRt/6qO4keHO4 ID9aWXqtcv7U0BvIrqag1rlsRUxO6FIdQxFYCTj7rp9HZI+1Wtt23xvpU5ca1BSUND25y06e5bCQY cOKnghqwyV1A42nMn3nrhzJCH+PyoXe0MID5LPKwPJgxlybkvVIWP6nJR1biUXmMHZavSLYaMhIpx SfGCaT7p9TsBkiqiM/bHgTWuLn54Dq3wSi9bTu7UcVojuc8GkL4qEjoQkWcex5CoKvTntwzgye4nR w21IPcCeuyWtr9KOhU9A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp5C-0007ln-NU; Thu, 21 Nov 2019 16:13:26 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4n-0007Pq-VX for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2019 16:13:03 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALFr4SJ014960; Thu, 21 Nov 2019 17:12:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=Iz8ZMLq4KL2OY//6RHzxDl3+L7rh2284X+J8u9hKnrk=; b=KW1fAbQwn9WXQFMCVluDnXacAvmMldImHp/4c52LT4JafPyhEy+zEl/FyRBDMgm0mrkC ixsQEBJQQ+x1BG0kjosEZJ89NBUpo6VmIegT5ZutCImH3t8+bpafLjxIYKWZg5Ae3P35 d5CWuM9YCTD4T21sYDYOQjLUzU8ez858fuU2rMJ+e2D6FOQm+nApTYFtvnuPjfqhhY+M tXRVi4CfexO2nSMpfRyAYcFABUG0ImJTiaM/9n6/gs/7cApkFa7eqmYgcgLRfFC6F5i3 Mzp5pkSAVgGEJViSjeAmUwndnPxkvxb488bVjWW+aR9qN9a0Y5G64t/9Ob+DbCdNJgKp eg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2wa9uvmpd1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 17:12:54 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 05EA310002A; Thu, 21 Nov 2019 17:12:54 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EBBC52FF5E4; Thu, 21 Nov 2019 17:12:53 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 21 Nov 2019 17:12:53 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , Russell King , Olof Johansson , Arnd Bergmann Subject: [PATCH 4/5] ARM: dts: stm32: enable USB OTG HS on stm32mp157a-dk1 Date: Thu, 21 Nov 2019 17:12:53 +0100 Message-ID: <20191121161253.25751-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_03:2019-11-21,2019-11-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191121_081302_336084_57CBF6D8 X-CRM114-Status: GOOD ( 13.61 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [91.207.212.93 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amelie Delaunay , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch enables USB OTG HS on stm32mp157a-dk1 in Peripheral mode. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 7603f9456d56..caf00c8928dd 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts @@ -610,6 +610,13 @@ status = "okay"; }; +&usbotg_hs { + dr_mode = "peripheral"; + phys = <&usbphyc_port1 0>; + phy-names = "usb2-phy"; + status = "okay"; +}; + &usbphyc { status = "okay"; }; From patchwork Thu Nov 21 16:12:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 11256499 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3233F14E5 for ; Thu, 21 Nov 2019 16:13:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CAECD20637 for ; Thu, 21 Nov 2019 16:13:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HPrUegMB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="PCGHYkrB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAECD20637 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=iQzhEiC07lpLwVP/vIS5mFqU5bIK+dpeNj7WmxaSz9k=; b=HPrUegMBm2rCii k15Nptap3jbMuuIC/Uk7l9Eab9MFpcqDnQ1p2aJGfEV6OG9iKL9Xk3bYyGORzyXhlytlU8f8Wa+2B qp8z9QfFejkHJsP3kNtevBR27hXAQv3JU4uc9YOLrNT4rO2qaU/qaVFYf/wAyy09MDCAq5EiTUj2g yXv+qRTN+WYqY5e8+y/3ag6IGXzdGdIxAUSn82szD9vRJ8vQT04UD6WU7tYkMOM+ABp8WbmoDJLEq RqcwMkDjB1ntEgLxSXT10rg+sshOh2xAp3xqL5QaxS9gHWAlUFoptVfc6byw+Xte42kDp2SLDKNDA Dnfm70HqHADYCGB6jx9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp5P-0007yK-5X; Thu, 21 Nov 2019 16:13:39 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iXp4y-0007YI-1N for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2019 16:13:13 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALFqFUB020182; Thu, 21 Nov 2019 17:13:00 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=VJuIiYemz1wIoow996zFwaavl044qeXbEvuqGKKF5Ds=; b=PCGHYkrBzeoH80rs/cDrZ7d1oOJRYRIuSJkTD/ksDSdXcO8xe9drxCTdA6Uv/BtuDP/D aDF9ZgW8GI+fB8vLij6qzW1x9wSkvgj4YEXLzLzuDIvSkaUIcrnhsZw9/bQCN58DN3ql AQpURiiQOIOSTJC7FN+GKQbvKUNoPCWXVhGapq1oaZMTj6AW64C+OW/6n5e6CxlMAieZ nXhgHbbjXZ3NIh8wLX+BlKH3M1dCcfI8lSqVDQSzq5OgJBaoLck6yfNL1uF2HL16d3CZ OrFXNpJ7wD1uEdG//mtS7FcGzIlFI+G3UjggWfl4OiNxKsFDN57+PRlB1eoT1/yCUeY5 qw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2wa9usma9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 17:13:00 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 385EB10002A; Thu, 21 Nov 2019 17:13:00 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 12E502FF5E4; Thu, 21 Nov 2019 17:13:00 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 21 Nov 2019 17:12:59 +0100 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , Russell King , Olof Johansson , Arnd Bergmann Subject: [PATCH 5/5] ARM: dts: stm32: add phy-names to usbotg_hs on stm32mp157c-ev1 Date: Thu, 21 Nov 2019 17:12:59 +0100 Message-ID: <20191121161259.25799-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_03:2019-11-21,2019-11-21 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191121_081312_402997_5EBDC8DF X-CRM114-Status: GOOD ( 15.16 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.209.51.94 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Amelie Delaunay , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org phy-names is required by usbotg_hs driver to get the phy, otherwise, it considers that there is no phys property. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 2010f6292a77..228e35e16884 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts @@ -355,6 +355,7 @@ &usbotg_hs { dr_mode = "peripheral"; phys = <&usbphyc_port1 0>; + phy-names = "usb2-phy"; status = "okay"; };