Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp674871rdb; Sun, 18 Feb 2024 06:45:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXoP6SK1HWL2QkQzkjC5gkwrSZ1hQ0RLBfe39YMTxjLbLva52KVguCHvoXvaSdj0xWjE+/Xo1sL+GArTHhbHrnRnIU/OhjQRdc0h9Qu0w== X-Google-Smtp-Source: AGHT+IG31XcszbdarycEDMZN24+v/bNkfpMi5gBX2xzZB0e1Nbt79o7320ahKcDc9iBu6qvFIaCT X-Received: by 2002:a19:2d16:0:b0:511:aae2:e5e8 with SMTP id k22-20020a192d16000000b00511aae2e5e8mr6093399lfj.52.1708267537672; Sun, 18 Feb 2024 06:45:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708267537; cv=pass; d=google.com; s=arc-20160816; b=hfmbiwx+FUtI5ErnHDDw3jg3CgZ3d2ANNhXtfgC9WR+SYYN7dX0VuEDoCDOLRVvrSB mn8egpNd4g6KokNAlHsUMXdZfHDjJ7Nrqm5L9m/zutrtcrdbfPRx1Dsa4jQZ9vI4mTOn QOFadl4775rbsKyUbHehxtIScFr/GT7qWIswf4FkuFnt7Wc70RuPRkzHSSp6Md7u+i9+ 8L35LZAem6suBNFtiKzlGxteH0hHOHrPuMcrxH70TsXp2UqK6qw7ylcGR9PcYTbXEn/b f9je4U+nU+FlC9REkxG6aqG17F/F72WzxltzX7ODQGxbR69oxRi0oe1lUkmK/3roh9Tg /s4Q== 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=uBQ1bWSTcAbaXzL19RYi7sW46W818tVY0olUEzvaop0=; fh=K+ARi8S98C0BEfbdCNPv+h9imEXo3FuPYVre9CyOukg=; b=nJdzlQNSIC8yy8gr/9bybeQcKvEBOjxp7LZNnpoNl69mGtT2ZAnq2f5+XYWAvq1m5h EsSwiDpT+BucirLigUWciOzTRO6NuPC0TOM5LSL7tYI/14pOaCM0MGnypkMDssidELlL l9W3ZgKYrLu2ww7ozPdRkZn5AWAYFGTpDUA7gZTB3oBdJy64/8jqvjfTXUwkPYBF/QM2 Iwoq46ti8m7Y37jrjXNENRZ3kWd12VulEAw/dfWEIxYMBtx9Ctmri53DNth+h3flYC0a oPyQNyBZL1xJEZ9fkkjGZ5mHUI1MUE0UTVxrFS/heKoV15MU7TAEslNH8/tS10j4F6Z0 rOIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=S4TmL1kU; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70413-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hr33-20020a1709073fa100b00a3e12ddaa04si1596700ejc.599.2024.02.18.06.45.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 06:45:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70413-linux.lists.archive=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=@tuxon.dev header.s=google header.b=S4TmL1kU; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70413-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5F6091F21546 for ; Sun, 18 Feb 2024 14:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DD076BFB7; Sun, 18 Feb 2024 14:45:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="S4TmL1kU" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 87867290F for ; Sun, 18 Feb 2024 14:45:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708267530; cv=none; b=hsZSBk4Pv1vrjUcvb0vk868YttH3erKuDZPPovtflcS3QO8YXT5bsd3arClgNLdnf5fEeGkc5wPR6zP048dVfaLZ6UkJmKZM9XzG87yPnfh9Hjl3xalN188DiXXGuxaOi/1ZslNbeM8m4FSeB0AWjgN/I9JaYrrjx4HnmDySfHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708267530; c=relaxed/simple; bh=OEucH0lCCu89DRZY1Jdo+TZ4i6H9vh3X8iFnO8oA/Fk=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=k88l0LGORtiZkInjN24TIY5GjhjatgbKGSyRzaLP0Tfm/Xkh7By8GpmFvjU1wJ9rV6Rdc1TfbI6NYQmdS/o8a0E3ylBECmGkd3SU+nRqyrMuVJcyGy4qcUGjijkN+Iu4WBgtMqBn0JCfLyu3aIhNBlKOAZvYkv1fkSRy8Om9ZAM= 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=S4TmL1kU; arc=none smtp.client-ip=209.85.128.44 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-wm1-f44.google.com with SMTP id 5b1f17b1804b1-41260f94858so5846425e9.1 for ; Sun, 18 Feb 2024 06:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708267527; x=1708872327; 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=uBQ1bWSTcAbaXzL19RYi7sW46W818tVY0olUEzvaop0=; b=S4TmL1kUFyHVsFjTSnOC+qoH0xlnsH5A/HHoLDuCkgduUiW8ig6jyHjq/XDNo0Mzx+ /cO2jeAV3m04MPEE+uorO0IX5ZDfqK9CU0OusaLXmP2cJ9M/+Flyz6iWs5FNukgfMYic 5f9zPtzjwAo8YDlgADkGbzgkQhwMfl9mpE87/hoghC5xS5SF+GZPFTE7oCt6wicdyL/W piTvlufjf3qjVWvNG4iyUOBbqYTWr9kmnR1aA0KulizuQGlP5oZj32rGoeTREA1i8Ly/ AWMHym7c/QgeNbLZ1DIRPSneCgIT4W7tMKOwtnyNb5/FUeTM45neeIdeYEUGQLM/xZpg rJ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708267527; x=1708872327; 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=uBQ1bWSTcAbaXzL19RYi7sW46W818tVY0olUEzvaop0=; b=ISr5bW4s1EASTxR1w9Ot1cIylh9mzAcbK2gq1aEQ60CQ3Aqu8yTSZz5Gopg/ANMqFq Ao5OhWgWtZFBj5vEBucK+3icr7ChNf7aYgNXFGvHhz2dV3qjPs474QwZce3msrCVr116 53/3KRBHnTbS0A5CYNADPmxCRK9+erFySxee9buRW153OM4O/zL7O/bg2BGrOsBJu8QT HAzo4vzoARf/8x9gT1UFZprMAUc/NjVjJ58oTjoTQ7cAgIcLglsRVLe6EAbV5oL0fqNB X1PLj6h96Ph5/eX9lIPPMp53p4qTS6artJ/mYpTQ6pHUwfMpMkpKhZzCjzYwWy6CTsVt TwHQ== X-Forwarded-Encrypted: i=1; AJvYcCVDWigaWIUVz5O33gg9tjAPlaPQuFgR7VBJ87z9VSJaTuxYSb+4MwULwLbEm1AmalDzbUd7b9rHswk0448u5o9faO5XZttIMUsAyUFS X-Gm-Message-State: AOJu0YwCf65xcMultTjov4fvTb18W+c2uLw0MSxqwbev12vxMxT1sqUv ZEu2S0JIRevR24xkLW4bvYAqZIb8pWN8gStFfhO3FeUt0F6fKWMmSNd5TnRfesY= X-Received: by 2002:adf:f4d1:0:b0:33c:e1f8:9444 with SMTP id h17-20020adff4d1000000b0033ce1f89444mr7236686wrp.9.1708267526739; Sun, 18 Feb 2024 06:45:26 -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.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 06:45:26 -0800 (PST) Message-ID: Date: Sun, 18 Feb 2024 16:45:24 +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 3/8] ARM: dts: microchip: sama5d27_som1_ek: 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-4-mihai.sain@microchip.com> From: claudiu beznea In-Reply-To: <20240206120322.88907-4-mihai.sain@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Mihai, I'm replying to this series as the description is still better to me than the one from v4, but, few notes: On 06.02.2024 14:03, Mihai Sain wrote: > The sdmmc0 and sdmmc1 controllers are powered from 3.3V regulator. In schematic at [1] (for SDMMC0 at least) I see VDDSDHC could be either 1v8 or 3v3 and is selected by SDMMC_VDDSEL signal. Maybe update the description to reflect the this. [1] https://ww1.microchip.com/downloads/aemDocuments/documents/MPU32/ProductDocuments/UserGuides/SAMA5D27-SOM1-Kit1-Users-Guide-DS50002667.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. Ok, it has support as you mentioned in one of the replies to v1. > 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. But it is still not clear enough for me why you want to keep it at 3v3. Maybe it would have been clearer if you kept the statement from your reply to v1: "On the SAMA5 MPUs there is support for IO voltage switching but since we have issues with the tuning procedure required but the UHS cards, we want to keep vqmmc at 3V3 in order to use high-speed mode" Thank you, Claudiu Beznea > > 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"; > }; >