From patchwork Mon Feb 5 08:00:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13545067 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 12950C48291 for ; Mon, 5 Feb 2024 08:01:40 +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=ckMbNRrXIrn8sIuVSGhVlNjxoFuB40iiH+5LgbhT6z8=; b=PcWF0mMVtEpFln PKynCctEPFtVzXwR3AOVEfjimgbJJdUh3AbYfWMOi1QbgDgu7+R6JvFGwN4a8eJJlIoFYr/SRKvi2 HWZkQcPx+2iasZP6rOvJlj8ljJcjr8iQkfRCcIervYG0XgBl//yCeaToLBb0OVKiyTgoqV6/euUrm f5EQF1MdLvN1JpOSpsjTsT5eDpUeqJgd55OZKVlJPbnjLHk2pmq7vt/UOuIQDbau3EtbogvqUb5iQ f4el3O1papOIdjrdhtCHysjQ69Ha++jpfwjxJpPYVtlXuYZQm/+JH84/2rF7MLSimceXIiiAYazK7 rnY/jaljSjIsgHVP84JQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWtur-00000002NcO-1918; Mon, 05 Feb 2024 08:01:21 +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-00000002NUq-1Jbs for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2024 08:01:13 +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=520kbFokQfIobK/X/hSbAVFhFZ2E7Qd+bcOJ67BSKjQ=; b=2ORNkMIteNO/O8pQvd7QNnKGZsAQjKZvUZAktbff8qVDe7f0A8AJ37Mk yjAe+YzG8Jce7Mtdq9xjbIGD5Tefp8lV1ldMaDOeu89JX/23upLCgq9uD 5iEq1wFTo2uv5CuD7fgAMUUeU/Q7b4p9ESYpcUDyBxm4d0aeBc3pFydae QAl9yDmnDAXJYByBlxP0jsrTtxXXACnRh3MjdnazXvQQ6jJOXiiwpMIUX Lo/ueTEyToeADECbdGIHus3DCGotefKFn9LtAfSi8ao0Q9bju01LAF/0s 4QXyQmCwSqEGZPpA790NB8T8rajwR4Z1eDEWS2fyeCBRkgxqTTWktFYnu 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 To: , , , , , , , , CC: Mihai Sain 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240205_000111_516944_276E81B6 X-CRM114-Status: UNSURE ( 9.16 ) 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_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"; };