Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1012905imm; Wed, 23 May 2018 08:56:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo9dyP2FVtqtJsiLxJ3u2J4xJ2pESV85PZTHLmkMumqLkhaXAB3ALQgN+J3dJ9Xg5qr9vPf X-Received: by 2002:a65:5042:: with SMTP id k2-v6mr2759025pgo.122.1527091017412; Wed, 23 May 2018 08:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527091017; cv=none; d=google.com; s=arc-20160816; b=pef7ADKRgLQ3KgfEypa57aiLI0fz1uNyuIhXnEJvlFCH8yR0Stnvu4cnq/g34s9NVC sfyIKlmJDHzcsyYzrN8VrZoG8TwRMK0EmHbgtYlA0Ejz4S0P7s9hOgu2byjfbzA0NTpz MTDi98186e63PVLWQpi9ondU6doCQj/iAWHMVcUZPMcH4OSPrJqAI5bBwhD3+ErsmguA wsjn65pB/BT0z9ynAXbN0yOfAoTL60jCLpUmD/W7xHmxbWWIwkIR2s9LfgAeQNoNgrGm sEcgpxO3vkgl6zwPF5Y34nqWwBCL45bJgVlxhSjvdpeIpalMTHW9ag7LYfTNkP6Xwk8r GMAw== 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:arc-authentication-results; bh=IWe5AhPJMGgnl9XC7Uf4nnSzfBk5kgIv7V+bDEzja4Q=; b=sXHwrxMSu8O/n6/ekhSET9ICi0+132K8W7lWzOa4Os1vU4b/o4025jeptyrxdsdDv8 cI5puJp92Y5O6bCjYFWB1dpfchvXL3w1f6p2Lz/AmcwvHuoxOdxSul0Ky45i6FUSq0QE YROYOmZU6ohZBo9PHP9ZGPzqdkxbhm4zYyg6K1zafdnHuA7rkWmyQa+i5OrgyqiWwivR mrZoS/klwOk9C1vGoJYC/ntUo/2yV0UN/9zBeqJx+ao9lNpMSB+wRLX/5p1E/mgqhUlA ZDo2GFcyHKaXJb8aHQC4YpFWhAUpDjrSAB6Svx3+DLpbzVtOz7AHyFXRVsc0mK5sHpAy Ew8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=wrgycZQC; 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 g2-v6si18325465plt.421.2018.05.23.08.56.42; Wed, 23 May 2018 08:56:57 -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=wrgycZQC; 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 S1754628AbeEWP4Y (ORCPT + 99 others); Wed, 23 May 2018 11:56:24 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:46052 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201AbeEWP4U (ORCPT ); Wed, 23 May 2018 11:56:20 -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=IWe5AhPJMGgnl9XC7Uf4nnSzfBk5kgIv7V+bDEzja4Q=; b=wrgycZQCvy+7x9AVk5yhisPLT 4zBbxIQDC6hnk6MQ1jUJj7ZOaulS5HZ0Wb7bp37sapv34CAN9kgz+bG5UWz1dO8Cye0yS09llYzth dW2Px2+bWQlUjnvWG4xoBobZXnDPO7s0eZh9JHFe6KL7qhUrEZOzpzCboFI3VJW/Mb3bg=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fLW7d-0003Pa-Fj; Wed, 23 May 2018 15:56:17 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fLW7d-0004NY-2f; Wed, 23 May 2018 16:56:17 +0100 Date: Wed, 23 May 2018 16:56:17 +0100 From: Mark Brown To: Doug Anderson Cc: David Collins , Liam Girdwood , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, Linux ARM , devicetree@vger.kernel.org, LKML , Rajendra Nayak , Stephen Boyd Subject: Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings Message-ID: <20180523155617.GN4828@sirena.org.uk> References: <20180523082908.GB4828@sirena.org.uk> <20180523154057.GL4828@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7VkxxUl3xUvPtoxk" Content-Disposition: inline In-Reply-To: X-Cookie: Excellent day to have a rotten day. User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7VkxxUl3xUvPtoxk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 23, 2018 at 08:50:22AM -0700, Doug Anderson wrote: > On Wed, May 23, 2018 at 8:40 AM, Mark Brown wrote: > > It's got to be valid to think about the voltage of a disabled regulator > > since drivers want to be able make sure that the regulator gets enabled > > with a sensible config. With most hardware this is really easy since > > you can just look at the status reported by the hardware but the RPM > > makes this hard since there's so much write only stuff in there. > I should be more clear. Certainly it should be valid to set the > voltage before enabling it so, as you said, the regulator turns on at > the right voltage. I'm saying that it's weird (to me) to expect that > setting the voltage for a regulator that a client thinks is disabled > will affect any real voltages in the system until the regulator is > enabled. In RPMh apparently setting a voltage of a regulator you > think is disabled can affect the regulator output if another client > (unbeknownst to you) happens to have it enabled. Yes, that's definitely not what's expected but it's unfortunately what the firmware chose to implement so we may well be stuck with it unfortunately. --7VkxxUl3xUvPtoxk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlsFjyAACgkQJNaLcl1U h9Bbhgf+KPFRcR938/oF3MQB7RnAJXl7M0vkyJAeZEKoCm8Etp3Rju0+rgcUNwOu oSq43pXLrLGW7yABVYFa1mitG3+0YDXSqt3mDWVkCi+3LIsOe9B0VmYGXbTdlurD ZYhXO/6dxfqDnRxXuxEPdRxnBp2xwSCu4NW0bDawtPZDzuHu1n+DbE2X4cJL+GFn PTiigFa9ivjAE7vYO61vCzdJno7CaJeaWvIdz5FMTbf9q9GM94+t02Odxj0EkTAf qgJ/UBB9z9H43LpplUE7NmP35HBCiJa0xoKVx8nRoe0Y9ca6A8+XJNOS/RY+iYBZ g4/qb8dGHtw/gPirWWJ30Fe3AH8IFA== =DvZM -----END PGP SIGNATURE----- --7VkxxUl3xUvPtoxk--