From patchwork Mon Feb 5 08:00:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13545066 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 9C0AAC4828D for ; Mon, 5 Feb 2024 08:01:38 +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:References:In-Reply-To: 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: List-Owner; bh=jnMec+qU3hv08cZu3BBiI3drU5dffTmD9M/8zE19Feg=; b=dn/KMi2snEjlW4 lZ6097AcLUB/aadccJ+0ZKTxxDVrJUPI9m9W9xkXL4ZnTOLxss5r+a0Iv+tzu3lBi7QAG+Vedx/9N nFTR3cOf0PpMrS6jNSq6JHYgrKBiYKJBt+Cow6LLvTuhWVKfjfsg5IT2zUgMUIq5j/EgVDOC/L8la ZmUnAgjWbAgIaCzSttBxtEiYzE1PleufgH6sIpfE9kSkzWdVMxr+5U1VWuTTDprlNp5s/yH9QPpWh dNWsYh+jXOVwd5yUbO7a9HgBVZBEQHd8IbiKam4xVOQasfRgadRiURxXPyf7cnXetERkhk5ib+tiB pZDfGJOvEvjMCExtmE9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWtup-00000002Naw-2Jqw; Mon, 05 Feb 2024 08:01:19 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWtuh-00000002NT6-1CiK for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2024 08:01:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707120071; x=1738656071; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7Q4k+KbMYr9qx5BQXuGDcYEmnW+RWhVIOI4IF3WHU+k=; b=1W6pGmk3/pTu/V7E8qzRYlo/lNIjs3hHaWDxfyI6oEZCfNYDv5oiZ1NX eWhp4QLjwUy0fGfup9nTH61+4is19HQvLYIOaXvKSRyNckNCklBqP9Ui/ 9Q+9eGsxfLvr759KGOKLnWJGjEciRjsT3ocDQGKQi+6yzAcDFls9tU3A/ nmgLTmR8tNZPwqTChNDZKXNlmstk9LXFZ0PWE0FkMsIYKuyFE3zyQh/l0 bDq4Cwa/fI38cRiAJbzws1Feq3/ezMJQW7KunHAniFDpCxsEa8jcLOlUB V8MhkAMXykztAUtUbXQ3o+KD6LW2mFgfOtKj2PVL/U3iJ+xWODZUwL/Bk w==; X-CSE-ConnectionGUID: x3dk9xvgTIiMUicoXpbX8Q== X-CSE-MsgGUID: C9DbyUXCTfSuqARtpeRZng== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278250" 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-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; Mon, 5 Feb 2024 01:00:52 -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:50 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 8/8] ARM: dts: microchip: sama5d2_xplained: Add power-supply property for sdmmc0 node Date: Mon, 5 Feb 2024 10:00:26 +0200 Message-ID: <20240205080027.4565-9-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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_000111_416114_7A26A018 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. 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 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 --- arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts index 6680031387e8..9b7e56790a5a 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_xplained.dts @@ -67,6 +67,8 @@ sdmmc0: sdio-host@a0000000 { pinctrl-0 = <&pinctrl_sdmmc0_default>; non-removable; mmc-ddr-3_3v; + vmmc-supply = <&vdd_3v3_reg>; + vqmmc-supply = <&vdd_3v3_reg>; status = "okay"; };