From patchwork Mon Feb 5 08:00: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: 196661 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp730622dyb; Mon, 5 Feb 2024 00:04:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQL0Nn/QlUvWeDtlhlfUMxAXpttYeFXtmmaYCpt4lkfeuuREC6Kt2uA3Lil6A1oexFOifD X-Received: by 2002:a0c:e0c8:0:b0:68c:70a9:d1a1 with SMTP id x8-20020a0ce0c8000000b0068c70a9d1a1mr5031119qvk.10.1707120286324; Mon, 05 Feb 2024 00:04:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120286; cv=pass; d=google.com; s=arc-20160816; b=L8f9DSYjO+lwIe48ts7D2nLYICcQqtVcAAIWpe1XE+xsKevIk31qT+7lhH1CDiHWZM 1AexLspqZLGWkmKJya68u0p6DT6tDZFYGPfVM6p8hxFTuh7pDzea+B+LEmxDr7Wj5l8r ib4r57/nhUNJgCasZiGW3mU8J4/GBrIdPmzztBvOECaOojo3is9MSioIvUdMDZ4TfO+6 vA7R8qhTpVXJai6DheJ8C3nI+IiE1wzcPAbDAV2f/8OEWNPCV8SCgKR//ABjcW25G8Mb Nw0TXIE38Mr/ifnGNv3dd1sgXH6f3KqkFRFysDMPZKEYq66Nr5UNgJbcEts02xtyqu5Z CXQw== 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=XbS3AbaE2RCAF+ER/gB12N3Ul8UqgdgQlUaMtkEcX9U=; fh=JV93b/Zz9u6iEr3i9vwcKTJjFiqGyAKqi3/mSIinoFE=; b=BIIFWww9IR/aQpP79l+7iIU60D+TRG5y29CsH4vE7r5bzDI6AyCMWkO/6FAQu/bG43 b3KQOo2ckS+PvvpeVGHxqe7uD20m+Fk8CmsxO66xdjM9XTrR8T8VpSXtLaN+IlaSFMpy bwy2tOwyMiuKgjJ7yGaXqRbOheR6LLSV4djfA2we/U4JY6ivrxoK4O5O6lkvO90S3qDM UYb+DeIzE6yhhVgMoygNUEQSCLYiCe1L6F+42UEdgUOvl/15fm0HP9wjxJVh1XItv4v/ D6Le/avB2E1AUZzFIZS4cqiJ10yISNZZkSJDrZayja5nxMapPUF8tYV4geKeMRV8mXTz 5inw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LVz6LSBS; 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-52178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52178-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVr9TJ0xt1u6KuZYEWq7WDJQ0qmdvAb1h0gLkm0EXqy7ZLNGi3ZZ/+QsUFpxETPfDUjw1PbKu2Jr3GygFc6MyrgMLhSCA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fv2-20020a056214240200b0068ca121e30bsi2456067qvb.193.2024.02.05.00.04.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:04:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LVz6LSBS; 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-52178-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52178-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 234E11C230D3 for ; Mon, 5 Feb 2024 08:04:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46ED111CBF; Mon, 5 Feb 2024 08:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="LVz6LSBS" 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 AC6CE1118F; Mon, 5 Feb 2024 08:04:13 +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=1707120255; cv=none; b=JRlnDvlMw+jao8cMQfsFu7mbsr+dnJrs1WoBO4jm3aloKqn+ag6cbSKrtTjgmRWcMP+mV4QPHFZTEmVwy6fjTb/Fj6+dN+q5qzLXSZpKEeOXDUyEgfPCoth1biPEL78Iv8ve7gvRdThCxE1pjAe0wKsfdUhGgw5ox8MUgbss4Vs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120255; c=relaxed/simple; bh=0G42BUGboCGoo34pO1Db6WnsOP+8JX9KsFZBc11vQE4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p/g+84xT3aTPHL+PDMpT6M31VfUxQI7tfs6UVRp6wz2vaxpZ6Bv8vT8QkEBPK9sKfh5l8rGJIYQhfEuQEYVbNyaRRA2bdj2t9jSmCh5g/Fhx+vBEktdE/fOkPad3ylYUR5QIcdAN3ywWbV9sRMfPfWGMT1DjRGmKPz55oExE//Q= 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=LVz6LSBS; 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=1707120253; x=1738656253; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0G42BUGboCGoo34pO1Db6WnsOP+8JX9KsFZBc11vQE4=; b=LVz6LSBSXR3sv9rWH65q2KMwPib75cF5Q5l5+soureR6UjwJkOQ+0aJH 8p4lhApkT0nB6dDI7Am5K65qROW2OzCKHAs8MFeiYTrwYu84zzuqRHLw9 Z2G1llWoDSa7zTQ5gSHz0m5/x/EvcchX4XO58Xx8Wh2jP1t9/oCtx1mvk wqqd5IG+mMimnAuWLjGnqbYERvwKw887FUm9psxN5Tu7PTVRmQ+XWQAsh 4LM5AF7MGDcJcSF2UO2jTsyJd9l9cbjSqM4sypnzO6pWu9lYk4KkJvUP9 LqkUJi2V2sCN63cPqKHrcPZPUj6X6v2ami5z6omPGZeAzos2ZJcBA6MxE A==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: XMXmmH8QTtuZ15kYF9VAMg== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278226" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:00:58 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:34 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:32 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 1/8] ARM: dts: microchip: sam9x60_curiosity: Add power-supply properties for sdmmc nodes Date: Mon, 5 Feb 2024 10:00:19 +0200 Message-ID: <20240205080027.4565-2-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045361739943786 X-GMAIL-MSGID: 1790045361739943786 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 Mon Feb 5 08:00: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: 196662 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp730834dyb; Mon, 5 Feb 2024 00:05:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEq/PSm5BUYI0KAJlR7E21SjbHMa4KIdqqjwId9HvsojtzNFriMPzX7265FUUMQqPgddsDu X-Received: by 2002:a50:d59d:0:b0:55f:c4e9:60df with SMTP id v29-20020a50d59d000000b0055fc4e960dfmr5149344edi.20.1707120312493; Mon, 05 Feb 2024 00:05:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120312; cv=pass; d=google.com; s=arc-20160816; b=np0J3XCNfszhaGypQzR8NjLtWSXcpAMaRq0VOBUeKIMH8BuxUTYEA9NE8QW8WyU0Tp nLDRfeiBbuW2xpUAGZo66LDpZssdkvqhCNW4A82g4orT2zzEaZSFeePfVpDs5fOLrLjv /+QR9oZZoZptoTz1fBWHAE6TzBPsuQ5xxMwqA932zCJtYzBJ9G9wX8g3HPMbPuetOfU5 0VJpHxCsxljmvAWkvJ2yc/vbAWAXe66baXT/qdFn4I1EAuD0r7B0uFz7RAEAn3f3KsWh w48lj6vO2JRb8E1siS0zldckROYz5GUSMkvmNWRXF9cS2N5qFE/XU7pF7/NA46kR+mUu 4U7w== 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=asBzWGUaYiiZn0DMnB6FWgfHqLKm/uoKoI47C738VUc=; fh=cX0wF8aVsey7r/j+HuF3GimMFJgkLBxy4x2J0brh79I=; b=AbSobUULNPa1zJmZ832tPRPMOqBNSrPMUsYOsIfdw6GRER6vVvT8QTkpjXWMV6CVr0 uIZaNNkwtxIz+Mo+E2VvPEdl4eMrnWLDq14pZu7wLQrQVWXuFS1hCEnjDzCoXDqRlSkw SV2eYAp9qOtIf7hMtFUPFSXu2TYKa4Y+LzNGanDAZF7VQpIa9n4wZV8kishVUPpb4zp2 LMrYpmT00/cYxaS6WV0tPKQxkdMnyyJwpbYARysP0rjwaji5lPdJnymeXV+qRfhXs9Z1 fC7M891Qf1wO+TOKagdbf8bfUdeVOYviz2S9PkCZFe7/oHY+eovqpqAu1tgIAStXltAh 5Bng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=RmxCIWub; 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-52179-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52179-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVUj8nMh7Z0WUOMCUVLAe9B/RbfVYNkysiJNNFMoHPB1mSsYcBgkNQv6dd0o6tkUNtR5eC37ItZeZp/ntzxd+5ZVNpJUg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k22-20020a508ad6000000b0055c2990a430si3584906edk.24.2024.02.05.00.05.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:05:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52179-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=RmxCIWub; 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-52179-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52179-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 E6FA01F23B86 for ; Mon, 5 Feb 2024 08:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91CF012B74; Mon, 5 Feb 2024 08:04:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="RmxCIWub" 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 705BA10A33; Mon, 5 Feb 2024 08:04:15 +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=1707120256; cv=none; b=DKSFdHbfHfjsJyRZY7jLaYgMi+6oHneNdFaGRqt931plSPdvRTu7VbJsPRPevG3RYV38rQRQubBZRgjG5z75VDcc45H/Ork89YQJ8zUYByJK+bsWS0E/GED2kj+qvhWJAkF/k9QYorlnYa3C99fw3p24FPKZuC8TBS81E2jQFHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120256; c=relaxed/simple; bh=mW4lJXfZ3GmL/xcsOJOLADEGnDCtICQQeKtW5OlqpsQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n7RuXdj4cxrdesRP/gb4/KJHBkkYtP3UtV3OX+ySjbiC3jm6xTnOE9T/E+rVt/BWkjX7VDkhib7DkDOVE96oGUvxRbw1Dq0L6FKyuy7xDvkoERR+c94q4nEY/2zi2vliNXdzTKK5JUEvr3Gi0OSwQXkU/gEXBUr03EJ8mPypink= 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=RmxCIWub; 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=1707120255; x=1738656255; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mW4lJXfZ3GmL/xcsOJOLADEGnDCtICQQeKtW5OlqpsQ=; b=RmxCIWubNXKhhkL0ujk/QtJqljC3A78q79YEvX2qIrEKg13P1wH7Ay8o /5GjTDg8O3nAVi4/tVtOCu+Zh3t/AWEeAMjmv6876xJj5T+3/tqI6Ssr8 bYBiL8gE+m3gGxd6GtXhLH0I0ZP+IO8PuOycEKtzdkLcEOG/0mFvj4DsS ApZPt62HLbH97wX40HExbCxI/XUsfVswPe/Ul4DSQh+uuCFrd54BY01f2 ZnmMJdiLMiJ3W0og8nOe2WXsbGvpSWEgzUmTYWi0FiBvix5SZfPd2VuID r7sonog4L8AijjWtQ0xGN7xHZmpcG7vkyVDu5OwrHA3VWLQ77cIMPvcUG A==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: NbmStGl9RWWTzgTuMZjRLg== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278232" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:00:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:37 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:35 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 2/8] ARM: dts: microchip: sam9x60ek: Add power-supply properties for sdmmc nodes Date: Mon, 5 Feb 2024 10:00:20 +0200 Message-ID: <20240205080027.4565-3-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045388901956178 X-GMAIL-MSGID: 1790045388901956178 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 Mon Feb 5 08:00: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: 196663 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp730953dyb; Mon, 5 Feb 2024 00:05:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDsPDrLWpGpXLhIJUNFkHFUnDttimhjKNapfWPwLF85LdnkKs7rbIaq/TmIjzMMs2ddniu X-Received: by 2002:aa7:c390:0:b0:55f:f343:9f38 with SMTP id k16-20020aa7c390000000b0055ff3439f38mr4042969edq.19.1707120329919; Mon, 05 Feb 2024 00:05:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120329; cv=pass; d=google.com; s=arc-20160816; b=K3gHUvG19jrvNXoZV3ZluLnzDhiTNLSCMNEJ8/hcpJXcwbzTLCH0uSXPvgplA0NEow B/eJGNniCtDvylFyDBS1DWiw0RVTVXm3DB/tcexRu+THucoys8VeuN3abIF3OhtaFv9D nCh3M863B1kbX6abgOOsf09OggkYN/CISEcAKVGbD1OLbqc157NhzXnOfKRJFRXZrlcN Z6inoxz2r2rcCfTe9rB3sKAR1WKl17qkg2LYwhKDG/TFVAjbsPESGZazgRQas7Jc9TOB PUEmDMSgosR/r0pkpnJnkEI3HwVwCn+MNwK/L9E2r9UFvDtv5pERZK75unA64ndONYKk BMvw== 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=XMjLH3sbWJC6IreJdKSQF4PuKrldRkq/ScAHJxq2ZLQ=; fh=9Ru+OzqL/Gqn64t305Mw1ezp19meygwV1HHRY+h0AYA=; b=OSrhxb44dwxV14ZOfiLOAOdzbgy9x7FYKDaZWmEJkr8JeEL/DhBDPh2gPdJ2xnOC6V CwlOqZE6miTtn02vZwjwf66NwSbPWDN2gC9Blny1QZUzWFGwUjEpuKg8BZtN2KtndHca Oz20eByvEp+jmbnUJpp7ab4MhbXEuo6pkBC2mOZ9IBlBVMahbL2x3HYnpw6aaRNM8g4V i6ZDW3HWTG7Q98xVorRfvKces45xrtBNn5mIAJ7xGn4LYkvWIw3ygdRoxg2+M4uDBu1H fhkOIKSkNXEcEX/BSv2ijMVAAB4ND33SK+FkOUZGq5eUOyzumCP13GYFp0DEtPh+qSbp YQWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ofqlXtQk; 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-52180-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52180-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCXiopJ/kiY3QAj82H9zWjiYOp0J16fU7Z0x1+rZAUMp35gxuzFhW/rotcaoomV2GMX20/MnDKIX0b6/qJloWyn5CAt2Zw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q16-20020a056402519000b005608a3b08cfsi46763edd.193.2024.02.05.00.05.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:05:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52180-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=ofqlXtQk; 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-52180-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52180-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 7B4201F23C40 for ; Mon, 5 Feb 2024 08:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7439412E67; Mon, 5 Feb 2024 08:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ofqlXtQk" 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 0469C1119B; Mon, 5 Feb 2024 08:04:15 +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=1707120257; cv=none; b=BKAKaDoK3pRj1w+8k981ZEWnJZyIOznrw3zUsp0l9sjUhCRW34/Xjfg7NyLxWNptVyZkMaO9n2Kub+lcpjtOIZt+RWi2qN6KQOBg+G5PeVcwrDDSaPIICw6wB0HIfDnnThmBzvSskqRKdW5HuPUnK+Kmbwzn5xHTKON0hPemr6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120257; c=relaxed/simple; bh=b8LBr+HkRiGbiofvmfhN7/Z+LuPQPfSgtATjkS2qEdA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=h9QZW1RE/XWpzIqjvav0w5QpfHTCDxgQrRV8YbIODG0bWxD2zLtE0oSOv1SdPAAoESLbFuXqeYlmfbwR+/rXOR3TEljLy/2z3a46gPcdx+61nvr4H9M8Ck5Ykk4vJ0oBbpj8T+GMy3lnAzenwiNF3IZUe51BXPPVqoYYQ5sB2ok= 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=ofqlXtQk; 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=1707120256; x=1738656256; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b8LBr+HkRiGbiofvmfhN7/Z+LuPQPfSgtATjkS2qEdA=; b=ofqlXtQk4Rco57oLqYPbGp0wC1LEdgyHTyHTeVM36oiWayfvElmzHCRC z3ZnH5+TGaHf7gaRhyQ91algJpdkqvVc5JZ+mStvXaHGCE0uIqGxPWVZQ 6K9Wea1q8eypD/ojKsP5NQCrYFKloYWCQD0xi3w0kVL0fwWvycE9JFCsd l1z1T2W+U+L7RRdebEOtcDBJZDEQMZxMarq548/7biB7duqi0d8Zcj6jY imvBUxc54QMOgjTWLWVkQ/dX5Cu4+73R9P9i/r1+DhK8V3KpR5NrPKrPK dKgukiI+u6EN5wMsEA0EHt+dLwGCAv+hViz8cHN8MbooB2C1V8Ayp3rnK g==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: O4rHOnRGQkCrExiFbwDAxQ== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278233" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:39 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:37 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 3/8] ARM: dts: microchip: sama5d27_som1_ek: Add power-supply properties for sdmmc nodes Date: Mon, 5 Feb 2024 10:00:21 +0200 Message-ID: <20240205080027.4565-4-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045407325269564 X-GMAIL-MSGID: 1790045407325269564 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 Mon Feb 5 08:00: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: 196664 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp731036dyb; Mon, 5 Feb 2024 00:05:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IErYYTNZAL9laxuCqNdjqoz0vlxJyoY3kryrzrbGND/CNz0eF/EQ8eGR3mQnoq/hHjX7dzJ X-Received: by 2002:a17:902:e751:b0:1d9:bf28:8bd1 with SMTP id p17-20020a170902e75100b001d9bf288bd1mr1407476plf.53.1707120340857; Mon, 05 Feb 2024 00:05:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120340; cv=pass; d=google.com; s=arc-20160816; b=Edl+i7o94A1Q+rHnkGrGQDPIfqxFg2cyVlQDDVgt71rvpRV3pWja7PCzwOnC4ohZh7 5yusCoOr3P2wJ7mjwlI4xAD8+mKqdpuJVLh65TCOXcZvDA1nByoeZLOev7u3bpG6ZIFF l3pgY3nvCV58NVm+/73lct06gurVHl2dmT4/eQOhvVbOveqGQJNIgHUeMW38aytLzxKz 0hDwpxdCpJSZ8PL/Gaqm6d2iRWRPwYmscxjBn6PG1JTwiBps3Bq8zEBv6Khv5pHQT506 l692Tc5YfNlPplujcv6aBRaEnCqFv1UDB8tGRhNbRYeCEMZmFNfmMSVJJ+wgnzEzB3q9 YMGA== 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=IqdtrvhctWR5RmiG3H7H0Be0fdrxJmXLoPRUTHopdtk=; fh=pFCDyKfD99kt8Q0TWVan8r+bRfC05QYDrfwYvXtNpeg=; b=VMmFWdDXCEu4WIP5m0m2mGc4zcpW+j70RRCKOH2YI/U6M6DiSS6ACo+B4FH5iEHZoW l/I2QcejGQp/TSv4yGAOhZpwbBhkmalvmCiBbUUPCg5TXTpUBHXqnRpvTxmq9YduA8fa 3uDN7Q4L+DPb1adSZZS87KGCBuHbrLtnIzidvjxRfSvRrTFFCxf3qcaOjVWu3V8fxY2L BoJ3m4ezG74cHOFzAe1tTBhGpFxPEe+KXZ55bdqcvCdYFv1iksb9OuPVpmEOIeEB7sYw Yd3KhGaIc4howOSgOUPo6GmwUz+uEkEdWhN/Kfmjy82oBEMUiE3Ly8qsA3KlLyrhSJmf sJ8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=I3LbQct9; 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-52181-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52181-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVze4bBHT6YyehE4nSsNN9KXzkbzj6AEH83rA/hwDhcso/XOXZKTD6tWetaw57TAwQ94P3uDaBQEaAqFrJTByZIvEst6g== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k5-20020a170902f28500b001d9773a1990si4841834plc.400.2024.02.05.00.05.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:05:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52181-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=I3LbQct9; 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-52181-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52181-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 73C192819A3 for ; Mon, 5 Feb 2024 08:05:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 562CA134B4; Mon, 5 Feb 2024 08:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="I3LbQct9" 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 1BB30111BC; Mon, 5 Feb 2024 08:04:17 +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=1707120258; cv=none; b=OkRyYYyfJ44niAwH5PY0UdWxo/O8+nhEByFq6HQ1oSkuL/2gRoIxxHSieuhgOv2FbEYa8TlMj7VgYlk6l515sHFJRa1P2867xmXsaCwsnEQP9DWc8d46rhu66IG+MxVpSQCHP80m+ThkkS535HJGCRUvJTMujZiiVqWTgKe3Vbg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120258; c=relaxed/simple; bh=HrSglZUZ2hoVlELPp8le9uE4ed0TrBfvyUw3oAEEASY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Z4vvYaAIMgbeU4ieLa+wi2VOXiBISg+tL5CdOF/SmgDf5fmnvskR4uc6d7FfHm+zs954T+SZomWFjK7sdZqEeIV9L+IHN6uxYiJ5aUZdoVo/+kvKnWUMrmjTuITurlhUpbH2BGso0oozUDQ0YYcSXmMrJsx5h/BoS85mAfueZK0= 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=I3LbQct9; 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=1707120257; x=1738656257; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HrSglZUZ2hoVlELPp8le9uE4ed0TrBfvyUw3oAEEASY=; b=I3LbQct9gHSHXzyfkV/inXLfdffpnzzQxmABJl53KFA73MuXPYmzTJHc EXhI5I75+ZDMjhy874ZjdmcLGE28DYsbE/2ScUZEps8U/by9y/tXeMGNC 4bjMx986FrcTrXkIh0TyMcJJ+cO3K2ixJFdOn5cCTXZl6TTjO2yF5lJ5m K7qVjhfodyOo1I9vFtOJRdl99pb1GlPOk+HhQCcv/9dkL6watS+44qEh2 yv93hYbAr1L0+3RJl1kVoh+vaWiGDM7sjCsO4miJpK0CTU3FxSVc6ub6s ZI/HSAi2JS6WSnEn/FVu0M3WSTcBTmnPhF5/Zm8llBXmYHJs29H31sMkm g==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: gizGeysATd2xk8Y1tVVfYg== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278234" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:42 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:40 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 4/8] ARM: dts: microchip: sama5d27_wlsom1: Add power-supply property for sdmmc1 node Date: Mon, 5 Feb 2024 10:00:22 +0200 Message-ID: <20240205080027.4565-5-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045418505382143 X-GMAIL-MSGID: 1790045418505382143 The sdmmc1 controller is powered from 3.3V regulator. Add vmmc-supply and vqmmc-supply properties to sdmmc1 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.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 Mon Feb 5 08:00:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 196665 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp731067dyb; Mon, 5 Feb 2024 00:05:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYva6xEU/tPurLP7uQmN7P1TxXCeDvoyILGVkJiexR2eIvSQCFTmCRJKtBEUU7E9Dpj+TP X-Received: by 2002:a17:902:7842:b0:1d8:fb06:b902 with SMTP id e2-20020a170902784200b001d8fb06b902mr7940264pln.23.1707120347599; Mon, 05 Feb 2024 00:05:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120347; cv=pass; d=google.com; s=arc-20160816; b=wf7IBZ98fRbkzEkDUuGrMYYWWlCVh5mM6ARmzEO9br01oc1iQMppBUBe88ioYS7Tfs zGs0j/eLdja4/sxUgQYT0PFVrHF5PdaCTMau8ODzh5Tn9XEWsyLXuLV92MCwC/qV8pln dPHFHcDxzy5sWFsGAEcTX9ZrGJxR7vBAKSdEZc//M9vk4jaDtlc33GFIUCJELIFQN7fl gyAlzq3TVvp1OGDP7TvS9dZza8L8ZcfzICsWsZ9aFmVMDs3ZDKncOI0c4rv4NdMp46us Fspmo0TgHHAovAvuZCjdgvM6LQfYepkxkxDjPJG1/juSRnsayV3J2Uzr6J/xNCV1FZmh s1XA== 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=JFCnGozRliAbWQTj/1MEuQ69j7rc/BtXj79bBp7C/mg=; fh=6kuyrvUCPYsVqTw5TsiNhclxbBx+syxgHnHEvrq66aM=; b=CBTGtLh5PjsuqUaUfzUIjV3nNC7nzqHbkIh2SkDfXwIdBZEdvDLUGm8CFhHY1Z5iOO WDLL7+HHMtuBAmMyihTlmeCAWbVk9NJ2kFfU37FHjUuo/+LSyTWmsBIpSd58U+nquUxI y01H3OPXYDvYNobuM3uZ2ygSj31Zkrn+Ytbrbxkrn4sC1udVFjThzM4cYk9Qfd/kAwND GujwTG9tgsE+bULHfBNnmQz5/s9AsIJf79tm8IceHQGrSPcqWrKRgJERIGGbvbXcgH1t VcYbv+uwtoXw4H6aizb/4igYZVabeacAbvSeDTQBasmBZrzoKsIxDnCAkg+PExniZ/DM 72Hw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=USsfFyb9; 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-52183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52183-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCU724EwD77tTNH4wYhSj7kifGH5i5GeKIXvgXUV+vg7Q5uRgAAfDNiTGsWLex7wohRtR5kBMgymS5sYVdKSmnmU0TwI9Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m8-20020a170902db0800b001d94bc6503asi6156092plx.178.2024.02.05.00.05.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:05:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52183-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=USsfFyb9; 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-52183-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52183-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 5F383281865 for ; Mon, 5 Feb 2024 08:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E63F6134CA; Mon, 5 Feb 2024 08:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="USsfFyb9" 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 A595311716; Mon, 5 Feb 2024 08:04:17 +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=1707120259; cv=none; b=A1W72dO1mlhE3rXiiulDgdIMoOkYITKu5Z/PV+FkD62f94GkB3PwpcSvKK9VhFTh6YaHBGcBbadITKEb7NNe3kp84qgKf+3CuY2UeV33T0EOEgxXCLxDgVw5h4ERKFtWyzopyMuBEAU+jHxq9a6+O5/OHy3YaOG8pOwCOcQL4vk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120259; c=relaxed/simple; bh=wHJZoqIwYywtidkx1yfqKVvRCuC5bsMb4/F4Nf1VpF0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=U4bknvGmMEiFMXL4nE5VcqGR8deJw2K//XVt5eoOz+ia1fhq0tpR/BPKkfeIcCLX7VMiZREBef7MxvbcNeLSERh10IHtk8l1X+eyQlxeI4/7u4O+C4gi7GcXtvL/1NCE1OA2uvk+EszqYxjYwRlNYj9J+rjDM8iGJaNf4les61w= 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=USsfFyb9; 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=1707120257; x=1738656257; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wHJZoqIwYywtidkx1yfqKVvRCuC5bsMb4/F4Nf1VpF0=; b=USsfFyb9bUF+ICK/y8uDZC6zFMAzDmJqZ696AtJtYA3GmIfPS7RofaTx KbMNchlW7bIWKMa0C28C7XzeRMrRQhYo4vGKrm7pg+84piIMLExEz4iMm J07qE+4VRTgug3yv4dQCF9+OwVJmhOL83iHmNRngV88/ZHi1FH+qRvUt9 ErSZSpx5rocpX8p/TBNfj29vIln9tmESaHjJZZiLeg0P1GhaGCiVmEbnP sywt4R9EenULbuS4AG31cBynN5QNQ9azEMJOUpaBXxqJ4l805M6IKDFaA X2okFnXRVSM5IgWGLFOByC44KbMwS9toQpC31o+F1iEAH5/zNkDLZsWGo w==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: Mu8PqQLmSz6ZXDJ29R+fmw== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278235" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:45 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:42 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 5/8] ARM: dts: microchip: sama5d27_wlsom1_ek: Add power-supply property for sdmmc0 node Date: Mon, 5 Feb 2024 10:00:23 +0200 Message-ID: <20240205080027.4565-6-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045425382935859 X-GMAIL-MSGID: 1790045425382935859 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 Mon Feb 5 08:00:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 196658 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp729026dyb; Mon, 5 Feb 2024 00:01:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGykmXpuzB8ot8+l4ivEw15F5Q469zzzJ8wrSPSkdPKc4fpuyspkfgSrTK1cnbamkSAkO1n X-Received: by 2002:a17:906:1:b0:a37:e728:a65f with SMTP id 1-20020a170906000100b00a37e728a65fmr280238eja.45.1707120099827; Mon, 05 Feb 2024 00:01:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120099; cv=pass; d=google.com; s=arc-20160816; b=xTM6TnlBy12lWh/+zReZR7EGa7shB7G0Wr5zn8M5mKcQRAwX2y0sqb1v6Qwfu29FHZ D0r2le0zTHXo+cZaREzLRwIyyJKY15jZv88WwFG7hMZaE8jPWDJn8iTXh1ik1N1A37gY A24BPK+OSxwqNYseiPD3rUfecnqwp5CtRMJwy4WOh6hv+9T3cNNo70VszSAhOj34jDAK Wz2DXuhA8lmkrg0k0kTiW5R4lJ/G0gTbIzGVUW9Hj78Osii0wi349FohxdHJ1jPS+ToU uEo8ZBM2wC3DyApCE+ypXLNgkUXrKCpxHsi8mmfE9z7kNIde5xIqel8lQ/Df/8S/gyCM FDnQ== 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=pjuNiYg3KDssnXcgrsn1yicnRiuVgICBzMRpc2z5oH0=; fh=ew2EJJzIloL4oGidV5sDDZmPpRRWlbrc5o7AbCqZ6FE=; b=Ur6ZkgLwsndzWT0VVb9LKgpeXLkmCoDiVitg584PqrztpcwFGjgu3A2+jyb0PvoKdb y1au1csuHI7eFZqsuokW8wl83tw7PtQFGlc/nQLN/fBwGZ8CROtTYsoqlHoqes9YLlua PgmUmwNEGjw+S92pJg1OFxrYnKs6/J5RoBb6iPkl4pkr6SRpdrpbBDUKproySs1m9tTn KFrWoqJxxFHWmFv/x1b0Id1keDN+8acl5Yc/Hwp6hz9ZuOYdlwAjYAfw8KeqhwugnAtg si82/OUTHfDl3QCpHEc8gLb3isvmpN5yAxPgqkTSa7137sSFs0mU6fF7ld3GUyxLEKUK X+Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=nIzwYrGx; 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-52172-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52172-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCWxLoZ4NfnPDYS7VM2hMQzQdhRiK/9gCm1eq3XKu7ixt0JQt8lp3qD8uYelZs8KcZz52rPEEHNxzMCK497hnGoYNfEkAg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc13-20020a170906c7cd00b00a37ad515807si982424ejb.331.2024.02.05.00.01.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:01:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52172-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=nIzwYrGx; 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-52172-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52172-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 BE9361F235E7 for ; Mon, 5 Feb 2024 08:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B7D31170F; Mon, 5 Feb 2024 08:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="nIzwYrGx" 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 2E85610A2E; Mon, 5 Feb 2024 08:01:09 +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=1707120071; cv=none; b=FJC3Q/KCRurrWznuRpX57UNSf+qiFzpQ7lCMRU7/evN0o5WroYDvcj9vwLRXeg2J+AciZCKlcvIthnk6/ErYfXIE5w8T4ySjBGpRf+4FD5x5b2YJCVHS7geGM1C+IUORJrZ0Ix6LuuXfb/S+vjk9Vueb6XsIKDemN72KXWVMuXI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120071; c=relaxed/simple; bh=p+Uj34kCikvUIdbvpZfE2Fe1DJXGR4Kpf8PdpkBdJMQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=U/77xmtwc9WHm0I4rdYalhJ5XPLhqVdr7Hlrb3HwC8kglJwOHTHcVnK+HDRgR76ypyKf0bRiFsiWP3Iue20CxoKlLiqauYwk0CwPW7kCp60nGx1Z2fFHPTju/zLqC3QebluiCkwPjTB/ConIOM1FFKfCH+51gPBl2z0QNovF//M= 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=nIzwYrGx; 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=1707120070; x=1738656070; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=p+Uj34kCikvUIdbvpZfE2Fe1DJXGR4Kpf8PdpkBdJMQ=; b=nIzwYrGxwyaCzWk2b4nLNJKzUHeP5G/dd1JN5jXOIASoDt0Oc49zcqY8 KX51TCBBQq93Cfngo7rtjoTm+oR8LekD6J21nTqJEr9ZUQXEOZGsRnWfc vH6QR6FsNUlVsRWLbpwEp7fX0MVNIBwu1POTPVgqHHKwU7iFYFAztxUvT /XJCr1Xvq+H28IRnYbeaJa3DhoR8/yJNyBx0uKr3eyAHmbH1ZALqGdH9p w1UVnzeN39eZV1dN0kh2et1Dj6ZNmJmD2yFNFnFARmZrqHjCS3Xnd/k/w oYOr44jUngS56QfHMHpnhTvD6nhOEoC7YvNzaUrvA6VaYCgiPWYMuRmT/ Q==; X-CSE-ConnectionGUID: /sWzmiszTQ2ztYFgEFabog== X-CSE-MsgGUID: yUJNFHmJSSe5k+KN7KP6gg== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278236" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:00 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:47 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:45 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 6/8] ARM: dts: microchip: sama5d29_curiosity: Add power-supply properties for sdmmc nodes Date: Mon, 5 Feb 2024 10:00:24 +0200 Message-ID: <20240205080027.4565-7-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045165552348334 X-GMAIL-MSGID: 1790045165552348334 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 Mon Feb 5 08:00:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 196659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp729192dyb; Mon, 5 Feb 2024 00:01:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0dSC5X0bPNdMm2HP5JGlAD/Dnn1e3VHQT8iEc8eRs7eAkrjShfQtLyBD6nalIfRZ4vetC X-Received: by 2002:a05:6358:2c8f:b0:175:5f:7976 with SMTP id l15-20020a0563582c8f00b00175005f7976mr15424768rwm.24.1707120116691; Mon, 05 Feb 2024 00:01:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120116; cv=pass; d=google.com; s=arc-20160816; b=xjdfoNC+5L11WNOnrF6iNzy2m0Nkgq/U75cYTk/j53YZjsvilG0OoNtj+ZeBl9K1Td wgSBOqbFjQ8r5ZEoxx3gIjGBNbpnWfriIKB1BvIrTGR0SYbXJ3p73Yi0df8v9m7f8TQ+ l1Rdcvx7rTvnubnNXEUBuLFxjGfPRhbK7Pp6GGOxKwstPsIrRLT6A5PT8YLI9NGSh6a3 Hc/wy00pESmOCEc9O8JSnL+YyqOztjS+3467iDQGDNLnjYkmMEUQdybHwheirvnPq9On UD7dNxcXeso9EDzH+O8cEnvW0NByCRq8+j0ZDMcJpo5tFxWTQj+zheWw5SS6iPMRhzcj 8STg== 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=oQojA2yO3WoX+NkFJPABccQ5OyQRBSEOKevwcuQPi4I=; fh=qHkInkEzquu+8HdysiJAFIgxplkweaRoj24f6FXQ/3I=; b=kS2hc4BU0pt+TaMCtO6ECt6IHifPj9l5JT6tInONbY7G1cuhjOPfV1l9OObXppX1TT xR8ObvnMl0z4aUqIdv1klFt2SDSjsXLXjZsdBxa+wG3vuqhRy+ssHyRrb3eyIFd/SLtP JSCa0uymstyAKo+V1l1WbVkOjtDp0QQpqYkbJ0DvYDMwYvCXKgNfsmQNGGzJt4jOPyNm lczDNYq7H17alvzoaZYFLsMCOJwdvCSrxzOuPz38Iz1G+GcXIbIZGN4LNba/bWZ1pbJK GxnyefYJF5+pzZJIWxCQ+WYZ8rHVsNNRQBaOy1PLErf7a1ZfHJM+B09a16MWyv2MkxZD vb1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LHRGZhjJ; 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-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52174-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVybXwhbL1TTAPRBJo/Snsn9scZfnGCnaJISLW4IG47nTefYAwI07TB6hFU0iBBpl5/PE+6OtW4wX/xauwWWFQiqlzxbA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q8-20020a656848000000b005d8b313de1asi5758022pgt.624.2024.02.05.00.01.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:01:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=LHRGZhjJ; 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-52174-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52174-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 6DBDD281E55 for ; Mon, 5 Feb 2024 08:01:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26CA1125D3; Mon, 5 Feb 2024 08:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="LHRGZhjJ" 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 B512C11197; Mon, 5 Feb 2024 08:01:12 +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=1707120074; cv=none; b=oK2d98XFzSavBPGYBIwMEmFly5+GPxFD0cXdemVD4WzsSgshI543K4ajavHXm38ER5ohaimtp6tvnh+nS8WaYnSnStuR9yrOeTvmAPLOGuoP1Bbye2d+tBVRj8950GPL/1VVdJ99qdD2ROd7ea1wpTRTkLVTSu3LkTUoXq1CjVs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120074; c=relaxed/simple; bh=520kbFokQfIobK/X/hSbAVFhFZ2E7Qd+bcOJ67BSKjQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kdudzmX42yB0L/yIC/BcyBTdHteGNQbSgsMV69pucUcltCzu6EwaehhyriwPU50gpMsTHzqDbEwQ8ahhDYxIgXbbD02HkZjAipoyp/f7IUA2rttEqBOnL7fPjio6Z1lh5dHzTMU6yqXncDiN+/aFpukLX92GG+JQXub8cTpt6Ok= 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=LHRGZhjJ; 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=1707120072; x=1738656072; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=520kbFokQfIobK/X/hSbAVFhFZ2E7Qd+bcOJ67BSKjQ=; b=LHRGZhjJEzewHdupdPef+mWdI8xVZ0vuYudEbsNwKtzv3ZIITG6g9Xhn qDOYSfjzl5JZWrOkF0k47Xj2vmVFCPaS6GeyE2Ubs2Aq69em6TFxdG+Ub bec//65TGJ0J43PTPm0nVZCE8LXtKwkRZzOB78LcQ+UojZ/KxQ7/uS09J yFyuxqCLSUrhk/9kIt8pjmKrGM51rVVDGtz6HcI5Sfhkrh7th/fwJmgzA L0eca150jtUNS1iFwFGNwYm+2rJT30aNLznh8ncZLhIHEFY3PF/vMjtwV JnhxXWw1Hy1veWel5TZO51gYByuXDpkd9Tkg+NQJTOFSGJFfvP0IyCB2u g==; X-CSE-ConnectionGUID: z0tAOx4kRimGrwt021s81A== X-CSE-MsgGUID: 8lxLQdceQHiS+2N39cTx4Q== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278248" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:08 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 5 Feb 2024 01:00:50 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:47 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 7/8] ARM: dts: microchip: sama5d2_icp: Add power-supply property for sdmmc0 node Date: Mon, 5 Feb 2024 10:00:25 +0200 Message-ID: <20240205080027.4565-8-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045183515304132 X-GMAIL-MSGID: 1790045183515304132 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 Mon Feb 5 08:00:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 196660 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp729211dyb; Mon, 5 Feb 2024 00:01:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmCKyUq2ROKvT64IvE7cJMc7cZttSDPK9mD+VPKMMYmSFMeHKHWi8YCI1tuXehjEQ1C2MB X-Received: by 2002:a05:6a00:17a0:b0:6e0:4dc9:2eef with SMTP id s32-20020a056a0017a000b006e04dc92eefmr501626pfg.11.1707120119529; Mon, 05 Feb 2024 00:01:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707120119; cv=pass; d=google.com; s=arc-20160816; b=kHzh1Z9S/mjPh6yjoPCOOvrLTey0oszH0JSurdkeNS2I9up76yMhJtxXbPLOZzEjoV 9IK2fsgmoHei6b8RZgTr01TZoLo3elq8qZlmHwilmI+mEXntqo8g9P8gRkKHesnV7Vqy z8pxdprdWPivMSzyspdGe9QZuVwugscRJTieJqjJb9Odem7phWSXtxIHqf+qpKnBkWAY 2hyWBLHjENSVU8IKmOO3XzoxfAtIfTDjGv1p58S7HUvPKwn4nA9uFUM9DUEfObfvvZPO +je97UyQRrljXDI12uND8aX2PHXKbgCi7jWHYLsiah97+169X8MAPFbdSNNgiRBCBeT7 oAiQ== 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=kR/r0EnYktUHTEYtOmZ6Wv4V9RRfehuxQ1F44b78i2A=; fh=YttyNn2ophiRLexvx16HEwgrGOMx+LxRvXep7vP6zns=; b=H7OZpxMWxvgrJ/iTfXlcqjrepXyMexebvARjlPo7jhRBnVlGCjVXXD+O0omlfxnOA4 GqL1oQ/pSMcyH+wk9UpqiUhg0UJQqbjbspJr81zKVs3mHtfhTTTVPnifI6/wY+AAZG7o BemsXq3wJrKUbLh4JHFZTPWYGMv8wJW5NW57hUKWH2scFwIrUiiJY6I8OX9NMPtyIINA xRgzTDRgWIpCfPOvcVOL1JwJbCq1CoE8GTuv7JqdAWxlOZEK/kW4RWy9vMthFoXIf6qy 1mvnT8SDaqeBrvg+8z07sp8fg9MSQbJ0qt+4bgSVCl5mmt+enKHerVXtfMqATnjqlU2n T4Hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=1W6pGmk3; 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-52173-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52173-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCXC6+44eLb/Ydf6TDihbQXCW3lheaiN6wwQk8mobfGA2+/YnyACmfNi58d0aGTZZha+UhZTqxZMG6ySAsr7mfEthYvkqg== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y18-20020a056a00191200b006dbe92f12dasi5833951pfi.375.2024.02.05.00.01.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:01:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52173-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=1W6pGmk3; 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-52173-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52173-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7605AB22689 for ; Mon, 5 Feb 2024 08:01:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD462125A8; Mon, 5 Feb 2024 08:01:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="1W6pGmk3" 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 BDD8710A2B; Mon, 5 Feb 2024 08:01:11 +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=1707120073; cv=none; b=BEsMCz7NI+d9kJWXHFWWUkop9zYFUdX2shFy/evzSH36EWzQmITsmW5QH10ps2F/DwybPnHx4IW527n7bTrXg8QZ0leo96F5UgZyVQFBr8X5pFtQI0DiwgM56eJhZsE3/8UWFYN7YqXNiceqr7T2epUamnkPPAPiYsBsluDh8fU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707120073; c=relaxed/simple; bh=7Q4k+KbMYr9qx5BQXuGDcYEmnW+RWhVIOI4IF3WHU+k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=M1S0AI+5ltAe3iCuhZ3DsO/eGtOKmIa+CJc9ZNNC1q2b956Bnu6TeECdXSj/UetAjKX+l0r8md6fDIH+6N201P4YZC7R4z8VS/QL+bxIxFTU9dOHtpgkGxsQesfeeeKsq6V5kxYL4gdTwMGNhHyZ1g4DlY3qR2+ql6Nv2UMazQc= 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=1W6pGmk3; 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=1707120071; x=1738656071; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7Q4k+KbMYr9qx5BQXuGDcYEmnW+RWhVIOI4IF3WHU+k=; b=1W6pGmk3/pTu/V7E8qzRYlo/lNIjs3hHaWDxfyI6oEZCfNYDv5oiZ1NX eWhp4QLjwUy0fGfup9nTH61+4is19HQvLYIOaXvKSRyNckNCklBqP9Ui/ 9Q+9eGsxfLvr759KGOKLnWJGjEciRjsT3ocDQGKQi+6yzAcDFls9tU3A/ nmgLTmR8tNZPwqTChNDZKXNlmstk9LXFZ0PWE0FkMsIYKuyFE3zyQh/l0 bDq4Cwa/fI38cRiAJbzws1Feq3/ezMJQW7KunHAniFDpCxsEa8jcLOlUB V8MhkAMXykztAUtUbXQ3o+KD6LW2mFgfOtKj2PVL/U3iJ+xWODZUwL/Bk w==; X-CSE-ConnectionGUID: x3dk9xvgTIiMUicoXpbX8Q== X-CSE-MsgGUID: C9DbyUXCTfSuqARtpeRZng== X-IronPort-AV: E=Sophos;i="6.05,242,1701154800"; d="scan'208";a="16278250" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Feb 2024 01:01:08 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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; Mon, 5 Feb 2024 01:00:52 -0700 Received: from virtualbox.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 5 Feb 2024 01:00:50 -0700 From: Mihai Sain To: , , , , , , , , CC: Mihai Sain Subject: [PATCH v2 8/8] ARM: dts: microchip: sama5d2_xplained: Add power-supply property for sdmmc0 node Date: Mon, 5 Feb 2024 10:00:26 +0200 Message-ID: <20240205080027.4565-9-mihai.sain@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240205080027.4565-1-mihai.sain@microchip.com> References: <20240205080027.4565-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: 1790045186674410154 X-GMAIL-MSGID: 1790045186674410154 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"; };