Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4640556imm; Wed, 30 May 2018 09:10:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLlU/0QEytEXV18N2FsBpAaR31ZFfP78MWxYomN1YqHghxMwX5kt0zBb588nQINjqtcAaQc X-Received: by 2002:aa7:8084:: with SMTP id v4-v6mr3336796pff.105.1527696619552; Wed, 30 May 2018 09:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527696619; cv=none; d=google.com; s=arc-20160816; b=gOr6sc8c9MENjow1TsTikLY6RgTDv+HX2B1laStzD+ve0Y5KuUuTxFbybHZo44ApiX GBxhVSLvNg6YdUPa9CB2fU+BkhgmhOdjIQJDQUIpbfaBMBJQALmnyN8ZVP81f207Dc2H OGmtLib/IO/wPlz9wOGRdZY3DGhCvIc0hVDAzgn15lUChmYV8H6YwaYHbJNLxfz6LSx/ YMb0wXCY0PqmtzI9lFWq946ZQRNr9ZI+lazDTjqY4iDwga37uu+dRTO+7ThiXVl+rVRP NYLpARq3nOFYt5YkJxZZ9OlwxXLTJLxTWU8WhWcNh+H7qhQ+FExv0t08EIDYOuzfCXkZ eHUA== 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=AR0lImmaDZqzTb9aC/BK+viylZzZ11+Fk6GDW3z0uzY=; b=0mkjUN31SVg6w8hFN8pemw8wJbKl7Uie+tDraCytcslEjR5t4YkBMEnt32pMI7U5pk PO+M8k2RmmaZVTv6FRSA8oPrI59uMSXdR0r2o1myamjqtUIUU+KUPPxoJ1dUq3U0XXhy 0qvxXpwQg6QcLtKW29tNZVZwjxQFMiPppynKdl8rZTIREH3MfE2Y4PEKGUYcl2Wmo4/4 vY3jCAWjADK5Cst4k0vAFQYtuo2CYVBaTsM5M8hbSBTFiKHf3m69FqipuH+HZWHFIEh4 IJm2FLq9zsp2J0fNovCD9YRsF25RwelaDxZqS4ne/omKRDCYlzhM/l7b6HKYZrjDyZ4i /Cug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=Ex19PdBq; dkim=fail header.i=@chromium.org header.s=google header.b=BuWgTtHD; 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 p7-v6si33948843plk.293.2018.05.30.09.10.05; Wed, 30 May 2018 09:10:19 -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=Ex19PdBq; dkim=fail header.i=@chromium.org header.s=google header.b=BuWgTtHD; 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 S1753881AbeE3QJI (ORCPT + 99 others); Wed, 30 May 2018 12:09:08 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:40971 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753570AbeE3QJE (ORCPT ); Wed, 30 May 2018 12:09:04 -0400 Received: by mail-ua0-f193.google.com with SMTP id a3-v6so12867205uad.8 for ; Wed, 30 May 2018 09:09:04 -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=AR0lImmaDZqzTb9aC/BK+viylZzZ11+Fk6GDW3z0uzY=; b=Ex19PdBqvI1HCzib8NEUpwutPdWivoyXCLHc7BzWG8jqADeeP7JNpJ0BublaZDrCql +LofCvroyKYQDEur0lvkCCFknB6/JhuD2MqnsggsA/wpBeB622WL3ziZfiE9F0N4JIAg qhS+oFNNWTUhsavNnu72LIwqdkA2X2IhcKpssf7vyZfvczYznSpd7fjmZHfKREcRqqao KEmAL6BHLSej2RY7yvFmEbtQRdSJOa0t1hLRHB/vV7G4XWzHxYhab4IAhBmb5M2fHm1G nSyRQa1KGVWiKrdInDvaDScqjARV2I2+SHBtiA0j+xbBOfs8VAwO5RFjfAq1EEgdfrZy Jr0w== 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=AR0lImmaDZqzTb9aC/BK+viylZzZ11+Fk6GDW3z0uzY=; b=BuWgTtHDgio3I4ZdPnCHuBe97YEBAzErwD3Qw7nwoFafyostDrJ13dyaNrLxy333XF CrqQvcA5X0xs9V6EQeHq0er3kAbGEl0/tYXg+1jQcE5kWmvtDcYA5EwVzZcxulmq5sCF jrHZWRNRkD54P/5DwsxOZKOk7hfNo2oqDKctw= 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=AR0lImmaDZqzTb9aC/BK+viylZzZ11+Fk6GDW3z0uzY=; b=WVOKNUoLlFCxskWUsHK6secTS/i12dXUa3TsCy4t+NGcx78jjzoe1/tMyIBkY41FfX f8JxBfKe0jKFZrtl5AWp50w4tdkf0FvLGb4T0P5JWqurkVyXrJbOrl9pixg1AbOTuu2A q8K3qTnnT/AhGIQuZoXh2ZctOy5tpuKkCe/6zm6xYYwItMBKTkEPSZdD61dvYSddell1 fRc6dpbMQ9AfrOZfbcBpzYLstlu1f4ousUxv3L700Q6iTNWjYVPDHSuhK6GC5viXtD/J jJ/zlMZcLSgjtt+XVfXNhaNbVfGTDEUp43ewY8/vS7QXpCVNBaXsmqb1pNow6L50Zpeq m0iA== X-Gm-Message-State: ALKqPweosyd9utKiJIl76qQ9NIATPgtq7veuT8n+rmisLOlS05MJ/Dtx 8DdOYVR1ulM7WjMjNwGQhFV4vxLWc264VySHilCSrw== X-Received: by 2002:a9f:26a2:: with SMTP id 31-v6mr2171524uay.46.1527696543291; Wed, 30 May 2018 09:09:03 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:3052:0:0:0:0:0 with HTTP; Wed, 30 May 2018 09:09:02 -0700 (PDT) In-Reply-To: <20180530160744.GS6920@sirena.org.uk> References: <20180523154057.GL4828@sirena.org.uk> <20180523155617.GN4828@sirena.org.uk> <20180530093701.GD6920@sirena.org.uk> <20180530150241.GO6920@sirena.org.uk> <20180530154849.GQ6920@sirena.org.uk> <20180530160744.GS6920@sirena.org.uk> From: Doug Anderson Date: Wed, 30 May 2018 09:09:02 -0700 X-Google-Sender-Auth: lwX0FUiPiDqL4_EiXCLcVGEsYgY 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 9:07 AM, Mark Brown wrote: > On Wed, May 30, 2018 at 09:06:16AM -0700, Doug Anderson wrote: >> On Wed, May 30, 2018 at 8:48 AM, Mark Brown wrote: > >> > Without the core doing something the regulator isn't going to get told >> > that anything updated voltages anyway... > >> I was just suggesting that when the core tells the regulator driver to >> disable itself that the regulator driver tell RPMh to not only disable >> itself but also (temporarily) vote for a lower voltage. When the core >> tells the regulator to re-enable itself then the regulator driver >> restores the original voltage vote (or applies any vote that might >> have been attempted while the regulator was disabled). That wouldn't >> require any regulator core changes. > > It needs something to tell it what the new voltage to set is. The regulator driver has its own cache of what voltage was most recently requested by Linux. It can use that, can't it? -Doug