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: 13514866 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 6BB03C46CD2 for ; Tue, 9 Jan 2024 12:17:53 +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=RM4oMlZ7oYx+T+OBJA62KPHa0uo+ek7W0nl9qmL8llo=; b=GiPGhEdxF6D9Us YnnVFl0MmSzK25rWHS3eD/32W1izIHVRiIX8fQG8QkgD0QOYUmoel9/wWAwFRWWBqDOLdd4kWKlS7 SW6Bqu30+CSgkAg+WDgmvzZLxnmIZ+h8M14QvR0F40fOjY2ARr7gHebFVgcvJXjOOlF61NdSN6D5N SipG0XTQUPa8N8bLxqfw6VttJi2v7PSatcFqY3bexYtymvCo0MA6Sq3tYEq2oOiHzKyCSDk5QL129 XZYzFJ+JZ4sZh53VWLJQ6Un/E8rXZZbWshKRa05In+0/7qUJMoj1T/Vrp5jRpJAmm6tVsa/ZIt67g KXn+nBz62+jdDPNUYcvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNB2t-008Dcx-19; Tue, 09 Jan 2024 12:17:27 +0000 Received: from smtp-1909.mail.infomaniak.ch ([2001:1600:3:17::1909]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNB2p-008Dbc-1u for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 12:17:25 +0000 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 MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_041724_075075_19831AC6 X-CRM114-Status: GOOD ( 11.02 ) 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 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 */