From patchwork Tue Feb 6 12:03:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547115 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 56C22C4829A for ; Tue, 6 Feb 2024 12:03:57 +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=Cl5KSICtM6UjiUDEhrODdNoYa1CgZseSbUuXTgEhgM4=; b=lLPUQCaGvsBZRY VVgxnJOTWts6abYctzGwC+MEq/pz1K8hEWgy5gpu8Z/ydZEGhgfHRh6wg83cckv57BtwjlKCPYn1Y 2Z+NsoL5dzd+XmXDxlxSIP/dRh6RtmT9Cyh8tesWGY3geAdZWAHnNQZo9LIts7qf/RSNJ8d00bgya YiOPG9p0ECXy0YM2uUX3B17E6gfnXTFa5WMwQ6JjVSC313GLCfx0fOi8AQvjh17SmkMokHOXQXg5j ufO7Vl2jKhoKftWGUtRssAU4X0EKTgZqgF8PRW+hSBPODTOXwFRvxHPuycFSQwMvFWO9N7Uqu738F /M8M/IJ33EHcXHU30EoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKAx-00000007SXQ-40PM; Tue, 06 Feb 2024 12:03:43 +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 1rXKAu-00000007SVL-0WM4 for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:03:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221020; x=1738757020; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VmwScpVHyOuzrgR8x+aZIK2YdHWWkhRqBsdSL/vjAe8=; b=ZxkDGfHCWCbr3SA80waJw9BCESEw9Y3dKNiz/EfJhwHlCjtAXEtfSG+X /aKk6VLPtE7J9PP0ORN8Q1lb6nFsotgiYblPsncN3K3O+rkz2By1Gpk8J AmkZFaCMl0TI9Xmwtg/MOfLi/fHtYmVeE/KyyJhTkimCIZ0t0+BKWrlm7 Kd9HE22CtiaKuJOGPVxCYjRZwDciT+s+IfMNzECuZeXeom9XmesdFyayN QHPkqu/qhh0fgsDcGtiZRGif2eguP3t38TCY5hmHMOj0TI06x7M9crGU4 vb4iDRGYLb9MHigXDs0vMZLLn/DKwDZUvrrw7eRgAU9Sfs1qzvsgWGQYU w==; X-CSE-ConnectionGUID: yTxsI0ESSbahg8PzMhJ7Cg== X-CSE-MsgGUID: A3M+K6MoTJ2txepBP4p0iw== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="183097593" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 06 Feb 2024 05:03:33 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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; Tue, 6 Feb 2024 05:03:32 -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:30 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 1/8] ARM: dts: microchip: sam9x60_curiosity: Add power-supply properties for sdmmc nodes Date: Tue, 6 Feb 2024 14:03:15 +0200 Message-ID: <20240206120322.88907-2-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_040340_246560_568BA64E X-CRM114-Status: UNSURE ( 8.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 and sdmmc1 controllers are powered from 3.3V regulator. Add vmmc-supply and vqmmc-supply properties to sdmmc nodes. The sdmmc controller from SAM9X60 MPU doesn't support the IO voltage signaling/switching required by the UHS sd-card. In order to use the sd high-speed mode, keep vqmmc at 3V3. Signed-off-by: Mihai Sain --- arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts index c6fbdd29019f..457c54dde0b7 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60_curiosity.dts @@ -452,6 +452,8 @@ &sdmmc0 { pinctrl-0 = <&pinctrl_sdmmc0_default &pinctrl_sdmmc0_cd>; cd-gpios = <&pioA 25 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "okay"; }; @@ -460,6 +462,8 @@ &sdmmc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "okay"; };