[v2,3/8] ARM: dts: microchip: sama5d27_som1_ek: Add power-supply properties for sdmmc nodes
Message ID | 20240205080027.4565-4-mihai.sain@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp730953dyb; Mon, 5 Feb 2024 00:05:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDsPDrLWpGpXLhIJUNFkHFUnDttimhjKNapfWPwLF85LdnkKs7rbIaq/TmIjzMMs2ddniu X-Received: by 2002:aa7:c390:0:b0:55f:f343:9f38 with SMTP id k16-20020aa7c390000000b0055ff3439f38mr4042969edq.19.1707120329919; Mon, 05 Feb 2024 00:05:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120329; cv=pass; d=google.com; s=arc-20160816; b=K3gHUvG19jrvNXoZV3ZluLnzDhiTNLSCMNEJ8/hcpJXcwbzTLCH0uSXPvgplA0NEow B/eJGNniCtDvylFyDBS1DWiw0RVTVXm3DB/tcexRu+THucoys8VeuN3abIF3OhtaFv9D nCh3M863B1kbX6abgOOsf09OggkYN/CISEcAKVGbD1OLbqc157NhzXnOfKRJFRXZrlcN Z6inoxz2r2rcCfTe9rB3sKAR1WKl17qkg2LYwhKDG/TFVAjbsPESGZazgRQas7Jc9TOB PUEmDMSgosR/r0pkpnJnkEI3HwVwCn+MNwK/L9E2r9UFvDtv5pERZK75unA64ndONYKk BMvw== ARC-Message-Signature: i=2; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=XMjLH3sbWJC6IreJdKSQF4PuKrldRkq/ScAHJxq2ZLQ=; fh=9Ru+OzqL/Gqn64t305Mw1ezp19meygwV1HHRY+h0AYA=; b=OSrhxb44dwxV14ZOfiLOAOdzbgy9x7FYKDaZWmEJkr8JeEL/DhBDPh2gPdJ2xnOC6V CwlOqZE6miTtn02vZwjwf66NwSbPWDN2gC9Blny1QZUzWFGwUjEpuKg8BZtN2KtndHca Oz20eByvEp+jmbnUJpp7ab4MhbXEuo6pkBC2mOZ9IBlBVMahbL2x3HYnpw6aaRNM8g4V i6ZDW3HWTG7Q98xVorRfvKces45xrtBNn5mIAJ7xGn4LYkvWIw3ygdRoxg2+M4uDBu1H fhkOIKSkNXEcEX/BSv2ijMVAAB4ND33SK+FkOUZGq5eUOyzumCP13GYFp0DEtPh+qSbp YQWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ofqlXtQk; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCXiopJ/kiY3QAj82H9zWjiYOp0J16fU7Z0x1+rZAUMp35gxuzFhW/rotcaoomV2GMX20/MnDKIX0b6/qJloWyn5CAt2Zw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q16-20020a056402519000b005608a3b08cfsi46763edd.193.2024.02.05.00.05.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:05:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ofqlXtQk; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 7B4201F23C40 for <ouuuleilei@gmail.com>; Mon, 5 Feb 2024 08:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7439412E67; Mon, 5 Feb 2024 08:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ofqlXtQk" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 0469C1119B; Mon, 5 Feb 2024 08:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120257; cv=none; b=BKAKaDoK3pRj1w+8k981ZEWnJZyIOznrw3zUsp0l9sjUhCRW34/Xjfg7NyLxWNptVyZkMaO9n2Kub+lcpjtOIZt+RWi2qN6KQOBg+G5PeVcwrDDSaPIICw6wB0HIfDnnThmBzvSskqRKdW5HuPUnK+Kmbwzn5xHTKON0hPemr6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120257; c=relaxed/simple; bh=b8LBr+HkRiGbiofvmfhN7/Z+LuPQPfSgtATjkS2qEdA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=h9QZW1RE/XWpzIqjvav0w5QpfHTCDxgQrRV8YbIODG0bWxD2zLtE0oSOv1SdPAAoESLbFuXqeYlmfbwR+/rXOR3TEljLy/2z3a46gPcdx+61nvr4H9M8Ck5Ykk4vJ0oBbpj8T+GMy3lnAzenwiNF3IZUe51BXPPVqoYYQ5sB2ok= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=ofqlXtQk; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707120256; x=1738656256; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b8LBr+HkRiGbiofvmfhN7/Z+LuPQPfSgtATjkS2qEdA=; b=ofqlXtQk4Rco57oLqYPbGp0wC1LEdgyHTyHTeVM36oiWayfvElmzHCRC z3ZnH5+TGaHf7gaRhyQ91algJpdkqvVc5JZ+mStvXaHGCE0uIqGxPWVZQ 6K9Wea1q8eypD/ojKsP5NQCrYFKloYWCQD0xi3w0kVL0fwWvycE9JFCsd l1z1T2W+U+L7RRdebEOtcDBJZDEQMZxMarq548/7biB7duqi0d8Zcj6jY imvBUxc54QMOgjTWLWVkQ/dX5Cu4+73R9P9i/r1+DhK8V3KpR5NrPKrPK dKgukiI+u6EN5wMsEA0EHt+dLwGCAv+hViz8cHN8MbooB2C1V8Ayp3rnK g==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: O4rHOnRGQkCrExiFbwDAxQ== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278233" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:39 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:37 -0700 From: Mihai Sain <mihai.sain@microchip.com> To: <claudiu.beznea@tuxon.dev>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> CC: Mihai Sain <mihai.sain@microchip.com> Subject: [PATCH v2 3/8] ARM: dts: microchip: sama5d27_som1_ek: Add power-supply properties for sdmmc nodes Date: Mon, 5 Feb 2024 10:00:21 +0200 Message-ID: <20240205080027.4565-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-1-mihai.sain@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790045407325269564 X-GMAIL-MSGID: 1790045407325269564 |
Series |
Add power-supply properties for sdmmc nodes on Microchip boards
|
|
Commit Message
Mihai Sain
Feb. 5, 2024, 8 a.m. UTC
The sdmmc0 and sdmmc1 controllers are powered from 3.3V regulator.
Add vmmc-supply and vqmmc-supply properties to sdmmc nodes.
The sdmmc controller from SAMA5D2 MPU has support for IO voltage signaling/switching required by the UHS sd-card.
In order to avoid the issues from the tuning procedure required by the UHS cards,
keep the vqmmc at 3V3 to use the sd high-speed mode.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts index f3ffb8f01d8a..255ee0640133 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts @@ -56,6 +56,8 @@ sdmmc0: sdio-host@a0000000 { bus-width = <8>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; }; @@ -63,6 +65,8 @@ sdmmc1: sdio-host@b0000000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; };