From patchwork Tue Jan 9 12:16:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 761196 Received: from smtp-42af.mail.infomaniak.ch (smtp-42af.mail.infomaniak.ch [84.16.66.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E5E636B18 for ; Tue, 9 Jan 2024 12:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pschenker.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pschenker.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pschenker.ch header.i=@pschenker.ch header.b="myEaDlZZ" Received: from smtp-2-0001.mail.infomaniak.ch (unknown [10.5.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4T8VL555tJzMpwmh; Tue, 9 Jan 2024 12:17:17 +0000 (UTC) Received: from unknown by smtp-2-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4T8VL45F2RzMpnyv; Tue, 9 Jan 2024 13:17:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1704802637; bh=18NRiwEK9xrsbm41kX9IKtn+2/A7RIIp0cAjRJXOIwU=; h=From:To:Cc:Subject:Date:From; b=myEaDlZZ0IVPr+IARUNgOfpis0Dfv/CYoi7w5QsccJMWnK+zWsySyYMzTUa1x8I/5 PrIWXUkNOp8LXEzrdxVP+U7bdc8j1lN5TlMkYl44RviceNuJeAlcf4I6M7/99H5TGY YLfxwSgIC92Jemc2aVH3w+a26EIlYdv1NQwieAKk= From: Philippe Schenker To: devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer Cc: Francesco Dolcini , Philippe Schenker , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: imx8mp-verdin: Label ldo5 and link to usdhc2 Date: Tue, 9 Jan 2024 13:16:27 +0100 Message-Id: <20240109121627.223017-1-dev@pschenker.ch> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Infomaniak-Routing: alpha From: Philippe Schenker This commit labels LDO5 as `reg_vdd_sdio` in `imx8mp-verdin.dtsi` to facilitate changing its voltage to 1.8V, necessary for an SDIO peripheral that requires 1.8V at default and high-speed modes. Additionally, it links `reg_vdd_sdio` to `&usdhc2`, aligning with the hardware configuration specified in the datasheet. Signed-off-by: Philippe Schenker --- arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 04f2083c4ab2..837db8961ba7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -535,7 +535,7 @@ LDO4 { regulator-name = "On-module +V3.3_ADC (LDO4)"; }; - LDO5 { + reg_vdd_sdio: LDO5 { regulator-max-microvolt = <3300000>; regulator-min-microvolt = <1800000>; regulator-name = "On-module +V3.3_1.8_SD (LDO5)"; @@ -873,6 +873,7 @@ &usdhc2 { pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>; vmmc-supply = <®_usdhc2_vmmc>; + vqmmc-supply = <®_vdd_sdio>; }; /* On-module eMMC */