devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: imx8mp-verdin: Label ldo5 and link to usdhc2
@ 2024-01-09 12:16 Philippe Schenker
  2024-02-05  7:24 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Schenker @ 2024-01-09 12:16 UTC (permalink / raw)
  To: devicetree, 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, linux-kernel

From: Philippe Schenker <philippe.schenker@impulsing.ch>

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 <philippe.schenker@impulsing.ch>

---

 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 = <&reg_usdhc2_vmmc>;
+	vqmmc-supply = <&reg_vdd_sdio>;
 };
 
 /* On-module eMMC */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] arm64: dts: imx8mp-verdin: Label ldo5 and link to usdhc2
  2024-01-09 12:16 [PATCH v1] arm64: dts: imx8mp-verdin: Label ldo5 and link to usdhc2 Philippe Schenker
@ 2024-02-05  7:24 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2024-02-05  7:24 UTC (permalink / raw)
  To: Philippe Schenker
  Cc: devicetree, Shawn Guo, Sascha Hauer, Francesco Dolcini,
	Philippe Schenker, Conor Dooley, Fabio Estevam,
	Krzysztof Kozlowski, NXP Linux Team, Pengutronix Kernel Team,
	Rob Herring, linux-arm-kernel, linux-kernel

On Tue, Jan 09, 2024 at 01:16:27PM +0100, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker@impulsing.ch>
> 
> 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 <philippe.schenker@impulsing.ch>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-05  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 12:16 [PATCH v1] arm64: dts: imx8mp-verdin: Label ldo5 and link to usdhc2 Philippe Schenker
2024-02-05  7:24 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).