Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2690576imm; Thu, 16 Aug 2018 13:59:36 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzhaR5LQzEhouYsOSvr1ohN1RporRVJxMBzbFR6Rjpzt2HwfXpFvRJLAfDBO7xak7tmwcUD X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr30706168pln.261.1534453176855; Thu, 16 Aug 2018 13:59:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534453176; cv=none; d=google.com; s=arc-20160816; b=XLlMmW/zWTvf9MoSuUfHXL/CIJYxAQzZb9xO3immIcYiZ8wAvg3xYCdJ+mlVAVON3B kkNQMPhlexTXGA48Qf3Zw2ILKeOchmUQN7L2LZI6FkC1wdZtFqmUGqlEFQIUegYyLFiC Wnn1u+OtC/GI+fvBGvV48YH3IAuurDAgEKwWKP78GTkLMW2FXLOr/8xceqn8wpE2UxNq tS2e1RYA09FFIuKgZlUsOuMSEVzd5Io7j8L4Ervj3LYZTlCg5Es6pcYp19WKwx8bddDy bgvhAOq9rgVi8tYd998p2Ont45FP7WK7SwT7N7ywat4h4acBg493Frc2m9mXDCsXb1iH 6zOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=3Wz0+Tj7sMoSQNABGW69mDCHOAkhQJI142wSxxN7YJg=; b=S2itDuxMVOB8SV4sHW87j8e44SM9NTknhFTm8szHRPvs9GhwzYwv2uouD5C1M3FgwY 5pHp/Yk6s625gHyF1fC8XFD0sS9K4zxIQbtGVgC47ccwwlXNwVEZBh6tfr3YXoYfKEJ6 dYmqjVgtEFab996XN1gKbcGPXdlAFa9Nn4XKm+7GT7kLTjRVrfrkNEivdMVEO6R4XMeD 226z/r8k4UgQyMpkGLSrAFN5lrplT9thPrXMiDzzIxqsV4cy/5UFlvAAc9FuibOo+EyP COSiEQt6ktJTCPqT2fZ8j+JHXyI7R3anW42KzmqQ/8sEJNSqhQ+I+Fspkmu5ZBC5BRJJ lcyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ah+aku9p; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ah+aku9p; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3-v6si280756plb.207.2018.08.16.13.59.21; Thu, 16 Aug 2018 13:59:36 -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=pass header.i=@codeaurora.org header.s=default header.b=Ah+aku9p; dkim=pass header.i=@codeaurora.org header.s=default header.b=Ah+aku9p; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725977AbeHPX6v (ORCPT + 99 others); Thu, 16 Aug 2018 19:58:51 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43406 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbeHPX6v (ORCPT ); Thu, 16 Aug 2018 19:58:51 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6F0EF61C34; Thu, 16 Aug 2018 20:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534453092; bh=ubBp/smHnMBbWbzpZeKIy1gr2qo8ktuVXznjB8re7vE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Ah+aku9pVyIBh7RvQjuZYNosrXBB0KB6WboIrHhpgmDsy6pkOGTaeSaSZ+waMn6nB K+MQpIrSMX4/ZLXGpIjgnKO5egRhMTiF3juPPMFuQY0HOQya3Bdz9sWneW/80cWZUH FZGbZ2mQUitMi/7mK3Yp4XCuZSal3Kwe1R45DlVA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.160.165] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: collinsd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9C24761C34; Thu, 16 Aug 2018 20:58:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534453092; bh=ubBp/smHnMBbWbzpZeKIy1gr2qo8ktuVXznjB8re7vE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Ah+aku9pVyIBh7RvQjuZYNosrXBB0KB6WboIrHhpgmDsy6pkOGTaeSaSZ+waMn6nB K+MQpIrSMX4/ZLXGpIjgnKO5egRhMTiF3juPPMFuQY0HOQya3Bdz9sWneW/80cWZUH FZGbZ2mQUitMi/7mK3Yp4XCuZSal3Kwe1R45DlVA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9C24761C34 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=collinsd@codeaurora.org Subject: Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max To: Doug Anderson , Mark Brown Cc: linux-arm-msm , Bjorn Andersson , Stephen Boyd , Liam Girdwood , LKML References: <20180814170617.100087-1-dianders@chromium.org> <20180814170617.100087-2-dianders@chromium.org> <20180815111318.GY2414@sirena.org.uk> From: David Collins Message-ID: <037cd5e2-0d3b-c20f-a444-99087b86706b@codeaurora.org> Date: Thu, 16 Aug 2018 13:58:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Doug, On 08/16/2018 01:07 PM, Doug Anderson wrote: > I'll work on either adding more regulator_set_load() calls to clients > or perhaps disabling the "regulator-allow-set-load" for a bunch of > rails. David: presumably if we have a rail that we never need to be > on-and-in-low-power-mode can just be left in high power mode all the > time? There should be no advantage of being in low power mode for a > regulator that is off, right? Generally speaking, yes, that is true on both points. The only caveat is that there could be a minor power penalty if APPS votes for OFF+HPM and a non-HLOS processor votes for ON+LPM for the same regulator. This would lead to an aggregated state of ON+HPM when only ON+LPM is really needed. Take care, David -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project