Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp978074imm; Wed, 23 May 2018 08:24:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqbwvZWJmtgZkKQHs9bUbEYqp5UJwTWeV0pn76zKRLaehMNi5/kl61oV5F5ji5s78CrKyy+ X-Received: by 2002:a62:9515:: with SMTP id p21-v6mr3350621pfd.62.1527089063847; Wed, 23 May 2018 08:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527089063; cv=none; d=google.com; s=arc-20160816; b=CUDPLWeGYX+u8Xu9zsSs1s4MVOWS4lah9AkENjaqapx3AM7pzDH2lrkMlgvCXlCNu1 Z3xctiI5plCwTKeGE86fx1xpnMMFkwyQdCcw1A7Fn53LB/h2H6riZa4kkJIBV+CrjKvw ohKA2wakFVzOYglic/F+cipwa6/neWkQXfUuEY7OZ1zd+m8cSgwgdLX6gNch2czcF/zk sHRJLEimMWoVUMF/2NOXlViu62igqAduaZ/SaFHs1JaInUA8dV18Cfn/8FVte5Flk2Cl zHF/7E6PGWOKr4svYVcDpsB2xK16Hai6t6lBNHSBEDjJcYyer1ZI+s3Au0b03nfV9zhh 0EoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=eNnaYYOk7au2d9ZrT0f0/6LXwkLx6i0cbNd7udGEpQk=; b=gJEJEhVjH51WPJXb/rUDAdhW3OI1jrn1MT5MDSV++70PWIoifRP29A/+TAMWxTOTuo +vpZlgV9JEev24vzag0SZxboGQpGiQ7rwgR34zPsdoql63FPA9bISrhXj8gNGY7fDJUU j+c9kiRcvIlk1CbTB+ufNu+V5WKER1DKCZcSeTNBc6NT2Qzc0o07p4KUvUHy9znd9CBQ we7P3X3TtBJGtuUsg0Dg2eqcmIESQdh9zktLn40oVqJO/szou8I6S/xXxxg2gnNObp50 pAI2SEuCRLAxyzlDGvaIa4vtnZQSAk/fSVP5knExwstH+3KdXEwG+t3Sw+jhrMKW1yTu em3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=pyjUarGe; dkim=fail header.i=@chromium.org header.s=google header.b=HJ2l6UeM; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w68-v6si19465451pfk.14.2018.05.23.08.24.08; Wed, 23 May 2018 08:24:23 -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=@google.com header.s=20161025 header.b=pyjUarGe; dkim=fail header.i=@chromium.org header.s=google header.b=HJ2l6UeM; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933532AbeEWPX3 (ORCPT + 99 others); Wed, 23 May 2018 11:23:29 -0400 Received: from mail-vk0-f66.google.com ([209.85.213.66]:36780 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933165AbeEWPXY (ORCPT ); Wed, 23 May 2018 11:23:24 -0400 Received: by mail-vk0-f66.google.com with SMTP id i185-v6so13375314vkg.3 for ; Wed, 23 May 2018 08:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=eNnaYYOk7au2d9ZrT0f0/6LXwkLx6i0cbNd7udGEpQk=; b=pyjUarGeXjJxYWIVCUfh9RWyuhtkRtGKD8NbthB47Uo/lt18vk5kea/QlSCGX9H0Cy QiVMLPzpaik2KXD/K4HsJXeYlIkv1gbBriNzmkqQcicX/Gqkp8k9OdlImNOV85Aqu4Am NB48dUDFsCw/TGPLZInDHkwZx8yBwrXNBIT9pmQBrIWxBgZ4PzFWghfAtSnOqhtoruYx ribsjIYI6sZ2tpNnrgP1/t8b+spn/FJ4lGKU1SUx2JHh/dJwCzdIZ1x+VIncpQqKL+RQ 7D8XPJWTmnGg49gpVAoc9772Ksvu6KtqKei5/aWIDTn93bk3LcaK4me/dKo61OW2Uw5X 7PGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=eNnaYYOk7au2d9ZrT0f0/6LXwkLx6i0cbNd7udGEpQk=; b=HJ2l6UeMPedlnVagMyMV86TfRrIMdJwPthL6dcX8fD0qeLLY1U7FUCZjosLGdobLEp 5fX05pXEXnvWZii2SHRPb3/QN3CTUk9ijxQSk1A4VpUApSpkUgHKBWUIEzVWjtYFAPKX U7QjjB2pL0NBYak4qeivt35oeetL4w6nluH9E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=eNnaYYOk7au2d9ZrT0f0/6LXwkLx6i0cbNd7udGEpQk=; b=Qnk5zkgvLPoiOG0K8E/+OBcsKi5EslnXhki/2lOe19/4V9XwouFJf0mLZ7LXKNiJsL VBJEaEzWwV7ahUxe/iOG+nxn6DpfgJH4aD8RayNKyNGRrNXHrR+4dLgxJOQoeE71OWXm bYmPsKF4jrtZ1hSgab1fp+EO5sMsbzYZiWAhCYRC7Xx9WEk2A0zJBUrfQgM9xFitZqCH tZNgPlP8ELKnIzTxHuO7DJ1JUrUvfuGKqLf7cktBGO3PN7FVKUULggdbqJe24V/5AIMB yDFlaolOzw1IUfO6eU34h7gt0fD+SVVs/R4HXP8S9Gim4afrtiibFoIHEqfYnjfb96gJ eq+A== X-Gm-Message-State: ALKqPwdIh560aAIo8QPj2+5ER3XnWrmvD3ibpg85q/7iL+vJgwxGesBQ ZeNPjIZg1kmbpCE5V6+t9d7VULURvCpWt3XnREA2nQ== X-Received: by 2002:a1f:1e04:: with SMTP id e4-v6mr2034947vke.117.1527089002803; Wed, 23 May 2018 08:23:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:3052:0:0:0:0:0 with HTTP; Wed, 23 May 2018 08:23:22 -0700 (PDT) In-Reply-To: <20180523082908.GB4828@sirena.org.uk> References: <41d5df73ddac772551d2966e0752bb0c357b1ded.1526088081.git.collinsd@codeaurora.org> <869aad59-1cc5-28ef-1fb5-4ef846696c40@codeaurora.org> <20180523082908.GB4828@sirena.org.uk> From: Doug Anderson Date: Wed, 23 May 2018 08:23:22 -0700 X-Google-Sender-Auth: 44I7_IIcAIQc9zdXNWzhNt1k2gI Message-ID: Subject: Re: [PATCH v3 1/2] regulator: dt-bindings: add QCOM RPMh regulator bindings To: Mark Brown 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, May 23, 2018 at 1:29 AM, Mark Brown wrote: > It's arguable either way - you could say that the client gets to specify > a safe range at all times or you could say that the machine constraints > should cover all cases where the hardware is idling. Of course RPMh > is missing anything like the machine constraints (as we can see from all > the fixing up of undesirable hard coding we have to do) so it's kind of > pushed towards the first case. OK, fair enough. If others all agree that it's OK to make requests about the voltage of a disabled regulator then I won't stand in the way. I guess it does call into question the whole idea of caching / not sending the voltage until the first enable because it means there's no way for the client to use this feature until they've enabled / disabled the regulator once. If you think of it as invalid to adjust the voltage of a disabled regulator then the caching argument is super clean, but once you say that you should normally be able to do it it feels more like a hacky workaround. ...but I suppose that's what we've got to live with... -Doug