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"; }; From patchwork Tue Feb 6 12:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547139 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 5127CC48297 for ; Tue, 6 Feb 2024 12:04:16 +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=T3U1EIJpYWppcU64gan8vJYPNV44OkXNraKeATLdU1g=; b=wFIHy4kzUhSjM7 ISqYIOhwUxcEmY2mLlURDDAekC487vistDpeSmDXRt5nf8VG+CKwy+p4GFSn6T1EOze7qtwGXLDpU QFBdHUhGZcbVy8PtXDptH5yRzTZ10Gw41hX3ThxG0JPKoD9pc/siH6xxz3TCoNpiHJR/kCLwkcW5O cppmLe3N4PizPx/XZU+XtgLEF6FGXfsO30+qkstIPZUfYgDNKkiBcTqL+ZyIYvh4Nd5GFEIoX6KaJ Lml+wJlNimFSKUx1mhP5f3SfDZuRuODIGPa1POuk21UTkFBgTpPokUKsfa7/+C4iuxqW/hhXDvg1q +9H5NQAib2syuMy2wYgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBI-00000007Sgi-2jNQ; Tue, 06 Feb 2024 12:04:04 +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 1rXKBE-00000007SdV-0mtr for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221040; x=1738757040; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F41G1+RQ5nTNqvMXTxeVA04ZwCfN78WPkAzyLOV9cds=; b=Bb0bst9cMAVF3mwd1WV4ADEaSFDHGfuN8KeHSzV8JXCHJbQ9RX/KZBIb 9aPWq5TdmVAiuNnXcQI/H7Bc832Dw51YSn4eU8+uuW0XX1RAaGENyqgzc W7XeIJYCLeiA/5529fx4ckN1qiErNQApzEwgFc3fylHWdAPBWG3krARC8 kLt7VLj36SiDQHpy0K5lNuNNiaVwwoWKsH/VCDu9pnSM6AT749tADZZak rqzaVsLbZzde2ut5zRCqFbWCxDJDmPl3BXHUTC7QW6sg+2EqGb20zErUO O/u9czNUM9zbt+GpCgmlMXudM+rvhJZz7ax/oan3JbpecOxQesYtnEoH7 Q==; X-CSE-ConnectionGUID: F8QfY3NGSPaWmFcnYFQ4zw== X-CSE-MsgGUID: kBnP/YNoQvymYWbm+zoYjw== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="15843151" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.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.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:35 -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:33 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes Date: Tue, 6 Feb 2024 14:03:16 +0200 Message-ID: <20240206120322.88907-3-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_040400_314045_76F9B606 X-CRM114-Status: UNSURE ( 8.41 ) 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-sam9x60ek.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts index f3cbb675cea4..b19a0956dc97 100644 --- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts @@ -560,6 +560,8 @@ &sdmmc0 { status = "okay"; cd-gpios = <&pioA 23 GPIO_ACTIVE_LOW>; disable-wp; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; }; &sdmmc1 { @@ -568,6 +570,8 @@ &sdmmc1 { pinctrl-0 = <&pinctrl_sdmmc1_default>; no-1-8-v; non-removable; + vmmc-supply = <&vdd1_3v3>; + vqmmc-supply = <&vdd1_3v3>; status = "disabled"; /* Conflict with flx4. */ }; From patchwork Tue Feb 6 12:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547138 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 8F29AC4828D for ; Tue, 6 Feb 2024 12:04:15 +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=rJDwAUsScD93GkEXBnj8Vu/LraSc3Ic4/tCiF+ndJ88=; b=2yXRpeUoov7P0l qNCJ2HBJpwgfxceUG3JisC9fH3Bsj9UgzTV6ucBOBGKqa7i3g9IbgZXmtWcNkclphltu8C/pF0+zS DoapQhhUAY0pWS5lazqRgPK1hvuue+yj/XhliCY3qUbfHvHgU2IEUHEiyaCYwAa7wmGZAxlyXRuG0 sQ4P/ekdnfJ3l4b5iQy7VXniZEV8Nuruq+txvpCWmpqy83R7EsUFw9U166TGNYnMNkXh+Gccjv48Z shZ5msTRLY7q6laZPBZ/tjFYoDF10YhpeQeP4mDcOQeK9l/Ec+19URmTUV7kaPJiOLWLM1wJbsy7F 5fxXymMh3iQ0/jPv21Nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBH-00000007SfJ-0tal; Tue, 06 Feb 2024 12:04:03 +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 1rXKBD-00000007Sd2-3SmU for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221039; x=1738757039; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=X6l5+Qs2evycJatv5Ixx/LdwhPihrwxN901yvlO4cdY=; b=1Qss3p5uKgEcIZcQZGvZaOh/BLTF4tId2RkzBh5FIMVsK1SWmwWU4abb 5pc3LovtFrVKLYj4FvpUZ/RusM4mGhXtOjp+htoHn/7JS6fEBLq1KWCla 45MqawxOSk1iLje/BKvdHZov7ItzqmNSv1u9JaToZwGgmxOTVZosURBpl W84mAXk07WjO1beiIacW5PMCvsnoE403e7SumccS5sn3Pb4iRSBsBqBJT 42vNlVj3o82vW/Tj6xMIS8XBI7hS7ZPVpbPeqQCCu4njN+CcZuVpck5RJ pBz7j5jrIQqrSzl0odAgP5mnNYRJ0UHLEjv7/p8KyUmEJe33pcrRURBqJ w==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: +2VvTXRxSHWcLM3TzXxUtA== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200237" 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:37 -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:35 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 3/8] ARM: dts: microchip: sama5d27_som1_ek: Add power-supply properties for sdmmc nodes Date: Tue, 6 Feb 2024 14:03:17 +0200 Message-ID: <20240206120322.88907-4-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_040359_892607_31D13F0E X-CRM114-Status: UNSURE ( 9.15 ) 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 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_som1_ek.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts index f3ffb8f01d8a..255ee0640133 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts @@ -56,6 +56,8 @@ sdmmc0: sdio-host@a0000000 { bus-width = <8>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; }; @@ -63,6 +65,8 @@ sdmmc1: sdio-host@b0000000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; + vmmc-supply = <&vddin_3v3>; + vqmmc-supply = <&vddin_3v3>; status = "okay"; }; 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 { From patchwork Tue Feb 6 12:03:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547141 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 326C7C4828D for ; Tue, 6 Feb 2024 12:04:23 +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=axkR1hihw3/DjzTTliFq/mqk7VoigaQT8syZFIXLJiU=; b=EhNX9T4uh9/jyD p/aGX05/6kBFb/nKOw6vZ0bVorrXVrxJZ157GvKjMrXa027gs3b3t9/bAyq1iYpkFICefZIkRhoUo 5AE8s978r9Ak4cBIyva9ewXuCQ/dhVzNTJYNtVCzLirNXRJ8sWoCdwn/qm4Eeh4zElyuI65FI8SL/ YJzevRYGVg1xFPGdESiYTrTYWIGBZoD9plIYMon+8G8USI0PuayomP2tJU0Wrg1RApg4GHG0wkYj5 nJ7o7ufp2AGPao6WGzSN0LN4uskJ4JGr5erT9X7/TBW4zdpJLAI9NA4TcPVC/XabCqZYZT79CTi5X nEEol8+bstzUe8Du9K1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBN-00000007Sl4-3pLs; Tue, 06 Feb 2024 12:04:09 +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-00000007SeU-3uo0 for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:04 +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=uuhzD7h2SKOvmlK9PXKVWDeAFZG64lM+lbWLD+e9xpQ=; b=IPUnSrHOut4TLnepdG2CvsXXg1kZUbfeF04zaiVh16GwKh1Oj1H3YiQd J6biYSf5zouWHLSkfOEyJMdZ92qTGrSY+1jzaQSTiUWgdmakn0BHqIQsU sA4HYg5VDSFy0x8QKSicQtLoAfU+WWeFk47DBQb5uLySBDapJZ/9aGMO5 aFbLBaDDyyq7mI9z7a/5xWqpWPC+I4PpnZ7blk/hc6znv6kDC+u+BrWUE wfPJHlH6rx2Zjn98r5FtDR5jGpBOoTTnFTB/Uq1zVcdsIw1XkSOwS4+GU 9kpzHqdbWvXbn6Xvlx/RKheXzGbHDRddUWRMpM9vtmXmvjsyC2zxYh0wF w==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: aqlGfhU5TlGcsgRLZZ5F4w== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200241" 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:58 -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:43 -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:40 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 5/8] ARM: dts: microchip: sama5d27_wlsom1_ek: Add power-supply property for sdmmc0 node Date: Tue, 6 Feb 2024 14:03:19 +0200 Message-ID: <20240206120322.88907-6-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_040402_029540_2D340AFE X-CRM114-Status: UNSURE ( 9.37 ) 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-sama5d27_wlsom1_ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts index 15239834d886..7b36e1970bb7 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts @@ -199,6 +199,8 @@ &sdmmc0 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; From patchwork Tue Feb 6 12:03:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547143 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 BA701C4829D for ; Tue, 6 Feb 2024 12:04:24 +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=wDiXg8q8gmETR3Z6rHSqpnj0FdGXdaedTV4bdRIZ5Rw=; b=Rftx4BZyfvoM6l ljvnNi+mE2QixQX0utzMnMycHttur5JwYtK+e8WEdsi3pDH+v9V85UZCJEmOw8iQTEDmrvqhW8+Oo JCU97CJCFxzn2U3Az5FAEK5HNl1j2i1X7xD5gWPWfZZr6CK2PpHLj2Cniq+PVBcrOaxX85yS0yQdl aR/O5inXITI9bp891q2tGMieu2DET8bAcmWv/gRYakYBho8OaZiQhYYBN6DIax5xJWS7Q3iMCatbo PUNtuzo7//Z5ATlPthyt2qiMPqtjNZlWbiKlALJRhQPnhboqnJls+JWtHC5k2hulsQImaWB66n8rT PrRaEY8y/aKgG+i/c0AA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBQ-00000007SnH-3Fxh; Tue, 06 Feb 2024 12:04:12 +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 1rXKBH-00000007Sd2-0LuE for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221042; x=1738757042; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GGCBkxCfAvpFW+a8iffFgSgfa1wQsNkoc0aZBARmSME=; b=pAi5N69fmraRghwKKJcVvrIqtaCsag+FzMLqdRobRPt8RhzkNbwhwOgy glyYquVh2b7zifGnZANdOv1QE9mmjotsTm6wEIGW+AXE5D7cTyPpvgWfK qeQs7LbJiiLXwzxM1Waja10p6DpUXEO/U7AFQq3+j9sXdzWjsbx4U6mbG 1gzkrv2rmLlggEOOqd8x/gpHl02D6wxdU5VfIMCgpNR1h9HKlvlRWrUth 8VHus1SykURfkvem7WvIXo9bhtRq522pKpRNlFik4Zxcn7u9E7KhhoVKK z+RQjrsFZIaNw4hPMLF8r8EnIIEUMH/yM78imy3UvwTRYaCnRBVR0Ut57 w==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: 1EZtQPkgTx6jL2+GtY03YQ== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200242" 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:58 -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:45 -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:43 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 6/8] ARM: dts: microchip: sama5d29_curiosity: Add power-supply properties for sdmmc nodes Date: Tue, 6 Feb 2024 14:03:20 +0200 Message-ID: <20240206120322.88907-7-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_040403_283935_93C073A7 X-CRM114-Status: UNSURE ( 9.18 ) 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 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-sama5d29_curiosity.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts index 6b02b7bcfd49..4a86597d089a 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts @@ -504,6 +504,8 @@ &sdmmc0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; disable-wp; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; @@ -512,6 +514,8 @@ &sdmmc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; disable-wp; + vmmc-supply = <&vdd_3v3>; + vqmmc-supply = <&vdd_3v3>; status = "okay"; }; From patchwork Tue Feb 6 12:03:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547142 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 E5850C4829A for ; Tue, 6 Feb 2024 12:04:23 +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=G/lXw3Ur4rUUCFTzL7mvOU1tlGssqr9Vs6n3SJURGns=; b=z/rfV0rURrV3qQ HzQMaTnaTMcpVEVVGqghrDOdvsBbXY3MmNiogCHjNPNlHMUCQbzfK785fXkpjGOQauaYJvSBw3xuT 1MTN+jOpqbvY3TgkZJSnMTb6n8j6W1Xf/e06NMzjETP8OMff+xouPC5eCo1wMbjgHv52A5ra+V8GH YEmdfb7zaQY9OJxHW5dss2ifh2Nf3fYV8+wt9R/6/ovVvX9P8P5CNIDDz3X4I1A+K5BVBNN9tBdaE +fj3ld+Jr75kDaPo4rVPlDwyVOFt3wjvGLzDJK9AkVuouACsBjZy8KcBz1sOB2ndF8pR9yUsHEaRP G68q0AGY35/PHnsVvpTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBP-00000007Sm2-0BYs; Tue, 06 Feb 2024 12:04:11 +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 1rXKBH-00000007SfM-0kjo for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221042; x=1738757042; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gxp0aYbQ2ugpPKEyUXMzSsLLT/uKXw4HcUWO4ZTthg0=; b=L3ixrFOffT6M8e0DgYJSHrGveBY8GIvYakNOe/Dait1yyIwX4HpGNyhu mEMdIjIJEEmJjY6kUui3w7S9JFvju/IVCouyPHqn8ASCqOotnH3lJK/T1 ImCjLwrfCBpgK+0byVAULEz2nKdMDpXBKYG1a5REI8ckv4A8BzAePq7c+ 2ZbKyPjOraV65aO0CfsenFyOSkLjbDFRBuYGz2qIROlkhkZir0Hn9Mk/Y 0wihkJfjKsDe0zfzxqwGxKSlR74RaEypayCOz8lHxT5x5H1J3nFCuoiOT w8Tx2sDEAxZpskfLohwCeAOE+ChB4thqhB5Dk5L77mCsBjp1U9lb1hgg8 g==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: x2dTOowiTDySOs3/yErIIg== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200244" 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:58 -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:48 -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:46 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 7/8] ARM: dts: microchip: sama5d2_icp: Add power-supply property for sdmmc0 node Date: Tue, 6 Feb 2024 14:03:21 +0200 Message-ID: <20240206120322.88907-8-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_040403_384259_009ADD7E X-CRM114-Status: UNSURE ( 9.47 ) 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"; }; From patchwork Tue Feb 6 12:03:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13547144 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 86265C4828D for ; Tue, 6 Feb 2024 12:04:28 +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=hx2PQ+LqUnzvc9AbrAlXVAFtMXAUTqlfHvCECMkg2co=; b=SzqzFJnOwtcr0X x+CWRr+P8TsRZlqMsk76/wK8RSZTS+f7TmFNKxgr92XTpF5oTiZ0LXF6JZUJgfv10FPKC4h4DdyvR IG5+cA4sCAT0YSn5UZmOo+7Itx+8b64sEUNrVjZBLxXtcdy2F8XwFyHx7KUWbtOjSLbwYo1A9O2ra TjtlUoQGsS025fN4CL0pXuuRSroGVXfP0tDKOuvqy/tVFxNuiuw0x2YgalxKffYM08rrbG7eTaIjG qLfgKTG6uBBRHGu/tpLakJxpUWhm2WCEoO1jeZgWQOGt60DwfUsSbE+38li1dWci1Cc4slS8gnyBb +Vfq8Rmz7Tob8ToIgKvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKBS-00000007SoT-1GCF; Tue, 06 Feb 2024 12:04:14 +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 1rXKBI-00000007SeU-0HwC for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 12:04:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1707221043; x=1738757043; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q5AQrYWB5lwDHhGNPklEX9DOip1NJmdov5PmWLB1Rm4=; b=ma37uop5SkZbe8FcMuzBTSQs1IAhHIa7gfYoAUXbPFvYLoXp3c4Rgkkr uCgJb3ae5IIyYkoUzLFW1E0dbaOG77HhwRvb0OKBNX+jQ5iomdp9PWyZA drI5aEoo2VaHxHWskocCyU2XedNrtvOihiEjazUdyE+P3OTNateR9Mlv1 RHyh+4K3WdV2iY4tQwEW/TUN5k2B/hvgmNstO2HrB8Gl+b4IJxiIDYcLf YzCIBMHP27SxUHrPrOoaXMW9ytjCOMfBzXCXIuFS0H3T+LHZ7j3ZLSoUJ OgC8hXAG6ba3KmwtuOQZVZXvPxvpJ5LQrtOcasqIn74gI2hHTujd/bxDi A==; X-CSE-ConnectionGUID: /iuDP2QxSliEsbGRCUpaQw== X-CSE-MsgGUID: uLKTaMpvRyWh4wCyip561Q== X-IronPort-AV: E=Sophos;i="6.05,247,1701154800"; d="scan'208";a="17200246" 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:59 -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:51 -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:48 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v3 8/8] ARM: dts: microchip: sama5d2_xplained: Add power-supply property for sdmmc0 node Date: Tue, 6 Feb 2024 14:03:22 +0200 Message-ID: <20240206120322.88907-9-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_040404_249275_5DDCB526 X-CRM114-Status: UNSURE ( 9.42 ) 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"; };