From patchwork Tue Feb 6 12:03:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 197373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1491460dyb; Tue, 6 Feb 2024 04:09:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFw8WwQB6JlUxCTw9MhvhVmLObFhOHvWdQ7ILdcsXyYwQvqNBqwILebDmNJtc5En5cunNUl X-Received: by 2002:a17:902:e80c:b0:1d9:4643:65b6 with SMTP id u12-20020a170902e80c00b001d9464365b6mr1794605plg.1.1707221385140; Tue, 06 Feb 2024 04:09:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221385; cv=pass; d=google.com; s=arc-20160816; b=VVCh6D96rWVe6abm9/ePcRTnrnHHwT+V7E7pw+CEsv+XlRi0Dgix/wVR2tjTSq4C0H leQF8gckaHA5wbSCSzcSqVSLc5EkO7ET2JADWhNtnvwMMvQe2pTjIU78+EjBpbt+0n9w LEvTwYCqCfiizyMskXlk5qvvhMFYNZIGwduWCvnjEglpreMRl6erKoQ6pdpzE0I5PEEv 24HtSV7SNR3QDF5kuLtn0zbC9FwGS5sW3taZG0dydx9srxl5BOWaqn7mg0zUSnrAzNdf RfSyzOKwdGy50z1KcJkiwXPzLTkWRknsXgC/KgPjFhXuwcCVGvTikwSQ8a1rh0tPRS3X aeug== 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=NTTUGp5TWM0WArX/2B8B6PvhVgv9GhG9jutaTT9ufOo=; fh=KVW2mOMZ0dgxFqPuHTfyjSk16tGzwrFXvicr6ob8Kds=; b=poenXOwjH5lTSH0M6/vk8Q84YCrt7ogc2urS5T/9yQ5GySEJ0jN8CcvQ7LGl3dQQVZ mLzwfk5vUAlDPhKJ+n2/Og4uoDXF0zwYh271Bczsjk6/ITBpPC1v0yO733Ko40sFE0AW aKAkcCu3mh0+/5jdae0Lii7KzZxuaMcVsiblszd2YedDFwEmwNvEnG3jlNirDKgxHOfy MPs3AjiucVL3Ql7ZFK6tT1mYMhTy7JLiK9L7NWqWyWHL/sEEsg69ZjtGS/gsrXFvZEtc nSGxd7Z8s5B9GCJ8i6dpc3byfh2tITUA5JIUimp6raxDcGuVrrkI2MYaZNxmXKHNh83K 3gDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EQ5Sh+fJ; 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-54851-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54851-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCV9otLYoCXwRPKya5k+NKaQ18y1sVC+r/wtO+5gdepbCjfReVprLXBWphz8/4Mrfq5JAa9EhYocxVx6PEsZdHualF4Bug== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ju16-20020a170903429000b001d9624c714esi1516577plb.512.2024.02.06.04.09.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:09:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54851-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=EQ5Sh+fJ; 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-54851-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54851-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 6C7E62875D7 for ; Tue, 6 Feb 2024 12:09:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4978E1332B0; Tue, 6 Feb 2024 12:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="EQ5Sh+fJ" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 D655F132489; Tue, 6 Feb 2024 12:04:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221047; cv=none; b=JFYPQ5sGSCJYn1X/ODfvGQf8pbFemLuVEh62dg8GfHr1CVPYwDqT2F/cU4phAY7nFOdFYbt3QozwpTFiayNHSbLQoRMD5hWthA4RSsOsYn/lMy7Ar6N4LLuIrl4MDNNLSmhhYfPaTw7pJQrye1tbnB6VsWdFoKWQ2r/iWtNkM2I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221047; c=relaxed/simple; bh=EiKdr/c9u9JrjmRxZthlmQfwVXETFnQKLUqxsjuilV0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=llkTbHR3sRnwO8ISIEjXfXiMN0oxNmXMm5e45MeCDRddHF1fSjFHOaQoirL9DLsUpjtSs6eDSDGEMo3jBCx9NrEA4whtqoNlMmeDHzQti9QAA98SxFLZ9kBjuUsbz8D0rJsbbFd9qsO4LDFCY2/aXVCi+iJR96OkcbLiwHwbE2c= 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=EQ5Sh+fJ; arc=none smtp.client-ip=68.232.153.233 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=1707221045; x=1738757045; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EiKdr/c9u9JrjmRxZthlmQfwVXETFnQKLUqxsjuilV0=; b=EQ5Sh+fJZrqFpLaN/7z7D6St+zNk7XEyrXkDxggYJ659dV6gnxxP9JhF 8m4ItOkqzRD4jk43DAvBKaocaqj23IFe2BRzN2RlBY8YDyEdEDXFQnhJQ vTHJBaJ+R4n1npID2SS2M5VB7uZ5LOOiquOUxzIV8ja/rnBhO65pP0hDM Xd+t8u7JKb1Ji19BkBx658pIMS9yxfVEiY4bUm2FJCjVdu3sL/UN+SlHE TixFhlGKObirkOLkcT6Ni5cnQUsWVWCBxwp2qKqSYLTlhY1FsvhU/ObGh G8xo+x6sSfP6HGDgvaOv6JIvjT6sJkMyvyz+rPWQ6SOwXqbBTYooJkJZb g==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: v3sBQFHaQxKUz4RPHrKjVw== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200240" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.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.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) 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:40 -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:38 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 4/8] ARM: dts: microchip: sama5d27_wlsom1: Add power-supply property for sdmmc1 node Date: Tue, 6 Feb 2024 14:03:18 +0200 Message-ID: <20240206120322.88907-5-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790151370775125267 X-GMAIL-MSGID: 1790151370775125267 The sdmmc1 controller is 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 --- arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi index 4617805c7748..96819ea24cbd 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1.dtsi @@ -368,6 +368,8 @@ &sdmmc1 { no-1-8-v; non-removable; bus-width = <4>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; wilc: wifi@0 {