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: 13689753 X-Patchwork-Delegate: geert@linux-m68k.org Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A50A190060; Fri, 7 Jun 2024 11:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760297; cv=none; b=DpJ+O9rmKcqhQYulfx9uEN4koDiacpk5R0yAOZl3ONS+WjoIG3RuETVlTb5TRMTP3fAI4MUmoqowXKssXijKyv9ucmHZRTus5hpft4mzzS6HjyjSdFtHTjnB3pJoxy6jnG4gpKgQBSz3vQU23NfztQ/8/lP6fIYj2xKwLPjW3g8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717760297; c=relaxed/simple; bh=oxKWcpVAXXPyUMCU1E6CBtM5Hu7e1FfDc5YNoyYVX8Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gGf86Tn9+X/n1tjqwiLQit5BMEJoMv2HIl8/mpXTd0K5hQJzvFkkytRg4BaOnxEaqkHdmdSUhk21jkG0lxShrFXzefGncOlwPPBWaavP7EYf7+9H3Bnl0Wtgsr24jbGPyzcVWxQ0AR+DjjmY81jzUq8wWVj0tkEJe53kb2RFcjk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com 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> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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"; };