Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp675060rdb; Sun, 18 Feb 2024 06:46:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWZpk8yQjTtOsOoCbEsyRVzl/sa73sKdN6UsKwHNBO5mMG2kIw+iRE6R65Y60lvqLM8ij1fhi7vcr7LOd1E1nAl9/FgafUXiIwOnPjb9A== X-Google-Smtp-Source: AGHT+IEjwIN5NsKi7aW1s5rPS5larYKnqQfX2OWaxyDavG15n3t9lFT2E3sIXxMEKYnYTYfXP0Cj X-Received: by 2002:a05:6358:4711:b0:176:bef2:634a with SMTP id j17-20020a056358471100b00176bef2634amr11853890rwn.0.1708267568095; Sun, 18 Feb 2024 06:46:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708267568; cv=pass; d=google.com; s=arc-20160816; b=Q/BSzespGU2A3ovmLZOL4MnN9uyLzva0UKw2HQhaL6qc9ijpHJXXykhtVvNZFJVfwl WYhauSbYrVtAFs9TFslhdb2FXDjgfgLBSZjE4cdEnGewEw0e2Un0Wame1LxvYrIxkcll c/T885ZUtchaDT7P/Nw68GbbEg0HY3zrNQuvBL4Evth91j6agZkbkrVqJvp0mt5N6n53 V3SQ3OGzhHCKS5fVqsWGYln5BosMcaeEm5kX6FN4wACKjjjSA4TbmZ1p1HFNAG1yb0QQ xvEsLSQ7tq7aZ8zukr6Qkn63nwHDC1gD78EfRr44diEjeHC81gTKDSFJkhzALYZWDlZk /tNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=SFOUsdi1q/qmLzWp9P59hV2oj95gxZqgxWokouB56lM=; fh=82IG7DNtS71A4RdwzyMfcfsQVcbc91GT5U7Tk73GNNc=; b=Iq2uyoUEgKU46JL/IZycFkLWt3ASKf/nkEdjZD0/Z4Uv2fo6XQcyMtE0ApYb4xsKe+ o9U/6rBaiUp/n1nKiSBma61BXwKnaqOEcczAZFDY/6AwUnqykmA8eWcAG1ZYk7uBWGQ/ ich80A7L1iqH6odCkyIfkqPCNebtS+Wx+IP0RmG7qsUKPJ1XaDOh5ZUV18Dq2+iQD62W Cs1GvOTT9AKJSyDNc4k+DmOsiJOpNjI23M81o3iG93NmjQGMz8dfkRNeM+C4uDM/KCZx LxBA8RFbsS111QVS4momzTSLEwb3ovmGSMSdmZCApiJ41M34mnexKOloh4pGANZiWhxk NP+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=RQ8gFkLv; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70415-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g19-20020ac84813000000b0042dd5c5d8f9si4043421qtq.288.2024.02.18.06.46.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 06:46:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70415-linux.lists.archive=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=@tuxon.dev header.s=google header.b=RQ8gFkLv; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70415-linux.lists.archive=gmail.com@vger.kernel.org" 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 D2EA31C20A4E for ; Sun, 18 Feb 2024 14:46:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EA146BFB7; Sun, 18 Feb 2024 14:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="RQ8gFkLv" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D8EC290F for ; Sun, 18 Feb 2024 14:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708267562; cv=none; b=MYcVUA9c794dxJ8S6hSfoqxM6qLl+8TiS85vHpg78rxv9bg+ib61QmRcFjCMmLQn1w64HLIaBYzPd0Qs5nXPwzfAudpIU0l380GPY4HhYpOvEwGu4unEczlP3QqwPLbMl6w43zZ09KAH75awCw0OSvkd+qfZVAHpbIYAdYoYmU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708267562; c=relaxed/simple; bh=wyFLzV+ri2uRUi854Yd0XA5zNEHVGKCGn+uVjUHbpjo=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=poZam+S8U6vgVUrs77zhezq8xZcrs0i2y0xC9zVoWMI12MxdkAh+WSH+eojnhsOQ2jIA2TCCAL6e3pAJcwHOvjy1RJj8c3YO4iKhH2NuJ3PpsxoB7tNOaHbrs7pM7FNTzp1WA0R4j7LmarM0GxEla7kznjspmfsVYgBAHx0LqRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=RQ8gFkLv; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33d32f74833so488807f8f.3 for ; Sun, 18 Feb 2024 06:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708267559; x=1708872359; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SFOUsdi1q/qmLzWp9P59hV2oj95gxZqgxWokouB56lM=; b=RQ8gFkLvgNClA1U4p3yUhFp3fpPL0/yomRg3yPuPPcb/3PCV0BIAFqpbfw316GqGU1 f4w5JVnYxH3uHITPp2eC6cutF0pp94xdUdBQUWAAWHaol3ddxtz6IIIREVRu1KdjBp3i jcTrZzlDNec6p6GfrNxxQnT9nTC7lEWLfOPv19q3ERiFuIZZ9acBI1TsX8kyAUrgH7vI ARTZs3BuED+b2zELTapj4HRgGRfx9M3YZQcVWbwOwrMycwgJjg+8slwQLlzFK6b2o0+p deFOF7wAA82KfRPNPub4jIj7Ux3o6ZAqOBvl/P0dK0yln0NNRcdBUKR1yqYmJ+EijNS2 4aMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708267559; x=1708872359; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SFOUsdi1q/qmLzWp9P59hV2oj95gxZqgxWokouB56lM=; b=dh3urmUV3lIi4Y/J4L0Jiu+ye611Kpf6XPdzIjqaQPzmL5T6nfvSqM028bsIXMYJe/ h0VwxJOmgR5p+IyT/NUwLbjq8w94ApzQKyVohR5Y2UQp6YwCe1s7gJJL51tFjjxRGRwQ srfXsjmtdLd6GHDGgpU2jBxAx7ZSnyagatR6nrAYRtW4HpAzxqu0OnkqIFnmmOAqC7aK ZPpVlZR/IWv4lYzgLs6TyjxVKRx9J1TXIdjVv7uRS90eoQJgQ0YC97u0hFr86Uwhgtiq OLbs3F1jAx0dnpvcr+eSUi80VJP5IugRF6rQWE4I/6aI3BAW81MuhoXKOjrkXRoYn1+/ Nfuw== X-Forwarded-Encrypted: i=1; AJvYcCWgChcw8kiMTQY3MHd7DHNh9uS54hlDyZeGnOpcBPlhRagad3gIE/adcBkSwa0k1OYDBivVW/7uvPissbk3GLHJKJo4DoG9jSd3SC3U X-Gm-Message-State: AOJu0YxiX0zScVqJIGp8vAcuRg+TxqW1SJhyb7oZJNHq3vOJDvOUxKux 8b/JOLWgojjkRYZnMoMyRi02D5dI8PXy0LL8vNBAmq3bKyzZRZBjDEBvZbRgKbM= X-Received: by 2002:adf:fe0f:0:b0:33c:e35b:7a59 with SMTP id n15-20020adffe0f000000b0033ce35b7a59mr6875395wrr.48.1708267559672; Sun, 18 Feb 2024 06:45:59 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id s3-20020a5d4ec3000000b0033ce06c303csm7453944wrv.40.2024.02.18.06.45.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 06:45:59 -0800 (PST) Message-ID: <38ae8cf6-1daf-4c36-8431-95e01fcc906f@tuxon.dev> Date: Sun, 18 Feb 2024 16:45:58 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 6/8] ARM: dts: microchip: sama5d29_curiosity: Add power-supply properties for sdmmc nodes Content-Language: en-US To: Mihai Sain , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240206120322.88907-1-mihai.sain@microchip.com> <20240206120322.88907-7-mihai.sain@microchip.com> From: claudiu beznea In-Reply-To: <20240206120322.88907-7-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06.02.2024 14:03, Mihai Sain wrote: > The sdmmc0 and sdmmc1 controllers are powered from 3.3V regulator. Same here (for SDMMC0), according to https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/UserGuides/SAMA5D29-Curiosity-EV07R15A-Users-Guide-DS60001822.pdf > 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"; > }; >