Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5932726ybp; Tue, 8 Oct 2019 10:21:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0KXMGypg7/5bme+v6nQgxQ26X86lYnFZPnLkaZve2xKrMvWbULFhoaAGalAHILjHR2XXO X-Received: by 2002:a17:906:6bca:: with SMTP id t10mr18804834ejs.64.1570555282297; Tue, 08 Oct 2019 10:21:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570555282; cv=none; d=google.com; s=arc-20160816; b=qCQ+fW9vYM/Yvt8TLX09JTBvmrWXxoyLakvawXaOlrLyhq4RxJwFHRen5xolRo4B3/ nGP5pbSAyn4gxn0GYFjoqNgQ26eTQq/Ezk6lj9wCYBsXjidokTrz6ozdlhjtm94uhWEs 5y0c3KhP/a9KuW/jBJcgtwOeUDfgYmWcmMJ7FL4tKGG5QE3pglQ4mUVZjOjJ2nPu8ScB PMGm/OcDr+FJAboSvkRt3lkX3IJARBPQR9mUyP+JceLyLBHGDufMJIXGm5MTHTa3Lwqt 6J/8grKCLOFElVcPisdVPhLO0+VC8ESsK+6bwhfanjczxpjzvHHFY6txW92WFTkjQp/c pLbw== 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=4mqdZlErqq2Bt7M06GBMpHKMhqkoX4+sfbP0n/X4pVc=; b=sCFyL65sg6iFGtAF2aaO6/AmeH6tf30WQfLgL29d8fNMzQ0pJd2qB8Ao6uffvR4K7I 9fvQBtbN/GTPUp7rp3BtZkUEoJ9bDhbL3rJCi47huQH+Q0yFzJ4hMc2c6WOLlvm4j4UZ /MDh9pXs+1AsAzwno1GUeP4Qh/vGpQMRCT97NlNRDnbZEGIsNQ1K33qv/tfSWijvkX36 B9my9X/m8woQMzig6636Wi0ocjAxHXmBukfm4o8fnwa9NTyF/prBum0YXTLDLWon8vPj pUmzmH86TY3D73aPxWfgX3fXnyuHtPqR2qhbnZyQAlIaxpKcsGkuwUKpwQdestdAl/Ba i7Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lMSAEjrf; 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 h34si10585391ede.247.2019.10.08.10.20.58; Tue, 08 Oct 2019 10:21:22 -0700 (PDT) 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=lMSAEjrf; 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 S1729319AbfJHRRy (ORCPT + 99 others); Tue, 8 Oct 2019 13:17:54 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:45512 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728961AbfJHRRx (ORCPT ); Tue, 8 Oct 2019 13:17:53 -0400 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=4mqdZlErqq2Bt7M06GBMpHKMhqkoX4+sfbP0n/X4pVc=; b=lMSAEjrfE63qh0t7WHODraAOr IaUbiWQQMtVkWgxiAV8md1o/YI4HF2g49/9vWuPNyrng5cMit0q3SxXzCglbIPY7cOlDDVGXnWrdZ 6RkMEVOJYuQjNwj6arZ/pO9KhsYxaK9MPDzXWo75qlo3gy+VPfITfGFtgn8jvfZhyfNq8=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iHt7L-0000d7-Vs; Tue, 08 Oct 2019 17:17:48 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 34C8A2740D4A; Tue, 8 Oct 2019 18:17:47 +0100 (BST) Date: Tue, 8 Oct 2019 18:17:47 +0100 From: Mark Brown To: Dmitry Osipenko Cc: Bartlomiej Zolnierkiewicz , Marek Szyprowski , linux-kernel@vger.kernel.org, Liam Girdwood , Lucas Stach , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, Viresh Kumar , Kamil Konieczny Subject: Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable() Message-ID: <20191008171747.GS4382@sirena.co.uk> References: <20191008101709.13827-1-m.szyprowski@samsung.com> <20191008115025.GF4382@sirena.co.uk> <0e222fdd-4407-51ea-b75c-a62621cbe622@samsung.com> <20191008120611.GG4382@sirena.co.uk> <9268b455-ec66-97e1-909d-f964ac31c0ef@samsung.com> <20191008124736.GJ4382@sirena.co.uk> <86b9b4b5-cca5-9052-7c87-c5679dfffff4@samsung.com> <20191008161535.GN4382@sirena.co.uk> <4ad890b7-705e-94f9-2e61-1f3a60984c91@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QRtLtq+kfJNLc57H" Content-Disposition: inline In-Reply-To: <4ad890b7-705e-94f9-2e61-1f3a60984c91@gmail.com> X-Cookie: Do not disturb. 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 --QRtLtq+kfJNLc57H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 08, 2019 at 08:05:03PM +0300, Dmitry Osipenko wrote: > 08.10.2019 19:15, Mark Brown =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > That sounds like it might just postpone the inevitable - if you set the > > wrong voltage first it might decide to drop down some voltage that > > wasn't expected. There's a bit of a bootstrapping issue. I think it > > would be safer to just say that anything that is within spec won't get > > changed any time we balance, we'd only change things if needed to bring > > them back into spec. > Yes, the case of changing voltage before regulator is enabled seems > won't work as expected. > Maybe it won't hurt to disallow a non always-on regulators to be coupled > until there will be a real user for that case. I thought that coupling with the CPU core and main SoC power regulators was one of the main use cases for this feature? --QRtLtq+kfJNLc57H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl2cxLoACgkQJNaLcl1U h9DjLgf9Gvem9ox+y3vOfD+4C0f4CIR0bUNT/g2GkBLpFmcExWG9djaEFeIaXmKh FBRYi092ZOLmSGhxNxpqAG3+FjYmhj8k+9jlUxfJVLKwehNy89kG9tCT7tQzJRLO 35ZV/rK+GIfgyqWq4B64zzkXJRClUxJviej0Gxgp+pFPakvcbk28iTxUeLoGL5lE fXBh4nSGvvgMyiN72ZJQG43hcWx5X5wBHQEmyIjCFspqI69SQTFmkz52I/C5h0Tk ABSznYUeftAKn70ca1kHF2XYogz+5HILCc+IkF4V5LaZhzIQgGe4F7QX3WWIvHtn zPsltgmkpnhWYap9ItVsU0j5xOu9Ww== =XoKN -----END PGP SIGNATURE----- --QRtLtq+kfJNLc57H--