Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp142637imu; Mon, 26 Nov 2018 09:00:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/WcAwf8IEaUz8jLv0F+Vfcm/yOa6Q/ge0uJQucpTjpF7h9jL1jX22h11Gyear/JgZV0OasL X-Received: by 2002:aa7:8286:: with SMTP id s6mr9828061pfm.63.1543251625095; Mon, 26 Nov 2018 09:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543251625; cv=none; d=google.com; s=arc-20160816; b=y2x1zjbDPm88DujeRrNK13aaVRQ4DHBU7bp0QdmArCtKPpLUhP341fiQD266blQnzE +6eJuSon4nGu86fHGw52ba4aGN+nH6E8u6bfEzDjZ26ZlmMnZd6AROnoVnuFFBllJaPz WCuUuWePH2iDQzUH39/KfZoz9U4cq/y0PXIbyxDwNpvHThNaGh5vjiRQyqy6Gu2+phxO 9XJ8b0zc+lY5tnGM+FoODvhrSJtroQhCNio7aydkRHj+PW/i0nO32wsrveORP4yKT1kD NPvHCmvvuKJgkjbnvsNaratBnQVX6GNXkqwVDrCVHV+YkwFNbrugO00dKp2A/9DKU84F JNUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eEBAfq2DQYAvAjpFc9F+YFzdfKgRBH9w1tG5ETD0XtU=; b=hf2CyTpPpvGg88SgE9MfmOllgJhKa5XnYUMEj5ksRv/QFyADetZNBzwTTfxIR5C+go g8Ox+T1QPSqmZiE3M+9xSQ0NU40Gx/YckVpheILB+SQjWtVZOR846BjKvIjxt/j0cWs3 1FA76dNYsM75Ti0+nieLuEOW1qu34DkJh5pKf6WMi2CIrfwV2Vxx5JsRbNWtu/Fc+ZyM eP5YYqv3oATKmZizf4XkjtWaBsnD5I0B+DoGrRQRJ6z3t2w2EPoziginygG7yI5/+J/w nraP5bls4CdC2FMhmRk4BNGSMDX53Ik0+mJzcjIzyY5BfPyNeyWDAaI4qC4r9p3ru5nL Xb4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bzY+Q1rt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si756644pgo.331.2018.11.26.08.59.16; Mon, 26 Nov 2018 09:00:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bzY+Q1rt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726870AbeK0Dwc (ORCPT + 99 others); Mon, 26 Nov 2018 22:52:32 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37298 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbeK0Dwc (ORCPT ); Mon, 26 Nov 2018 22:52:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eEBAfq2DQYAvAjpFc9F+YFzdfKgRBH9w1tG5ETD0XtU=; b=bzY+Q1rtfBM8Pcjl0zYIggb3M UegrBc2BfQU3QM08UV4TluNXGNJha7WFckTHYeShCmBXfq52jKvwajxTWB5jMLJKPEiNV8jf4GYz5 HzOnqFPUFAXDxi+zrsUpN9n0yB8pKuM6oHIz1vHg8Kol9eGVsCLQTcRbGXZ0uC4eHzpAo=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gRKCZ-0005PF-Bc; Mon, 26 Nov 2018 16:57:39 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id DB753112519F; Mon, 26 Nov 2018 16:57:38 +0000 (GMT) Date: Mon, 26 Nov 2018 16:57:38 +0000 From: Mark Brown To: Priit Laes Cc: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Sebastian Reichel , Hans de Goede , Liam Girdwood , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Olliver Schinagl Subject: Re: [PATCH 09/14] regulator: dts: add full voltage range to LDO4 on the Lime2 Message-ID: <20181126165738.GI9715@sirena.org.uk> References: <0b1aa5b28cb5efe17c04150a181ef1fa4027bc55.1543245984.git-series.plaes@plaes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SdaPbLtAangIkrMZ" Content-Disposition: inline In-Reply-To: <0b1aa5b28cb5efe17c04150a181ef1fa4027bc55.1543245984.git-series.plaes@plaes.org> X-Cookie: Gloffing is a state of mine. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SdaPbLtAangIkrMZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 26, 2018 at 05:27:50PM +0200, Priit Laes wrote: > In the defense of LDO3, LDO3 is the regulator that feeds port bank E, > which has no other purpose then a CSI/TS interface, however the case > may still be, that the connected IO may be just as well be 3.3 volts. > The big misnomer is however, that the schematic names GPIO-2 pin4 > LDO3_2.8V, rather then VDD-CSI0 or similar. In general you want to run regulators at the lowest voltage you can, this tends to reduce power consumption. > Ideally, we want to set a supply voltage for each port bank, but the > monolithic nature of the sunxi pinctroller currently prevents this and > as such, the board should at least configure the LDO4 with the proper > ranges. > ®_ldo4 { > - regulator-min-microvolt = <2800000>; > - regulator-max-microvolt = <2800000>; > - regulator-name = "vddio-csi1"; > + regulator-always-on; > + regulator-min-microvolt = <1250000>; > + regulator-max-microvolt = <3300000>; > + regulator-name = "vdd-io-pg"; > }; This is obviously broken even according to your analysis above - if you have consumers for which 2.8V is too low allowing other consumers to set even lower voltages is not going to help as soon as they start doing that. --SdaPbLtAangIkrMZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlv8JgIACgkQJNaLcl1U h9ChRgf/clrFo+5K7x0k5QWpV6PYmm8qGgoo8qB0vUwTCVr+WUf8MhjYsXuxULU7 EeUU0PVw+uepX1rpIZdPOGhfZ+j6BAYxQRiqm1T1mGtf8IlnQA+Tc1Yglf6ukLzs 11XdUj6xUXGQlqqghkJzN2UeDmkY/ldfpniY1endz7B3NNuGPuhjzmieDFp+o/NU VnIHkDhDal5Iwg5Vb0f3iGKLlVnQFXpDtAKj/c9CBA0jHgWZmZgmiUC46da68eEz dF10grh1qJZcWfrhPz26/b/l+epQTOEamU0H4jnfIxcsLxtsT2xYRKG7jxlQOtzZ PW4lHjBRebLGl2z7PwEGh7oU9T/3Og== =9htB -----END PGP SIGNATURE----- --SdaPbLtAangIkrMZ--