From patchwork Fri Jun 7 11:37:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13689758 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 2885BC27C55 for ; Fri, 7 Jun 2024 11:38:17 +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=hcRaDMJGhUEv6B9BMQfOjBRiy60dABxEqsHWldbQzYk=; b=UAcBCuvuN57R3d y2kliYTTalp0y2muPgMqCBUCko8BjtTOYLsOZver0WpY9+MvNlWud3jabtCNyTHwuG3WRlzRMHs3N 33sIqjttor5dJCCB6Up6A2Hn0+FC/4KdSn4yZxrJ3h/Gb7BBEgfIYvlVrMmL3xojyrGysEYjdyEjO 7R2vxize1ziyOipJDeUo03yebFJ4fy9i6DYl0yQAEUTLJAkRzkBXZJ2eVvytycHOzPus/7YK4BxEQ Dfgnsoz/DLP/yP4oiXns3U7+NAgcctF/lkRaC7BLsWZMXvzv/HFQt3K+Lb6WszOe5sv/b47Ts0Fp3 Puhw3sWfyKTLFdOxe4vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFXvE-0000000Dma3-3OTx; Fri, 07 Jun 2024 11:38:16 +0000 Received: from relmlor1.renesas.com ([210.160.252.171] helo=relmlie5.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFXvD-0000000DmYz-0H4I for linux-phy@lists.infradead.org; Fri, 07 Jun 2024 11:38:16 +0000 X-IronPort-AV: E=Sophos;i="6.08,221,1712588400"; d="scan'208";a="207084446" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 07 Jun 2024 20:38:14 +0900 Received: from localhost.localdomain (unknown [10.226.92.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id C16034005B53; Fri, 7 Jun 2024 20:38:09 +0900 (JST) From: Biju Das To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Biju Das , Vinod Koul , Kishon Vijay Abraham I , Liam Girdwood , Mark Brown , linux-renesas-soc@vger.kernel.org, linux-phy@lists.infradead.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , Biju Das , devicetree@vger.kernel.org Subject: [PATCH RFC v2 4/4] arm64: dts: renesas: rz-smarc: Replace fixed regulator for USB VBUS Date: Fri, 7 Jun 2024 12:37:45 +0100 Message-Id: <20240607113745.73934-5-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240607113745.73934-1-biju.das.jz@bp.renesas.com> References: <20240607113745.73934-1-biju.das.jz@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240607_043815_242627_1AD56DAA X-CRM114-Status: UNSURE ( 8.23 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Replace the fixed regulator for USB VBUS. Signed-off-by: Biju Das --- v1->v2: * New patch. --- arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi b/arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi index b7a3e6caa386..9105afbd5810 100644 --- a/arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi +++ b/arch/arm64/boot/dts/renesas/rz-smarc-common.dtsi @@ -54,14 +54,6 @@ codec_dai: simple-audio-card,codec { }; }; - usb0_vbus_otg: regulator-usb0-vbus-otg { - compatible = "regulator-fixed"; - - regulator-name = "USB0_VBUS_OTG"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - }; - vccq_sdhi1: regulator-vccq-sdhi1 { compatible = "regulator-gpio"; regulator-name = "SDHI1 VccQ"; @@ -139,6 +131,11 @@ &ohci1 { &phyrst { status = "okay"; + vbus_usb0: usb-vbus-regulator { + regulator-name = "usb_vbus"; + regulator-min-microvolt = <0>; + regulator-max-microvolt = <3300000>; + }; }; &scif0 { @@ -171,7 +168,7 @@ &usb2_phy0 { pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; - vbus-supply = <&usb0_vbus_otg>; + vbus-supply = <&vbus_usb0>; status = "okay"; };