Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4619328imm; Wed, 30 May 2018 08:50:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKv71smo2Ia/QQ9gOBWB/Am0NvY1oIhxoRKk/2J7QWeENE10G5D3gPiyVBAocH+xxVRtsAg X-Received: by 2002:a62:4e07:: with SMTP id c7-v6mr3270263pfb.149.1527695415292; Wed, 30 May 2018 08:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527695415; cv=none; d=google.com; s=arc-20160816; b=aFfRjBTUANU1rGVMOwhiZZ3MUmXa+i2s7axmV/0ONjPrCnFZwvKgkrettN3xZf7QFU ZvZ4ujgD63UIfNoeSOgqO3iTiQ4nAdGT3kEkZBzKYRDS7GW98jaQcr5mezY1LiEKlLpd vqAcvniRYpZAP7jL9BU+4UwcQZXBZXthPS75OFdVKDdnq20cgZio2LohGZ5XwUeZUxbE PWg+CFO5oH/WLrYWT1nhNJWiXc/hDWiJYhADdsauADDgNtMuEJof84p0asVA6A+CaScq xuEh/auaJ1w3h4874Vqb+CTQkNz55tUoPgHvp1OjcA/GGNA5KPcW6mRKrT6p74VG/Tdk KRjQ== 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=hYuhC3XD+GXYihpOZKHx//bHgDwCuKXQHU4Ln5BIsW4=; b=TV6+MNpnWwUytW+RT3QdfLiXMJ9YUZsf9kezwCuHSlQRY/yUELt2Ifj4WoMlrFmBFR 0460/1f/ljqcj3Gj5tTPi8IQ5hnoCFDvHyKcpkE5Y8hMttCVqY6mWSZ5tbiFDKLP0W5z j5U8VSw8E1dMGzLWioAxYNarN6MocbzijTC2o+EEmq48up7gVO7cx/S0y4GcKVnp5LHn r9v1B7Qei3Nk9AyKx78/hLBRjeU/H4o4SIv8ZG64XPSe9LWoSrSwwz07cSTwQsQylF47 ZEeM5v7Y8ZfvazgeEpIsM+eIRHMhNVkb5UpCMZs7M2wewfDpM+aQnp3uq14zVy32a7Y5 dkXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=rg5NAo/7; 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 x4-v6si33364042pfm.110.2018.05.30.08.50.01; Wed, 30 May 2018 08:50:15 -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=rg5NAo/7; 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 S1753722AbeE3Psz (ORCPT + 99 others); Wed, 30 May 2018 11:48:55 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56206 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180AbeE3Psx (ORCPT ); Wed, 30 May 2018 11:48: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=hYuhC3XD+GXYihpOZKHx//bHgDwCuKXQHU4Ln5BIsW4=; b=rg5NAo/78iN7IhccPcsnGUgRZ PaIP+ybibRHFhOmGLJNafhehy4XpLFWRoFVt0ZvvHQo9DWDCfdp091d3iUqPN8UKUC+FrgBDaSW3B QP2vKAOsVqif9r9s4j1JY3/wH1mtBOSUr3KwEDr5ggTS/RGiLEl5gDXnu++B//7JbG/7w=; 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 1fO3LF-0007TV-KG; Wed, 30 May 2018 15:48:49 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fO3LF-0007C0-3d; Wed, 30 May 2018 16:48:49 +0100 Date: Wed, 30 May 2018 16:48:49 +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: <20180530154849.GQ6920@sirena.org.uk> References: <20180523082908.GB4828@sirena.org.uk> <20180523154057.GL4828@sirena.org.uk> <20180523155617.GN4828@sirena.org.uk> <20180530093701.GD6920@sirena.org.uk> <20180530150241.GO6920@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vIXBmblrD40XNCy4" Content-Disposition: inline In-Reply-To: X-Cookie: Don't get mad, get interest. 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 --vIXBmblrD40XNCy4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 30, 2018 at 08:34:50AM -0700, Doug Anderson wrote: > On Wed, May 30, 2018 at 8:02 AM, Mark Brown wrote: > > What you're describing sounds like what we should be doing normally, if > > we're not doing that we should probably be fixing the core. > I'm not convinced that this behavior makes sense to move to the core. > On most regulators I'd expect that when the regulator driver says to > turn them off that they will output no voltage. The reason RPMh is Oh, you mean while the regulator is off... TBH I don't see a huge problem doing that anyway and just reverting to the bottom of the constraints when everything gets turned off since we have to see if we need to adjust the voltage every time we enabled anyway. > In any other system when Linux disabled the regulator it wouldn't > matter that you left it set at 1.4V. Thus RPMh is special and IMO the > workaround belongs there. Without the core doing something the regulator isn't going to get told that anything updated voltages anyway... --vIXBmblrD40XNCy4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlsOx+AACgkQJNaLcl1U h9DtYAf/d42wzL/BwC0ZoU87rcBj1tg5JnI3JXmEjk0TAEr8Mr9X26kTgvNDN4he sfj0TCQnt106iCytS9vuq13r0vc0N8a73zACI9rBL4AFN2r8/KqyjfG5iuD1IYUf eEAlJeBHT5jL8EJOiBgq2z+8n4jIPNnZdK/A8kanILTb2D0yU9LmqXJaLCquSBef d3otBG5MHDZNmBvemCG07/dvdvwHHmOZu/QAEsxkqP6cuqw+phTpVrIc2+40lHJk QfVj28IYFDxNf3viq4W606P0LE0BtP3pwjhFyKUj6CdLFzFli+EI7lXBuvp1q3UB eEWC9xQb5Fw2b4Hj5h+RS6hFhej0mw== =hSKi -----END PGP SIGNATURE----- --vIXBmblrD40XNCy4--