Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4556939imm; Wed, 30 May 2018 07:47:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlA7POH1uUxderr4s9NRU+V24IpdZbaD8lTgVu7XGyTZlfuDeDMrzVwClWXmqpE9CYQ6XN X-Received: by 2002:a17:902:aa83:: with SMTP id d3-v6mr3220802plr.323.1527691676962; Wed, 30 May 2018 07:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527691676; cv=none; d=google.com; s=arc-20160816; b=n0U4i0+Q4LYcxllnGNsx/KtmulIuJuVFeznNr87ajmzfIw3gApYgYy6W3DkF+ejGS4 DtDQHJtZvECZGGYiL0G5Tn0/BKcGQyWyPKzWRWasxJgI9kR7buSG8KwCkLxei/+ALAbD vXAyv0GsXaI5Nw3DkUFuW2uWwZlfyrxMaDEXVR+jCxSX03owI+IuzYam5UvGfdw45+Dj iq0YTFyabR0D/Ykehp8SMNBBn3nkTzUtpzmx7OBw0RQIQk/PdujcJ4ARZ8OkhytmYaI5 7msQ8Mi8wANvKVmY/DJ8pbQKJ3DOxRRwA8yGgQtZTSmuWlKmTWm7j2XMsmLbPiKB4HKB HziA== 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=StF3dX1TU+TV80enDkCLgT+buaYQlyNu+Lwh6Tc+0/U=; b=Q2CIK4aE1B76an0f6ogcsb10PsOlD3YkwLTnv/J1ZqV1sCwACmt3pCKTCu0UukmamM Q+uUK82ZHx7wF/y08qK+6AfRW8KF5UJrpOqpcz5pQ6YnfqvNupgJiO3k5UgG/TzjrYUp QZAiF0x+El3U8aN89rVv5rV3Ovh4FgczdMHcc9zn9+dB3WgoLHSJfD+jTox8u4BjQE9/ 7egOWGKKyd0zESh3iI+a/4OlhCgFXqV7ie6/7z6m/APxGLwn33+uZj8oHFRuNz2xQmx2 3ldUIrLSuVMmtIv2xiloOwRfaVi0jZnocB4ngHRRQ63kK7IkOEIpYjQs61oyw4cyTwRa w7dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=S2pv4ytm; dkim=fail header.i=@chromium.org header.s=google header.b=FhCxAYL6; 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 w189-v6si14013461pgb.431.2018.05.30.07.47.42; Wed, 30 May 2018 07:47:56 -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=S2pv4ytm; dkim=fail header.i=@chromium.org header.s=google header.b=FhCxAYL6; 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 S1753474AbeE3Oq5 (ORCPT + 99 others); Wed, 30 May 2018 10:46:57 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:44394 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753022AbeE3Oqw (ORCPT ); Wed, 30 May 2018 10:46:52 -0400 Received: by mail-ua0-f195.google.com with SMTP id f30-v6so10883067uab.11 for ; Wed, 30 May 2018 07:46:52 -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=StF3dX1TU+TV80enDkCLgT+buaYQlyNu+Lwh6Tc+0/U=; b=S2pv4ytmk9rKjpW8SmXwbGNNvWT0pj8SostHuyQl2RIFQ+EJXQMTnMEepIg3xR7AMW bwYoAeFWe2esNO1YRWFUeGh5eZ3F/SAPeghE77dh/rhrA9ml74GHsmW6+o5D9dOoZ5XL Vt6I4kDcgp/rvpEDVsqX9s2/3D/eJ2mgU53q8Rx3Fse7dGBIWlRbvz8Av6O7udYS2bw2 VxULs0G/ZpHWIE+F4tJU02BWcJHw+lzHOrdjs/cluxuqxhb4pwwncqU1NftppzCTEiYv iBb/Ynks10Vj76ziZN3n6Uk9ink+h5EUtd5p2rnWbKQbfCuagSPkHtEHpyw1i8IejWGS SxUQ== 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=StF3dX1TU+TV80enDkCLgT+buaYQlyNu+Lwh6Tc+0/U=; b=FhCxAYL6cxiM35J3fBsDPtdackYQV8WkzXc5X1FrjIBWfV1v+s0L+xTqE6qFFK48xK N/1UJL6EkMoyEZ1NsiTar+/gNo7iwZ7aCzot0Ak8znE/7GLsxHiiqkwVQlx/cExqFbjY dPXhf/JN2xVpavnWN9fKI2Gj5BgIWk+S/zeCM= 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=StF3dX1TU+TV80enDkCLgT+buaYQlyNu+Lwh6Tc+0/U=; b=eGqCZWJQS2tX2Y/UZmk1z0sQgeGVVuBmshn2BJv47VSnrINOXj6Gsz+K607//rScrx TfDwlyOPiwe8V2yw82Z6XQ9QRkwFVQxNn94TDC0Sm0I8z+d8klxoXq4DggbVYYeTmicA V0TSjbaWMAv9rXMwQt1NR4fIShkBTTe8Qa9F/bzB4AkRX8xwZRuNTdxHff8pXXNZyfVV H7/Rb4bYvHvBKziVtxDW+yxa5Xs411bqYgLlfJQjKBoI3G3zTcrs++eHwgnbLWD3+XHb 7zLpf/cGLoieT066LqigOOxpOmmLpgf3DuLH2WLX5ZjTgmvdiTVgYPVNIDcztjpD1oXX rMSw== X-Gm-Message-State: ALKqPwd5sDUyTExCDy8UubiXDSZQcg4s8n6RwMzP9dWqaP6cKvcD9XC3 fGmEgiCKAEmVSSOlpzFQpFiqK2UlxFYi4JLlscrfDA== X-Received: by 2002:a9f:3b9b:: with SMTP id r27-v6mr1854919uah.191.1527691611547; Wed, 30 May 2018 07:46:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:3052:0:0:0:0:0 with HTTP; Wed, 30 May 2018 07:46:50 -0700 (PDT) In-Reply-To: <20180530093701.GD6920@sirena.org.uk> References: <20180523082908.GB4828@sirena.org.uk> <20180523154057.GL4828@sirena.org.uk> <20180523155617.GN4828@sirena.org.uk> <20180530093701.GD6920@sirena.org.uk> From: Doug Anderson Date: Wed, 30 May 2018 07:46:50 -0700 X-Google-Sender-Auth: yThp_NbASaZBg1eIVACCFMGN8jk 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 30, 2018 at 2:37 AM, Mark Brown wrote: > On Tue, May 29, 2018 at 10:30:33PM -0700, Doug Anderson wrote: >> On Wed, May 23, 2018 at 8:56 AM, Mark Brown wrote: > >> > 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. > >> We're not really stuck with it if we do what I was suggesting. I was >> suggesting that every time we disable the regulator in Linux we have >> Linux vote for the lowest voltage it's comfortable with. Linux keeps >> track of the true voltage that the driver wants and will always change >> its vote back to that before enabling. Thus (assuming Linux is OK >> with 1.2 V - 1.4 V for a rail): > > That's pretty much what it should do anyway with normally designed > hardware. I guess the question is: do we insist that the driver include this workaround, or are we OK with letting the hardware behave as the hardware does? -Doug