[v2,7/8] ARM: dts: microchip: sama5d2_icp: Add power-supply property for sdmmc0 node
Message ID | 20240205080027.4565-8-mihai.sain@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-52174-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp729192dyb; Mon, 5 Feb 2024 00:01:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0dSC5X0bPNdMm2HP5JGlAD/Dnn1e3VHQT8iEc8eRs7eAkrjShfQtLyBD6nalIfRZ4vetC X-Received: by 2002:a05:6358:2c8f:b0:175:5f:7976 with SMTP id l15-20020a0563582c8f00b00175005f7976mr15424768rwm.24.1707120116691; Mon, 05 Feb 2024 00:01:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120116; cv=pass; d=google.com; s=arc-20160816; b=xjdfoNC+5L11WNOnrF6iNzy2m0Nkgq/U75cYTk/j53YZjsvilG0OoNtj+ZeBl9K1Td wgSBOqbFjQ8r5ZEoxx3gIjGBNbpnWfriIKB1BvIrTGR0SYbXJ3p73Yi0df8v9m7f8TQ+ l1Rdcvx7rTvnubnNXEUBuLFxjGfPRhbK7Pp6GGOxKwstPsIrRLT6A5PT8YLI9NGSh6a3 Hc/wy00pESmOCEc9O8JSnL+YyqOztjS+3467iDQGDNLnjYkmMEUQdybHwheirvnPq9On UD7dNxcXeso9EDzH+O8cEnvW0NByCRq8+j0ZDMcJpo5tFxWTQj+zheWw5SS6iPMRhzcj 8STg== 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=oQojA2yO3WoX+NkFJPABccQ5OyQRBSEOKevwcuQPi4I=; fh=qHkInkEzquu+8HdysiJAFIgxplkweaRoj24f6FXQ/3I=; b=kS2hc4BU0pt+TaMCtO6ECt6IHifPj9l5JT6tInONbY7G1cuhjOPfV1l9OObXppX1TT xR8ObvnMl0z4aUqIdv1klFt2SDSjsXLXjZsdBxa+wG3vuqhRy+ssHyRrb3eyIFd/SLtP JSCa0uymstyAKo+V1l1WbVkOjtDp0QQpqYkbJ0DvYDMwYvCXKgNfsmQNGGzJt4jOPyNm lczDNYq7H17alvzoaZYFLsMCOJwdvCSrxzOuPz38Iz1G+GcXIbIZGN4LNba/bWZ1pbJK GxnyefYJF5+pzZJIWxCQ+WYZ8rHVsNNRQBaOy1PLErf7a1ZfHJM+B09a16MWyv2MkxZD vb1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LHRGZhjJ; 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-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52174-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVybXwhbL1TTAPRBJo/Snsn9scZfnGCnaJISLW4IG47nTefYAwI07TB6hFU0iBBpl5/PE+6OtW4wX/xauwWWFQiqlzxbA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q8-20020a656848000000b005d8b313de1asi5758022pgt.624.2024.02.05.00.01.56 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:01:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LHRGZhjJ; 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-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52174-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DBDD281E55 for <ouuuleilei@gmail.com>; Mon, 5 Feb 2024 08:01:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26CA1125D3; Mon, 5 Feb 2024 08:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="LHRGZhjJ" 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 B512C11197; Mon, 5 Feb 2024 08:01:12 +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=1707120074; cv=none; b=oK2d98XFzSavBPGYBIwMEmFly5+GPxFD0cXdemVD4WzsSgshI543K4ajavHXm38ER5ohaimtp6tvnh+nS8WaYnSnStuR9yrOeTvmAPLOGuoP1Bbye2d+tBVRj8950GPL/1VVdJ99qdD2ROd7ea1wpTRTkLVTSu3LkTUoXq1CjVs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120074; c=relaxed/simple; bh=520kbFokQfIobK/X/hSbAVFhFZ2E7Qd+bcOJ67BSKjQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kdudzmX42yB0L/yIC/BcyBTdHteGNQbSgsMV69pucUcltCzu6EwaehhyriwPU50gpMsTHzqDbEwQ8ahhDYxIgXbbD02HkZjAipoyp/f7IUA2rttEqBOnL7fPjio6Z1lh5dHzTMU6yqXncDiN+/aFpukLX92GG+JQXub8cTpt6Ok= 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=LHRGZhjJ; 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=1707120072; x=1738656072; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=520kbFokQfIobK/X/hSbAVFhFZ2E7Qd+bcOJ67BSKjQ=; b=LHRGZhjJEzewHdupdPef+mWdI8xVZ0vuYudEbsNwKtzv3ZIITG6g9Xhn qDOYSfjzl5JZWrOkF0k47Xj2vmVFCPaS6GeyE2Ubs2Aq69em6TFxdG+Ub bec//65TGJ0J43PTPm0nVZCE8LXtKwkRZzOB78LcQ+UojZ/KxQ7/uS09J yFyuxqCLSUrhk/9kIt8pjmKrGM51rVVDGtz6HcI5Sfhkrh7th/fwJmgzA L0eca150jtUNS1iFwFGNwYm+2rJT30aNLznh8ncZLhIHEFY3PF/vMjtwV JnhxXWw1Hy1veWel5TZO51gYByuXDpkd9Tkg+NQJTOFSGJFfvP0IyCB2u g==; X-CSE-ConnectionGUID: z0tAOx4kRimGrwt021s81A== X-CSE-MsgGUID: 8lxLQdceQHiS+2N39cTx4Q== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278248" 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:08 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) 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:50 -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:47 -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 7/8] ARM: dts: microchip: sama5d2_icp: Add power-supply property for sdmmc0 node Date: Mon, 5 Feb 2024 10:00:25 +0200 Message-ID: <20240205080027.4565-8-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: 1790045183515304132 X-GMAIL-MSGID: 1790045183515304132 |
Series |
Add power-supply properties for sdmmc nodes on Microchip boards
|
|
Commit Message
Mihai Sain
Feb. 5, 2024, 8 a.m. UTC
The sdmmc0 controller is powered from 3.3V regulator.
Add vmmc-supply and vqmmc-supply properties to sdmmc0 node.
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-sama5d2_icp.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts index 999adeca6f33..adcb3240e5f5 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts @@ -712,6 +712,8 @@ &sdmmc0 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vdd_io_reg>; // 3.3V + vqmmc-supply = <&vdd_io_reg>; // 3.3V status = "okay"; };