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: 186347 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp66657dyi; Tue, 9 Jan 2024 04:18:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOCbR8zVWonwC2IbXTtgcIQhRsA2t4VOIrw8SVlwOnOvqByku1xbRNulskFQC8NppoQVC6 X-Received: by 2002:aa7:d491:0:b0:557:2871:8c72 with SMTP id b17-20020aa7d491000000b0055728718c72mr672807edr.14.1704802687465; Tue, 09 Jan 2024 04:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704802687; cv=none; d=google.com; s=arc-20160816; b=X7rgyJofzJOcEUpA+wsWCYlCUkMVZi9XQratoN+bzVt6nAN3ggDpSXNnipDdg/woOc Mj+1+Z/ya2Luv9m8BJMcSVLrCPaZubwgmBcjqNPWpLDZxwX2xbQtB6I7aaAaQaeoSP6h fH92AtWHFbqjLuXDp6AohDEcESqcoDl6q2rwrZg8GFwC+hP67P8SfhuMQ8jI/mhbNki1 4XGsle7cuY+Vh6OvX9DtB4PKzFbaJKf75Oq9Zh5cxSjf78zDyt/i1Qi4pm8U6c2/Qhrn Bbnc/ys2p0eHjSon32Bq5uBIh4eqDVqCJBdNbCuN59DBBur1x3S4zxtmY03XrYDA7dd0 khyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=gO+nG2K7aguiec6doFuUBlMLY+qLccMumw1JiKDLCy8=; fh=9UftlC/ThVYLjeZ8UpFlD/EXFvJ7xHt9HJ2X4NMxzGQ=; b=dpAmjn7gmDaERTIEOtwDHdlndJt+fDjj1H4JM+THimxJUQ+L8Z7bvM8hD4IS6K5qLA E8tm9UkMmlP5iK7wOgQDD4qySwPk3ZU4t+r6AjmZaOM/fpC/W04HQdC3OlYyNdHnIFiY wM95JMHrbfddLBo1V9sWP+6luG+lcEpS4SAXd6U1xYsMQKdXXfst4GsQuL3nvT/Sgx1/ zhwFnbXVUo1GA2y1USnNF4GFeDiLW9KDG4GlR3wUWDL6kxqVl5pKkUUE3+prtMu0X7Lj swRqnv4tPSC8Q5sXk+0EvXoSjV88klduAr56YiBAC+bvD1xcowQAslpaZ219oZhy/i85 6mAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=myEaDlZZ; spf=pass (google.com: domain of linux-kernel+bounces-20837-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20837-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u27-20020a50c05b000000b005533e1f916csi698947edd.421.2024.01.09.04.18.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 04:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20837-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=myEaDlZZ; spf=pass (google.com: domain of linux-kernel+bounces-20837-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20837-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 18C6E1F21758 for ; Tue, 9 Jan 2024 12:18:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84A4238FAD; Tue, 9 Jan 2024 12:17:34 +0000 (UTC) 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-190f.mail.infomaniak.ch (smtp-190f.mail.infomaniak.ch [185.125.25.15]) (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 2149338DE9 for ; Tue, 9 Jan 2024 12:17:25 +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 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787615182616404003 X-GMAIL-MSGID: 1787615182616404003 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 */