Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp481523pxb; Tue, 14 Sep 2021 01:54:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUhVBCNAN30MR8YXeVEluDI/RO72XWuD5xCDzpS9Cm3X2usAACIcomw5emkLyRojgTuUDq X-Received: by 2002:a92:dd88:: with SMTP id g8mr11004680iln.306.1631609653465; Tue, 14 Sep 2021 01:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631609653; cv=none; d=google.com; s=arc-20160816; b=idYcJXxvk+cCrLT+ZFi+FCif1nmjFpti0Qc+UGuoIldPyN+LFbakFCALDBpvC8/3N7 1738B/LrdJbyWPDPE0MaACd3KcWRdC/k4ZvV1HnSlgyHrwsdR6ZFvYqrupzayKmHruPi R/G4ZEGaYrEjlqiMISJuJrHL4Fukl5bxnj5r+KQfMc0fBrIXmisykyZ343e26xzu7uFR dZ/N7+ATs4P7ZpScNXBFrer+hmrQNfWbvy38Iv5qGWOF703k4EpPklrxbEvl9KdNp87v HSY40NtfXJKIjyS249FBJd/nqMbG+MKWYs4qr31/1/VODOZzwB6+dc5xvrSu9HV8twC3 L1xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=lOIMfsGFSLO+LnFEOCMQ6xKxaDYAiEEyUh3yPH+T0d0=; b=yug5z7eael/JXFNkhmDif2JHBl6O0mRD7WYHMMSFAB+NCjEsWxo3c5Xy3lDGRxqpnz NBj96mkBa7ox6GLwI3WY8rSCYrxS+RLyFNL5MVAgSMTA8V8T5L/jw9yLyumOTrRJOSW5 TGkkcuwB0/JmwPXg1jV9inCbuU17XQ7JVE1eyQVJf139pUIhw9CdI/dqIEtifnqcgddF 8Urzc7MERSOXNK0k9Z8mnZQzR7/x3WqlV272qDPoqBqDKX79aF+S1RhDSmGY8MhMofXB aRHx+3CqD0zvwcchpnPAgGvabp04q2UsrbK8w6NF2rHiqmywzOzb5LUlGX5GNT0iCLNh izoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si9344956ilc.127.2021.09.14.01.54.02; Tue, 14 Sep 2021 01:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbhINIxl (ORCPT + 99 others); Tue, 14 Sep 2021 04:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbhINIxa (ORCPT ); Tue, 14 Sep 2021 04:53:30 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A96AC061574 for ; Tue, 14 Sep 2021 01:52:13 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ4Ai-00077S-RI; Tue, 14 Sep 2021 10:52:08 +0200 Message-ID: <2dc72116ec935a5a5d7a1a176868b7af7ff3227c.camel@pengutronix.de> Subject: Re: [PATCH v2] arm64: dts: imx8mq-kontron-pitx-imx8m: remove vqmmc-supply node From: Lucas Stach To: Michael Walle Cc: Heiko Thiery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Fabio Estevam , Shengjiu Wang , Joakim Zhang , Krzysztof Kozlowski , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer Date: Tue, 14 Sep 2021 10:52:07 +0200 In-Reply-To: <79fb60ea9a002ea553a92ea08b28b866@walle.cc> References: <20210914072627.24173-1-heiko.thiery@gmail.com> <449f718706fd5af03190bdda986de37aa8fa14e3.camel@pengutronix.de> <79fb60ea9a002ea553a92ea08b28b866@walle.cc> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, dem 14.09.2021 um 10:32 +0200 schrieb Michael Walle: > Hi Lucas, > > Am 2021-09-14 10:20, schrieb Lucas Stach: > > Am Dienstag, dem 14.09.2021 um 09:26 +0200 schrieb Heiko Thiery: > > > The sw4 output (V_1V8_S0 voltage) from the PMIC is the main supply for > > > the 1V8 power domain. It is not only used as supply for the eMMC. > > > So this voltage can not be changed and is not allowed to switched off. > > > Therefore we do not want to provide this regulator to the SDHC driver > > > to > > > control this voltage. > > > > > This specific requirement should not be solved by removing the > > regulator connection from the SDHCI node, but instead by constraining > > the regulator voltage range to a fixed 3.3V and marking the regulator > > as always-on to reflect the hardware requirements in the DT. > > > > Also if your eMMC vqmmc is a fixed 3.3V, I don't think you need the > > faster pinctrl states, as you can't use the faster pin states anyways, > > as they require a 1.8V signaling voltage. > > Are you speaking of the 1.8V signalling modes? As far as I know the > IMX SDHC controller will switch the voltage by its own function pin. > That is, its not a GPIO. Ah, I mixed things up here. This is a fixed 1.8V supply, which is valid for eMMC, so the high-speed modes are available. My comment still applies that this should be fixed by constraining the regulator, not by removing the DT connection. vqmmc is the MMC IO voltage, which can be switched either by the function pin, which gets toggled automatically when software does the voltage switch, or by explicitly switching the regulator voltage. eMMCs are a bit special as they can work with a fixed 1.8V IO supply and don't need to start with 3.3V. Regards, Lucas