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: 13547140 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 CCE76C48297 for ; Tue, 6 Feb 2024 12:04:19 +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=bGUNUg3DjcjLbppsaHbgzuN+dhnlcg11tOhRnUzx5X0=; b=YN3qVB7GYxqnGH XsFa686CwZHEu84IzE2aK089ntf50xbOlxFaTFyOjl1PhKDVe0ih1um1d6P8A/DsaeclzWzTyCBVe nqJ56n8NbeWdI5hkPkXwkOWHgo2xIXpX6+SpVDb19zHVGfKiAUKY0x3DmyywvSr2K9i8MXWKAhGRr 4R1OmnOTrR64i/h91Q8P9qCayzez61A3tDNb5FRbUbXt84eQn8L0u06uRcyLnmujuJD7T/b+pYmoG /SPE/OqVMleAthCRqSQMRBO46BbYObQU/qXQYisVAlAmBSsfEtXT2MJzPU6CVqvsQFURYl5RahuaR bYmOwt4ehLwDnHodof5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBM-00000007Sk4-3pQK; Tue, 06 Feb 2024 12:04:08 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBF-00000007Sd2-3O47 for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221041; x=1738757041; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EiKdr/c9u9JrjmRxZthlmQfwVXETFnQKLUqxsjuilV0=; b=Cbwrq5irSsNzYyHB59k40hOlEJrbp8WX5vlJmRhLvSPrlaVGvjElLo8e A2h9E+gQVzrM8NLzXV2J+dBcc1kzM7Ogjt16aTfpz661YIagWDoHDLIFw qWhbzCNdKzFcjmQRzNxBfHhTGAMEytUdE34GJKSBAGc17xlMk2E8AALIF 4/CQJ/hHqUzLF8d50+jgjVRAW5tY2CPFSMt8askCZT5LhQyE1BFOI19aK WAviE1Z63NlUiPF929IvlKaJlVRX3WRYPl21FKqrE5Ddib1UOMlBXxEKB 4AG7Z7jp4wyqe4Fs2dAR+Au/QDPpmvjSNRsuxeeF+/RzdCQ+PUwiZwAKl w==; 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240206_040401_889524_9911C44E X-CRM114-Status: UNSURE ( 9.20 ) 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 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 {