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: 197367 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1490439dyb; Tue, 6 Feb 2024 04:08:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcKrkFpyxxnUtFQXsrt4Hef0D3UcDhLDwT46TbEwWK8LjWW+g7ivIe87UeWBnb6a3eE3Fc X-Received: by 2002:a05:6214:240a:b0:68c:40d2:2031 with SMTP id fv10-20020a056214240a00b0068c40d22031mr2887281qvb.19.1707221280211; Tue, 06 Feb 2024 04:08:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221280; cv=pass; d=google.com; s=arc-20160816; b=hjoG6vOe8xg/Ed08jZt3T9xiKzspHNF6pS5zllYOJ9pgGsBtdKqI6k2RDXIwbpHt+X KaeCYUMkpUplMrIg8bk0zv30MSUdg53g1cUmHnfIcCNmvkbpuX42uE3TAEykOoeGXR5Y jOTfWdsIWlsda5Cqdm+6KvFYwLecCOV4xMkfr1dXaLL7RSWLnNgpFfCq5M1AYZimLnZl u14VUhAjsqK7F2Ji7daluvuecIq/8HR77I8Kqn4Fbs9E6LAPqm7wygBVl+PQicfwir80 EXw6vxQ88nHjc4MehixjvhaDWQa1ejj9H9Nu2zbv8HsmIL4IfwOSzPVizvkxeZMmhiz+ pw/g== 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=KX7VWS3tV61ZGW8I45cqPf0h3n+ustORezUTKDbJmQI=; fh=z5bPmoZye8CuKhTEy8e7X4TQGgJgCsDRqRE5Kvt/RXk=; b=JftEeBIKCzv1t5ugaIc+/f1dQEt2s3V2tiaHmORggEJCp/X4kq3ONy+kgiljl8xbVq bXpnpdJfyl3sDW6rS+R2Lx/W/gEYVLrFm1eTmOvNznWWWJLt4Mta1BFH9RaLXhR7TRQC kHu+3nie4wqFGPSXfcVC4X/1MaR15d8iK6Ato6S4SUqOxUlB/UATy1ZSQOo26VHupgJ5 lbegAUou8mckcUJ6vODF9PdZBVQs3gE6YkYVRuANmOD6MarAxhIcY3vvWYT7TQiN488k h9S6dUfJqjepyF2etU4Fv+RhlGVgF/3NlLznprBYOFTtiB6fQrYq7FFwx5k8EzZmvtNS gaww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SsFesPqG; 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-54848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54848-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVknDyNMBba/1jnttYS4WWZZcLCBqJdbHamOgVIyExS4XmWvCqqdQtK/JLLjgDbvn399BKIu+FHfTQASkfUfu7Z7Hbuqg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j14-20020a0cf9ce000000b0067f3acb6c6asi2173752qvo.113.2024.02.06.04.08.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SsFesPqG; 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-54848-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54848-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EF7F81C232C8 for ; Tue, 6 Feb 2024 12:07:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A72C5131E45; Tue, 6 Feb 2024 12:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="SsFesPqG" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 17FA3131740; Tue, 6 Feb 2024 12:03:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221023; cv=none; b=C1Gl14/Bq7TBmUSfpQLrwIuMhQRG2JZuEBqr4IUDCGUq/ApDMN41e4AEofnFocw1Sv6IWhb2EsmuJRKBbZJxcp78qCxbrkUWvr0Ax5vLFhyWy5y0OLEyjhBBoImjz7gtSEEvVPzV4/J8wYIn3RUrRN7sfI2qAVC1WTdr3hTeMXI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221023; c=relaxed/simple; bh=VmwScpVHyOuzrgR8x+aZIK2YdHWWkhRqBsdSL/vjAe8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GhJgi8YcQ30AyBgRymQrYDZWlEaRL4XmGHIJXCrn+mrIohgiQouMTzkKOULWSBsWJ2XyShGEhRRqAv+YbJRueh02n0TIQOvcRV3SFP+pHDXLm9LFtVDBy/E2TOcqOaz8I08dxSUtcfLkbgOGwLIeYG0fW3PCYxaWfIsN+QKdgq8= 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=SsFesPqG; arc=none smtp.client-ip=68.232.154.123 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=1707221022; x=1738757022; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VmwScpVHyOuzrgR8x+aZIK2YdHWWkhRqBsdSL/vjAe8=; b=SsFesPqGV/7Q8o38d+Vn5XtIzNpuyKbvloR8DY6GbD4Zzg+JyCWqkJ4N y/Uo5Gy/bkW5jlhjdpW8XQHRB4h35+M+2iwSZnfgNj6eLHhBhPSNH8VAQ DXKUeNcLMz/GT+gm5VPyIkSiuxIxUNeCf/vT3Zgnis20siBU0O/ZQs1ug XJ8+O1YmMKPX83l14QC9J6PeTx4dYQoBItJ3AVZfrVW5dCKTlVXEapWIH eFsmoCwq5rIkjcdLQYd4ut6IoTcp/BUym/3OWJLXA0eE+Ebh6AbdC4RaO gd4AayM5a3mm82f20rsI/dGjLDyfYU6qrK5+K0WL5mWdejlGrnxi+6k+H Q==; 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> 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: 1790151260986375968 X-GMAIL-MSGID: 1790151260986375968 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: 197369 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1490592dyb; Tue, 6 Feb 2024 04:08:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfg6s41jMcQyVrdcnETzky4Qa5u3Yi3P4oW5++paXZcz6gReVR89FM8iH8Q65Ko+Uw4dB/ X-Received: by 2002:a05:6122:90f:b0:4c0:230c:1143 with SMTP id j15-20020a056122090f00b004c0230c1143mr2593660vka.10.1707221295072; Tue, 06 Feb 2024 04:08:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221295; cv=pass; d=google.com; s=arc-20160816; b=K9pxMFJGoJOeGmEhsXUvRaQWpX4Y/50+U03Y+wulwlAkR/DocNHykiI+7f1jnrSqm0 5D7xMa1uk3GQ8FQYMBnPE3MWEK6jveC2mDCyjBkOPD/TlfLGKE3YrrKd0jBpXQOh6/bQ u19phnGTnkNKm8NIbs4I7f3qQS4t8NRhBooY4yNrB5bCP3GyN4Oqib5nfKOBHSdVIdEW R8WBSvY8rRlklXgqBiQTMWXmH4vFZAXIp6eXsSgdst6ELKfh9w53hvTH77kVkYUIZ8Ac NOtXVT+SgI3kDJU+G47gBtj6jeEKE1nUdyEIe3wPpb2SxLtr2HFrm2WuXwhGEsjk/BGC KDsA== 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=tj/9TETrJWJ1WXnF0LR93Qc47jVwi/qppFcnfy3L50Y=; fh=syuhIHV0yZzDdSJV0EdtcftbK8kebibZspoaAslx88Y=; b=dllQgsDpn76pKrDMXXDqfajzg5sG/ZKl/RxaAmsk3fOA+JGaALfDzARqn3xJ72Gqvw ZkbSEPgxilo8DPZ2uJbISAIOD8fGZb07skrrpa/k5afQa0a4ugtjvOnpyZtGzvZi//Zm NyJie2B4I28OQNiaWTWefTKU/n+Bqsnfvrhx/wT/f37k/79g1Hl/2XGnujxfGxut8CCb CRVLXT8jyfLIUIB8eg5Y91aRMs2EFbaaoTmRcyJN7IfQG/t8vFguQirJ2spKCp8S+SLz hE6yFjrULbDUNaOwTejRAsl0VvCAo61gye4AI2arIElhA7Ld/NQleuwgOs/qoQU9H+Ck 2qug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Fd7raDkZ; 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-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54849-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCV/9fRUUVcPKp7NJg5e27IJggxNZ+NMfO7oWzLSdNETF4gFiW1aJzq4RMRrlEMrtOMIDXoUAgEHxn2+GU2AuuE9h2R3dQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cp6-20020a056122430600b004b2c1e861e3si295991vkb.40.2024.02.06.04.08.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:08:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Fd7raDkZ; 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-54849-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54849-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D1D981C230EE for ; Tue, 6 Feb 2024 12:08:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A98DE132480; Tue, 6 Feb 2024 12:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Fd7raDkZ" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 0FDA1131E4E; Tue, 6 Feb 2024 12:03:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221040; cv=none; b=HgfjE/vUz0DmdxIfwNK/kRdJSDWEQd/Hzv9nMuGELf3qMsgvi9cf/sQY7CXCCuvLzdDlnOIkBqaUtsT5KWZuRzfmGAu3KkXQEdvjyQ3v/ZeJAH862Try7/1+fuj/v7nrF2J4C+hCld2tQKyDT9r+b2Vd3oeZgmwDPmYSMZ1INfk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221040; c=relaxed/simple; bh=F41G1+RQ5nTNqvMXTxeVA04ZwCfN78WPkAzyLOV9cds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mn4rELP+SkExWOw/OO40MVBre/vGmBzZkvySnvHWcRK5ENt5bLdVlaOOPpoT+AzbA8D0xNoOWjA4Fu/n+ihFL8svONqF47Xb5DqSpvYJQLPoAH2e9nNuFQTx7HJV9VR49AtWULvSQBDd0L4DYDqMj3ViDj5/FhAx3LvfkbmXBZI= 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=Fd7raDkZ; arc=none smtp.client-ip=68.232.154.123 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=1707221039; x=1738757039; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F41G1+RQ5nTNqvMXTxeVA04ZwCfN78WPkAzyLOV9cds=; b=Fd7raDkZrqMsh9ojCzrbAM36HPc9T4zPAceE28TJbQf1wgTlUgp9oh0x ModpVSDaoyjbojsItrDgX1F7SrEKWHX6pzKkSEt2aEHqSczRQutQEZrB9 74knbHSG3BxYXwz8joSjRC+18LZRwy4j07dJfo1rTMnKdogx1TGqf424J kdiHjitfMUDiRRPrd9wjH8fGpF7nyyonD5R+dAlkY71b2IBh8e5a9Q0+W 7jveERDA1ZRpc4yJudPoSg8CrLzofHQmeoTraQmk+75v74+3EplwSkKMS iOLLWz3daXwGs+KYncsHKohreY680m1Y+oaACJSerGnEtNl3K2H3BZQdP 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> 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: 1790151276370719065 X-GMAIL-MSGID: 1790151276370719065 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: 197384 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1495811dyb; Tue, 6 Feb 2024 04:17:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFM3okkP/xcBzfX2BpuTBZpgI6mildU8ubqTKqyK2H2RGYbiS4nYgpRWF89bns3MHP2hrGB X-Received: by 2002:a17:906:b316:b0:a37:62b7:54e9 with SMTP id n22-20020a170906b31600b00a3762b754e9mr1811053ejz.54.1707221833096; Tue, 06 Feb 2024 04:17:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221833; cv=pass; d=google.com; s=arc-20160816; b=Spi65+XMrf+tTIOJhSoDUAzC6LC4uqtDl/vqS3gO3TYJRVP9Cb3iFdjrj/obfzZk0c uhR4xG4L9R5cIaX9C/JtPnmpRd8egPCYbrr4OfTKPOjw9K7EFx6ix+/JXT8xprAgGL/W 1f5ko1Sd09cgC3SCEONTpSy+mAY5FOdAZAS5oaHmEy9KtgnOSv0+jd8T5naSKzb0gEPa oS6KlDg3Zwn3sBDYe0VYF15wrLCKY1rWaiItcCTcjnyHfE+sxBj+crhEDKT1K6dE42CN dSwQ7nDgdSqzH1RS214gIFPJWCfN1ZtZmLDuK/qzhLSwNrf8nLJ1SaDNLcvuvV1lV0vk 3Zuw== 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=a4PmREEZzDP6BO+0314r7h5IWvSMYz58TWiuzhg0A3c=; fh=tNjIszKTiiy5d47G8yzrWMfAP7Ix9OPD9Tw2hlZuvV8=; b=tOl3GVt4pr0nlmZMwElkZ0ugLEN1tx50igjgOzeIaFlUHJxzIvXZ70zvuNb7BjF9fL wPHO6ceM5UAl8tpGizOogp1NyzP1tl1FcpgMZOjArKdfiK29asbHjbuPRzjGu8jgSKGv pLh7q30yWgAqPp0ELxxlC7qxEEIsLsXhhqOWWcQQyENeKTVukoAKSAJ0nNMSnFYZqrDk kO72WvisaE/9e9IPAodl1urJiN82ov01okuwB7SsXTh8N+eM+H3i24dzm0/jB2f4rYXg rJdPSJQQSVThLfPMVfoiX54rGybryhitoAppFPqCDouZX1aH3l/MIUU8s1ZM5n2t65t7 wk4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=CnNI9GrH; 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-54850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54850-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVieo/8dYAzdKXcuSfz2KrBt4Q5LLtwVvJFJ+/M+ShvEGNuAXYKfqGPuZhya6iLtfTz9L7oolmI+omGb2htBXSUBXWcuQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n24-20020a170906b31800b00a37967b8ef4si990508ejz.558.2024.02.06.04.17.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:17:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=CnNI9GrH; 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-54850-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54850-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4946E1F25DA6 for ; Tue, 6 Feb 2024 12:08:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B64F9132C22; Tue, 6 Feb 2024 12:04:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="CnNI9GrH" 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 52B14132488; Tue, 6 Feb 2024 12:04:04 +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=1707221045; cv=none; b=pOigkDyE/onZRnP5QUrdT4Z0e3ez4lwUE2jDUprWCKKb8HqQP7ZsqSEJFc4iBbbKa5zgtJgVntfBAwdbS+yQ1AKPMYZO7J10kDfVKImXyJFidbZqDxmzaNsYxYUgSp7F38ZOIvZmJDkHdbfiQKqRH2ExwoOQRtF22SLBflel7/g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221045; c=relaxed/simple; bh=X6l5+Qs2evycJatv5Ixx/LdwhPihrwxN901yvlO4cdY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p/4t2dSvDXO80tpSzFWmwoXEQ3V9r9sZEEPGidg47OHm4p+v0wfFmmpae7zSys6QeO//NJL1HQ9Oguxb06260KrWR+1RWt1lEvnMRHfKf3b5EugAuWKik4Q1L0nCHxe+xpY665uyzCnpJdWGcf0at7hs/4qeyIKz4GAnMlPhfh8= 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=CnNI9GrH; 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=1707221044; x=1738757044; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=X6l5+Qs2evycJatv5Ixx/LdwhPihrwxN901yvlO4cdY=; b=CnNI9GrHRYVi6d7QdXifmDZfrRcyEOnt7J/2wWNVrNB6xPuihOpRXWVk Qkbi8D3xtCbLgHwr+GjLyhBrHk6qpgZF0+B2MJf8MBweZbF188fG+6iHM 24vjK9lVusxoPQ7+FYQKGVV5Nn18NA4KwKLw9IcSFuDUW+TNqY1nI6TFt xWlvtGX6FX16hkQIZTWwOhjHnJD3yhyKrokC2M0b7xI31b9qWkcUxUjw7 mQpbH9dqdurOXFs8rX+w/vr6rDstSafS3B3uchz4kaIpH+l95oKTdcWs9 COGJEgVlvDrzAhtj8loOvNw1NbY6zwVc/g2p49NoZsye0/V0eng7K7gkj 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> 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: 1790151840500165280 X-GMAIL-MSGID: 1790151840500165280 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: 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 { 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: 197381 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1495479dyb; Tue, 6 Feb 2024 04:16:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGW6D2zArU8XlB4Whm+hscLRLZenQFtwpZgR6KPof1nTrJs195JprAWWNfOcQtblvN11UkG X-Received: by 2002:ac2:5315:0:b0:511:46bc:8d2e with SMTP id c21-20020ac25315000000b0051146bc8d2emr1647654lfh.64.1707221796054; Tue, 06 Feb 2024 04:16:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221796; cv=pass; d=google.com; s=arc-20160816; b=EapLL4iM2+1cxFrKain3Fzf3sA4omUPJvM5Ztjfgm4Eyr0rLM5BSPrycUaw9gCtzkM UuXxO0+Z3UPiYiTYm6VS+WarKULJ5q4YFWk0zRKtQv1WklF/q0o5yGyD36oNlBIWepMN LaH59O3nz6bX/Hu7dQPeX/8a6THjcMBVeew6G5kEZCjm+H3oa/e7C+zIgsq/iU+8ucL7 acsCnltC/jEJDu+6DjacIZgP+ThSoaQikNZ7mTTgjIsj/bProW+ffI7ssWT/Td71qAjG yBup2Uy37fU+wvAypQHY5toyKwJODutPsffySfurVtfJ1zRi3XE/0krtYjecVkdseXoH SSow== 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=GLWKS9cS8bhHEXIBci1YB0TY6UaoE+KZG20gLXoMRhs=; fh=z1BuUFxxkZ+5Vpw8i4jgucL9nxYbT1ZkeacZEh7zJ2o=; b=ZgTHavZ7wVPlMGRMitmalgDAQfYav4lNYHjAueGhrBuiLli/NxbT3xiRNhISqRzoUu 9LWhtzlDWJdx23UUX6YDDR3qcHGYWFYZR6w/Kya9OzFaeoP3iXQj3fZ/bICUkScciIC+ Iwb/Xj2g4yabBDjXG4j/Zd1joI5N5Tf5COT249zJnbg9r8Cq5LZI3k3BjLsSpmiRAfZJ tBRxv9Ec3615Q0rjpWf9Kg91uPdyPzSzXNFToIpMUohLdRmsEYoMqqiktmrm+kJNO7in QXlGSKCskjr+fimTKhgJd5DSdSuLco3rGxfQi8dh7VTG/E4UHuVTQ8VSgpq+LqbuhT11 BdjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YZxahTgh; 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-54852-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54852-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCWLaNXUawnH0oXZb1Eiq3vVMgx5ewFIs0O4ullIupuWH0qydNQbpmEkWyGkswMaGwqIBty4g85B8LCgqLrmgmYGfR5ZIA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h7-20020aa7c607000000b005601bd4cc81si1035508edq.467.2024.02.06.04.16.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:16:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54852-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YZxahTgh; 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-54852-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54852-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B59421F265BE for ; Tue, 6 Feb 2024 12:09:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B952813340E; 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="YZxahTgh" 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 65069131E4E; Tue, 6 Feb 2024 12:04:06 +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=LnTpiiSzVzu7i4FoAbFhUw8DGPozu2ysyS7o8iqSE+NX0Z+sD9r0M5rw/Q6q0hgWufev7p0FLbZ/I4WqZpwsj1rlGtwDunjJjcoPxZ4msoWdel/T1hLdS1kAlsoaRAYT1Pb9ZSgQZkUKCPlBoAF1qtoNkReJBHwqzKG3uvItvZA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221047; c=relaxed/simple; bh=uuhzD7h2SKOvmlK9PXKVWDeAFZG64lM+lbWLD+e9xpQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QaUbiyZIf1jkJmPzi4F30LFklXeOg2ZIHr59s+SGr0mRmajMsmgtsSeMifuZX35t8qG02LqabiFF2ZeKHd5xLcPqAuOpopNupNyfTReUl1mbvGZyc+dxDug06revZEVZcpPE8z8sTCu8Kqcsq/lXWwj4pppph5tghP/zvlL5cK0= 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=YZxahTgh; 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=1707221046; x=1738757046; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uuhzD7h2SKOvmlK9PXKVWDeAFZG64lM+lbWLD+e9xpQ=; b=YZxahTghDOG9+0Ox+jRyWZ3YAdIiSs6XscO0y/NPlFtp1e7Vkqn54k5Y g3I25LwI4gaFcOkXvTE2lgIr6rPiz+IvNWhXRvCrDZOdlwHlct09rjN5f 0i/lSGY9Kw9B02GVYpF4e/636wjy/RzcS0ClPU0m79G1piivnYUHzmzqc 6EPkD0sWsLYEQPLvdhrRq0JHrYPPchrQEVk9wD4Hi5N3iGKveJazM+E1o /OoHsCV0ICU0NrH8EFSzhpdKLBGb4t5moH1cg8Q1ij+y/Dht4caLdCYZ1 Ki6SYFGT1pZvGawkEOyeLlNeL5EgftsPje23B1mn+w9/QVct1yb4gREJb Q==; 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> 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: 1790151802067673830 X-GMAIL-MSGID: 1790151802067673830 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: 197374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1491634dyb; Tue, 6 Feb 2024 04:10:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGo0j2MIxAWh5l0Bm+6vRpa6zalpPXBkaZHfn3QzwJI0Jx6QvjaSPtnPf0odlXsxgkD4lXV X-Received: by 2002:a17:902:654f:b0:1d9:6cb4:3330 with SMTP id d15-20020a170902654f00b001d96cb43330mr1401335pln.12.1707221403469; Tue, 06 Feb 2024 04:10:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221403; cv=pass; d=google.com; s=arc-20160816; b=wmvqx9Y22jW0mAAcISM4dBXHhU1X2XfN8aYxWi5nhf3Aa3haX5Tkfb03JQcLCm8bvw vmOdlLQgNjVC2c6BuKN/b1Z2VH+AiluuHNpDevrXZYWwWsC/8mU2GTQo6avrRf+7ZuTh KFh+39O4xzNwXatZC93lp181EB31TR68Idx4XzBZA1FtF924NZ4xE6hWAuA+7Vn5mPKn csHARu4djDl9XczZ9gn9YWX4JlDFwUAW1EIuLmZUjvZeU99sqEYw1UbOfMjK6khuNm3C ZJEmd5BMzBCIlw0kjEWQGZWRcInHmiJgVSAV82t79q41NGTONZeKC6Mkj5f1IPkDbyhV 9Lcw== 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=FFbo1O0Eb9t4LYdYTCkmoU624qbXJHbwkWcULG9nqVQ=; fh=12h84xjBc0L+E0xfhEdeP9tYOJe646qBECfQ6Zhm8UA=; b=OVCrh3J7qXJ2njWn/XjxWYFUqPcEtYIaWOwArX+qW+b7yrw2gxfNFEJoMDHqQ3sDyn dZw5MTbw6B9ltKhSMBEFeCQgIAl4laFyuSDNOaPUkDU8XFkIQJMclch3f4TctshQCP62 7qGL8zr0JZDL4q71x3glaY+Isl8pOHPmpHNjX33oW8rcjVujC/El69ZodkUCwRstorlQ CCPG6FVLTGnT4i4qMf4+Q45lAuKxiqY5P/fTQD8aHqlddTrIaYx1/MGYGPrArT9uSHYX 3TOuGyG3hcZTYMnOYCvUs0iSfIJX9Ldt+dYuKPO/Htu653+iTA2mVqsLHF2i18Yrd8X7 Thog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=tImqvR3c; 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-54853-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54853-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVU2n1GDn0ia09LXsrv79DtzKH/f5eYmfNxuvtDhcAqlyz5zfNpfMAJBZ2ZanWT6GUCEHQpVYdbnWDr0WnWZBbpCgTrJw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j15-20020a170903024f00b001d8aac2072csi1594239plh.172.2024.02.06.04.10.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:10:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54853-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=tImqvR3c; 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-54853-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54853-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 7B967288F11 for ; Tue, 6 Feb 2024 12:09:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3FF1133435; Tue, 6 Feb 2024 12:04:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="tImqvR3c" 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 6FB7C132C06; Tue, 6 Feb 2024 12:04:07 +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=1707221049; cv=none; b=BJgBj6H6sCDjQ4UaqnEZHR7wJ/B6KgZhigo4VBBRiTvchzb/jO/P9dcNCKLeyhm4Q9J1Qhi0IwU6cEhg0VrMRlUevruwfiMSVD6Al4+DZwHof9A85SRmpW/+jvbI4FeGniIAlJ37334PL6A2XvbIw4vwbQJPzQ4JxQjqiDdFjhg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221049; c=relaxed/simple; bh=GGCBkxCfAvpFW+a8iffFgSgfa1wQsNkoc0aZBARmSME=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aW/l3zVcxwtckc2MeFHmO0h1CLtBdzYhKl5qan5F+UMJKeXBimDBhzpJ03hMO9VQnoDhHQS+WIjrzOKqkXIAJZqrTdcL9C0vA38RpPVp6Ez1ykvsGVmytvFz2c5NmEEDCR9beiXqFBi1a9AuqTD5RtZ9v6PrTW0Mi4v0u1oYuTI= 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=tImqvR3c; 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=1707221047; x=1738757047; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GGCBkxCfAvpFW+a8iffFgSgfa1wQsNkoc0aZBARmSME=; b=tImqvR3c4N7nfRxgHiiI0H7X1gyt5AzmZzzsoGl+DIlAXlczr7q/wY5g 3QnjD0bg0Xxl5SBs6Wejpz1qab/2U5q7PbQWpEoA9riG3tmi004pFtJpF 8xc/UD+Hgg5192/9DO/zIvZX6CmzspdqLCPMANbWq7vgwuiO5AnVNbqLO VMvDFxJgc18rFUM+6BHRpE26TU6Vw0sUCMOLjABUn6OWtFitgcAeUoVQQ grMAx6nMr+dul4aY7yir22H7iA5nSV88u1cDQjKMB/5pVYSrKrNq4sXmH oYKP3Y6m8vgtl6/EerWJPihKHn7y6XKYu9rpM3w2DenQzmu8urcAVMNBQ A==; 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> 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: 1790151390490637298 X-GMAIL-MSGID: 1790151390490637298 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: 197372 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1491391dyb; Tue, 6 Feb 2024 04:09:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IELImf95106tX4w7/wD1OG3GEAv8C1koWUavddnVbwIvSG/qZ+6yLRoY3Z4UWfTnZUSAvuB X-Received: by 2002:a05:6102:32d4:b0:46d:1e57:4fdd with SMTP id o20-20020a05610232d400b0046d1e574fddmr1928918vss.26.1707221380650; Tue, 06 Feb 2024 04:09:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221380; cv=pass; d=google.com; s=arc-20160816; b=cShv+KJheQoAysEzlZBZudZ63pPjsYSazSzoVmrVajkPVQgzUW6x9H2I4fHRrp+59L sbiTpvGulwM8VcILyPOHfVm4MVqU7S3P16CrqrtStV3utUhCOFmsAYSC7ZQ0SQSk+F95 1snA678VeG5KmRX6r2V+QhIvVsLAY4h848nAv0PYiOazCPfdB6Os016rA6F8yQFephbh 8F8QmpySFTABHXPW+i0jpE9E5NrPM4VZfssKYL02T75Zn2YRJfZ7XmpjsFY0fd0PQ+FV fYgPPy4sI7J8wlyAcNU/qakLAQxmVaK2eTex99q2c15s1uLNI7C8Y2gr/Mn/2oA+N165 l1Ag== 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=0SVRYTN7Fei3a+LhktfwvG8zHjavz2hk+hG9AS269N0=; fh=dFcsWrbarUMEqTVAeJVmwGZ8nuxdiY0siTXGirwHuTo=; b=ymZW775JHFuSPBjw+hoyAjZ4yFgudWKbr5zILK23+IRrwuYZX2P8eQjzVH4Skb3cfg CutNt6xVZ8alA4b7Qxm41ytXUpofx+Imnf7v5kvahYBmNEGGo/qV3MyTr+ZXS6neJ9EW sgV7HPPM6iJ/UjVM6LLzmnYIllD+L+u5wls4WzMKhDS+nwMSVCombKRvlI4cplnecoGk p0YY4+VLXRyfuhp3MhgoyLwGz3ZCFMPrOb/bceJJE/Q0JUb71TT9x4PJeRyoJY3yT/iP d+Ew5kvvVrZD+8wiyNFCoexC6p2dxE4T+9xh8padja+DhOEOsnoVa4xIaPMBxNAiJ53p 9DHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FKGaskRL; 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-54855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54855-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCU+sGIjM564BEIpKOmrFA+afNrb+z19QhgWviq1oEJ4d7pdJvU394QbCzp7JNSrT+9PrlxDVLK5EOVPstGTU6FimSmE1Q== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ej1-20020a0561302c0100b007d2bda01c78si264082uab.195.2024.02.06.04.09.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:09:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=FKGaskRL; 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-54855-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54855-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5D9351C23D93 for ; Tue, 6 Feb 2024 12:09:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C2B913398C; Tue, 6 Feb 2024 12:04:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="FKGaskRL" 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 2C2C4132C1B; Tue, 6 Feb 2024 12:04:07 +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=1707221049; cv=none; b=EV6FteGLJi/2mErs/h9bn/mtb/oWYintKkSNONnh1/tjNjyRB4iAUZzHqBSOcD+8RqEtUp1nEJp5xptoEwTo60qMAbStzcZsS9Fj5NELMPWmFPXeEiucrvfY7EsNkVs6aJU9ptiAcJRC1bex5/p3EfRNkTlXNzXZFpNz1CQubEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221049; c=relaxed/simple; bh=gxp0aYbQ2ugpPKEyUXMzSsLLT/uKXw4HcUWO4ZTthg0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UCFMHSBBgG95yP/OiaPOxTGXeNpoNhvusdg7qVYUquo6rjzAqMrSpmDzUYmDcApt14CZY3yFsYJjxp7Q3A6hvU0pDOmFyxFLzuw4tdZbjXa0hrQS42oxwnSo8EA9HCBNTm4YxrtQPxAHVt4isL+so5DpNPGeBTNCFYrMs7EuiRU= 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=FKGaskRL; 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=1707221047; x=1738757047; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gxp0aYbQ2ugpPKEyUXMzSsLLT/uKXw4HcUWO4ZTthg0=; b=FKGaskRLlCi5dZ6p0l0ayQBpx8W3VS4ipooE2TLbcs9q75aqWPZXwMvb N+4FIEkokILXtObRRhoswTOWsjnHa8ouugSvHCPBITRiLPo3XGl4RHaFM 4nEaPUco1wGdSsTfg8IvtH8BHYNF1Gi8cA5FweB0c4HK0Si6HzYpgykB/ /5sjC7DhaKtWP67T8b+oRWImuMILLYx2x21ddb0/tHqPbOwOdVsAp0sF5 4tRnlQf88LJQPZqyyjljoTem0iLObzPZsRDtKUYH3BmNu/H3rpqvDQC1N pNEvIUseCLU4YvH90NgdclaDdofK/dUvhEA81D5fazKVZlaatuCFTB3cw Q==; 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> 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: 1790151366468677087 X-GMAIL-MSGID: 1790151366468677087 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: 197371 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1491383dyb; Tue, 6 Feb 2024 04:09:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFcYt/xFPnvP/J4HOFA6r+NGCcxPU6SJkI6sb1T5QJWWW1aQ8vOfwI31RiA7lM8ELVHflI5 X-Received: by 2002:ae9:e019:0:b0:783:cb5a:ec3b with SMTP id m25-20020ae9e019000000b00783cb5aec3bmr2180762qkk.71.1707221380117; Tue, 06 Feb 2024 04:09:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707221380; cv=pass; d=google.com; s=arc-20160816; b=drkMiZd70CzKgd+KBvVtDiyoQa4Nho6qqR4xaXXVgnwwuKV9cUFIwZLt2oAGnBrcr6 uMU468+F5cD3q9eM3qsyC8gdMg5glqgZEc7d+Fkd1gaTHOgdfZhsJ4rn1nYrNuVesnPM c03Bos9qIfczM7r9+q4rpUk4SEg54iTU+F7tvuHOCShIPA+oF1Ec940WiTSYMyqJJKEp cVwLfSh9WCEaWBgIZ9eFGahmMxpwBRnOfcBJS2Vg22KG78HEpgiT/FUovfN07wfGRGWv 0U6YkI00crbXdBSUhzeMBZjMWk1Welb0/f21/CbvxWLNQKZNnhVWvOmHLXCcEny4xv8t Nb/w== 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=Vn3DBy7VtE1VFgck025lly6u/85h9O4P1nbbnQ2o1Gc=; fh=nYi+hysViQ7mriyQDu31nqrcejjsfoQHCnnhH6YmyqE=; b=RI3QB9X9Q0aXgSFlOz8PdwAj6OrCKyhzb96YByc+Cye4F+hR3k2REvnFQIDibdxfDN aM6UTtuwDaEANc+DwcAroF+V5MwJyZTbEOsh6so7m/vrSlf4EAtMGwYVjQ1mkN3F7m1r Ij3Qnsebx4tu8H4+iZOqvJpJb0loAX5oVTZ+vmd2mNSDcJe4TQpl18omiCs1Hmx25i0n zXDl/M/NBmNH5qvCzzNsINPXmPpFtRjE4MoQtI97r1zTDRerZ8RnZqOtcmHAKlBIxd9H eWd5OovbbBn+htcDTDmpazZNb6TEvLhaVaJXBArUq5mK5e6slhaBgG0IieC+CA0Zy4Bb jB4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NdWmnjNW; 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-54854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54854-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCX+OoPRpZDiz2qXslOYAvWuZgBnnc3yS+8Iv+aesmIHAQFJOuNcph2s4j9S2NatMV1LQKpVpp5/AH1uZhsxNCMASKd38Q== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x9-20020a05620a448900b00785596d4d6esi2219215qkp.715.2024.02.06.04.09.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 04:09:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=NdWmnjNW; 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-54854-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54854-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D9B481C22C72 for ; Tue, 6 Feb 2024 12:09:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C28A13398B; Tue, 6 Feb 2024 12:04:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="NdWmnjNW" 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 152DD132C15; Tue, 6 Feb 2024 12:04:08 +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=1707221049; cv=none; b=cpaau7KReZROtRFgxmxE0P15WAeB57zrMYQRuk3/MML5Ya/mEhI+gwrvFUwucQdY2PRio2g70ulO+ve9Ecr3sKf8GK5xK7382XLAG/zucnSA/Tta5EJqwDzXJSzKknDIm7bujomMgG/nlZ0AEd30VpaRigJa9ithatQ2M0oMiRc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707221049; c=relaxed/simple; bh=q5AQrYWB5lwDHhGNPklEX9DOip1NJmdov5PmWLB1Rm4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=badzPTVTtnySBdxB8/PTJN7G2vWT5GHz97xT9s4zjtH5bXkYA6mYCX4GQKuwV4UbcCcsjazjPfHWvOzgqAnKPp9yc2Jj+kD1n+UUkzUnF6AiZcg1+LpHyQ4504JuAUgt7NLRKTU59vDxyjnAcuv5li4qfpJ4H+pC1GuOCkyo/JM= 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=NdWmnjNW; 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=1707221047; x=1738757047; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q5AQrYWB5lwDHhGNPklEX9DOip1NJmdov5PmWLB1Rm4=; b=NdWmnjNWOcEqLI766G5BC87BxFkxC4Akqw7Og+R4f2XlYNIUUpSmWDzo uSdcPhm4iXj4Hi4gvMzSkCRwG6eokrHKH6o0WEkZqLPmhLvKP+hYy+1Hf JnsnoIQ9T340M0k51cimPykOEB01b+6bpjLH4RsfKZzS76Uyxek7Pqhm1 KNR/qlR/Aa6DuV8JgRJGpeYC+qxTs0YiKl/q07dVz76GIIxE9lINZuCWv hV4CAT0KQ/eXoM9trgfcancVP0qJC1C/wZg9yI26ml5bFU02BZjEiI+VD ogWrFjOVjoTppBllxzF2qjnmByGLuV1RNwwCqSPvpsExha12p4Z0Kzv1D Q==; 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> 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: 1790151365990218274 X-GMAIL-MSGID: 1790151365990218274 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"; };