From patchwork Wed May 22 08:23:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13670561 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 2A5FDC25B77 for ; Wed, 22 May 2024 08:24:14 +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=yxkuKwgeIMmY9CNLxel+KEgQ15PF3p1M5uBIgNgHHFQ=; b=mbaPMTk/E5KnYH xyA8SU1so5wcaLGJ4g4Bc+PGqEQehEZohE9Tiq2Zbl1CnEGijJpu6CEVXdMRSPlGXmX86+LP8J53T lQgotp+VvkBoCU0PO++SyyNtm3qAdUpOj7se7fMmO3dw3PEWDRYA8iX0QJQyBLispxOCT5usvElVq Bi7Hm/wpUxmErmYUM2kI28XapuQM+B6RlKKM+YOy3KUv705y6AKLHR7HoR2Oxiy0zwHRqbkIQ/+Cw hFYtgz8ASz3kjII9ZJDgRTioFdP5Lu78uZtAc/yeUfGg5IOS4cJxgDB8Kn5TED+oWF6M0sZ5ha0Gy vSQN4e23O3PJ29rXz8MA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9hGS-00000002LLm-1KIT; Wed, 22 May 2024 08:24:00 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9hGO-00000002LJL-1PXp for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2024 08:23:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=P7gzquHYAk77nHHQ5uNsf0UW7QweoRnYgjes1qcmeuE=; b=sQDB8K1m/Fh9+KrEvWpENqrvzT 7KTLeQyP8h4s86XNL0NTxryDZS8ujbecjk1ptITqos63ezZLRt4EO2guWc+Gcn3Dc0kUo1MNcUBy8 uSJghwwmc4MOyEM+gj1zTXTAxaAG9csLGn7Vhbhn6VoKLf/mv7wjPQUk57rknjeop8760O0XeJLXl 5tK9EhjsjBQZJ15YVE1nzqV4ML7eY+7kHFR/NIZWi+6AFvvdsZuopY99fmgYL7+SXllxj4XuAA6kA +Idi16O1Dw7j0NzJV57uU7+QXgCQhnIAUwypAGzoE/gqG7OYpWmK9wT1snxrzcRHZW17w4RRPPLph hxcrBW8A==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s9hGE-000FPM-Tb; Wed, 22 May 2024 10:23:46 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy02.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s9hGE-000LzZ-2o; Wed, 22 May 2024 10:23:46 +0200 From: Sean Nyekjaer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: stm32: osd32: move usb phy power to common Date: Wed, 22 May 2024 10:23:29 +0200 Message-ID: <20240522082332.2471337-1-sean@geanix.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27282/Tue May 21 10:30:22 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240522_012356_564966_26F71C11 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. 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 According to the OSD32MP1 Power System overview[1] usb phy power is hard-wired internally in the SIP module to ldo4. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts | 8 -------- arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi | 8 -------- arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi | 8 ++++++++ 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts index 527c33be66cc..854dfecd801f 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts @@ -211,11 +211,3 @@ &usbotg_hs { &usbphyc { status = "okay"; }; - -&usbphyc_port0 { - phy-supply = <&vdd_usb>; -}; - -&usbphyc_port1 { - phy-supply = <&vdd_usb>; -}; diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi index cfaf8adde319..aa28043c30fb 100644 --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi @@ -590,14 +590,6 @@ &usbphyc { status = "okay"; }; -&usbphyc_port0 { - phy-supply = <&vdd_usb>; -}; - -&usbphyc_port1 { - phy-supply = <&vdd_usb>; -}; - &vrefbuf { regulator-min-microvolt = <2500000>; regulator-max-microvolt = <2500000>; diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi index aeb71c41a734..ae01e7a5339e 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi @@ -214,3 +214,11 @@ &m4_rproc { &rng1 { status = "okay"; }; + +&usbphyc_port0 { + phy-supply = <&vdd_usb>; +}; + +&usbphyc_port1 { + phy-supply = <&vdd_usb>; +}; From patchwork Wed May 22 08:23:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13670562 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 11051C25B7A for ; Wed, 22 May 2024 08:24:15 +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:References:In-Reply-To: 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: List-Owner; bh=H9l3BOGRwcBb068JIwqmXeLP8lsOv6LpxqqLQFbGU90=; b=thKu0E+3mmc8Xy e1qPxZ5ZTn4jbe0py8JOUFaY1IBdrFR9aFQHe0qpSn3rwPATvalePjU7omYtF783jhItTua72Ah3Q aoXywP6KZP1QqBkf4KGi7uoMEF05Q9v7QlleWF+EHUUtdv0OXj9VPPIY1UR+fQu+Tiq5xbSHvH/om Z5KyaSb9+rIh6Xu1Y7Ynq9BvwDyZvQgQwc4biQelU024563ZyRDBezM5Wy47N6iLrfbRC7ZuXC3z8 kTHPQAhUF+UH1nmE3eEmTCGgVPOMNYqBPCun0NAsFYLe1mwVYGeBIXnjp9Vux2YQb4VI/MFGBrcKE UFVRDQuRSUUz0nDMOjRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9hGX-00000002LMs-19da; Wed, 22 May 2024 08:24:05 +0000 Received: from www530.your-server.de ([188.40.30.78]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9hGO-00000002LJM-1i4H for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2024 08:23:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=q10IEafkKQVKlW5UPxyIdH8rk365Jnk+tsww6VNTTEs=; b=x2urkOHFgOh97UWsnWhSBWOcXS lNuqiP45YfO+3b+Y8Hx5hBmImSBAuvYUKN0gDK/66skh7cPLSSO0QS9JiTE8s36RM3VfpBpVg77N5 mbjRgq+M0HDJJWXPNDxq5DtDhpJ0wnfWhR9dLPQJH84XLROFeIfG1OsV1+SkGCck37Fddhn8VH3hI xHSLX4CxYKrzdwTYhXAbe4W8IqQxtJn08TAKyrzO4sZ41VaBWD6lXjmqn855N4Z4+WrMdKy8bczvE ua+V20xpVCi72pyQZBtNridLCq9iJKUR4pb1fx8lFpVL5amPbOBsyN5prWWNpspeyPZ/mYujAIYxh 4eNZiYKQ==; Received: from sslproxy02.your-server.de ([78.47.166.47]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s9hGF-000FPO-T4; Wed, 22 May 2024 10:23:47 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy02.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s9hGF-000LzZ-2f; Wed, 22 May 2024 10:23:47 +0200 From: Sean Nyekjaer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: stm32: osd32: move pwr_regulators to common Date: Wed, 22 May 2024 10:23:30 +0200 Message-ID: <20240522082332.2471337-2-sean@geanix.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240522082332.2471337-1-sean@geanix.com> References: <20240522082332.2471337-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27282/Tue May 21 10:30:22 2024) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240522_012356_573496_6B728D6C X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. 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 According to the OSD32MP1 Power System overview[1] pwr_regulators; vdd-supply and vdd_3v3_usbfs-supply are hard-wired internally in the SIP module to vdd and ldo4. [1]: https://octavosystems.com/app_notes/osd32mp1-power-system-overview/#connections Signed-off-by: Sean Nyekjaer --- arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts | 5 ----- arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi | 5 ----- arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi | 5 +++++ 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts index 854dfecd801f..36e6055b5665 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-osd32mp1-red.dts @@ -147,11 +147,6 @@ &m_can1 { status = "okay"; }; -&pwr_regulators { - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - &rtc { status = "okay"; }; diff --git a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi index aa28043c30fb..c87fd96cbd91 100644 --- a/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi @@ -379,11 +379,6 @@ regulators { }; }; -&pwr_regulators { - vdd-supply = <&vdd>; - vdd_3v3_usbfs-supply = <&vdd_usb>; -}; - &rtc { status = "okay"; }; diff --git a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi index ae01e7a5339e..2022a1fa31ca 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-osd32.dtsi @@ -215,6 +215,11 @@ &rng1 { status = "okay"; }; +&pwr_regulators { + vdd-supply = <&vdd>; + vdd_3v3_usbfs-supply = <&vdd_usb>; +}; + &usbphyc_port0 { phy-supply = <&vdd_usb>; };