[v3,2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes
Message ID | 20240206120322.88907-3-mihai.sain@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-54849-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1490592dyb; Tue, 6 Feb 2024 04:08:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfg6s41jMcQyVrdcnETzky4Qa5u3Yi3P4oW5++paXZcz6gReVR89FM8iH8Q65Ko+Uw4dB/ X-Received: by 2002:a05:6122:90f:b0:4c0:230c:1143 with SMTP id j15-20020a056122090f00b004c0230c1143mr2593660vka.10.1707221295072; Tue, 06 Feb 2024 04:08:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221295; cv=pass; d=google.com; s=arc-20160816; b=K9pxMFJGoJOeGmEhsXUvRaQWpX4Y/50+U03Y+wulwlAkR/DocNHykiI+7f1jnrSqm0 5D7xMa1uk3GQ8FQYMBnPE3MWEK6jveC2mDCyjBkOPD/TlfLGKE3YrrKd0jBpXQOh6/bQ u19phnGTnkNKm8NIbs4I7f3qQS4t8NRhBooY4yNrB5bCP3GyN4Oqib5nfKOBHSdVIdEW R8WBSvY8rRlklXgqBiQTMWXmH4vFZAXIp6eXsSgdst6ELKfh9w53hvTH77kVkYUIZ8Ac NOtXVT+SgI3kDJU+G47gBtj6jeEKE1nUdyEIe3wPpb2SxLtr2HFrm2WuXwhGEsjk/BGC KDsA== 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=tj/9TETrJWJ1WXnF0LR93Qc47jVwi/qppFcnfy3L50Y=; fh=syuhIHV0yZzDdSJV0EdtcftbK8kebibZspoaAslx88Y=; b=dllQgsDpn76pKrDMXXDqfajzg5sG/ZKl/RxaAmsk3fOA+JGaALfDzARqn3xJ72Gqvw ZkbSEPgxilo8DPZ2uJbISAIOD8fGZb07skrrpa/k5afQa0a4ugtjvOnpyZtGzvZi//Zm NyJie2B4I28OQNiaWTWefTKU/n+Bqsnfvrhx/wT/f37k/79g1Hl/2XGnujxfGxut8CCb CRVLXT8jyfLIUIB8eg5Y91aRMs2EFbaaoTmRcyJN7IfQG/t8vFguQirJ2spKCp8S+SLz hE6yFjrULbDUNaOwTejRAsl0VvCAo61gye4AI2arIElhA7Ld/NQleuwgOs/qoQU9H+Ck 2qug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Fd7raDkZ; 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-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54849-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCV/9fRUUVcPKp7NJg5e27IJggxNZ+NMfO7oWzLSdNETF4gFiW1aJzq4RMRrlEMrtOMIDXoUAgEHxn2+GU2AuuE9h2R3dQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cp6-20020a056122430600b004b2c1e861e3si295991vkb.40.2024.02.06.04.08.14 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:08:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Fd7raDkZ; 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-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54849-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D1D981C230EE for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 12:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A98DE132480; Tue, 6 Feb 2024 12:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Fd7raDkZ" 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 0FDA1131E4E; Tue, 6 Feb 2024 12:03:58 +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=1707221040; cv=none; b=HgfjE/vUz0DmdxIfwNK/kRdJSDWEQd/Hzv9nMuGELf3qMsgvi9cf/sQY7CXCCuvLzdDlnOIkBqaUtsT5KWZuRzfmGAu3KkXQEdvjyQ3v/ZeJAH862Try7/1+fuj/v7nrF2J4C+hCld2tQKyDT9r+b2Vd3oeZgmwDPmYSMZ1INfk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221040; c=relaxed/simple; bh=F41G1+RQ5nTNqvMXTxeVA04ZwCfN78WPkAzyLOV9cds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mn4rELP+SkExWOw/OO40MVBre/vGmBzZkvySnvHWcRK5ENt5bLdVlaOOPpoT+AzbA8D0xNoOWjA4Fu/n+ihFL8svONqF47Xb5DqSpvYJQLPoAH2e9nNuFQTx7HJV9VR49AtWULvSQBDd0L4DYDqMj3ViDj5/FhAx3LvfkbmXBZI= 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=Fd7raDkZ; 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=1707221039; x=1738757039; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F41G1+RQ5nTNqvMXTxeVA04ZwCfN78WPkAzyLOV9cds=; b=Fd7raDkZrqMsh9ojCzrbAM36HPc9T4zPAceE28TJbQf1wgTlUgp9oh0x ModpVSDaoyjbojsItrDgX1F7SrEKWHX6pzKkSEt2aEHqSczRQutQEZrB9 74knbHSG3BxYXwz8joSjRC+18LZRwy4j07dJfo1rTMnKdogx1TGqf424J kdiHjitfMUDiRRPrd9wjH8fGpF7nyyonD5R+dAlkY71b2IBh8e5a9Q0+W 7jveERDA1ZRpc4yJudPoSg8CrLzofHQmeoTraQmk+75v74+3EplwSkKMS iOLLWz3daXwGs+KYncsHKohreY680m1Y+oaACJSerGnEtNl3K2H3BZQdP Q==; X-CSE-ConnectionGUID: F8QfY3NGSPaWmFcnYFQ4zw== X-CSE-MsgGUID: kBnP/YNoQvymYWbm+zoYjw== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="15843151" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 06 Feb 2024 05:03:57 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 6 Feb 2024 05:03:35 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 6 Feb 2024 05:03:33 -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 v3 2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes Date: Tue, 6 Feb 2024 14:03:16 +0200 Message-ID: <20240206120322.88907-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240206120322.88907-1-mihai.sain@microchip.com> References: <20240206120322.88907-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: 1790151276370719065 X-GMAIL-MSGID: 1790151276370719065 |
Series |
Add power-supply properties for sdmmc nodes on Microchip boards
|
|
Commit Message
Mihai Sain
Feb. 6, 2024, 12:03 p.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 SAM9X60 MPU doesn't support the
IO voltage signaling/switching required by the UHS sd-card.
In order to use the sd high-speed mode, keep vqmmc at 3V3.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
---
arch/arm/boot/dts/microchip/at91-sam9x60ek.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts index f3cbb675cea4..b19a0956dc97 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts @@ -560,6 +560,8 @@ &sdmmc0 { status = "okay"; cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; }; &sdmmc1 { @@ -568,6 +570,8 @@ &sdmmc1 { pinctrl-0 = <&pinctrl_sdmmc1_default>; no-1-8-v; non-removable; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "disabled"; /* Conflict with flx4. */ };