Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2211999imm; Tue, 10 Jul 2018 15:34:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcqpkiVMz3GYbLpDZGWzWpLVqKfcCYDVWJ0DMu8ON+B/CUwdjWgBbXELSWCZipfDrHyg8M+ X-Received: by 2002:a63:7252:: with SMTP id c18-v6mr23758421pgn.186.1531262049751; Tue, 10 Jul 2018 15:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531262049; cv=none; d=google.com; s=arc-20160816; b=pfNBrpLIcZA8pLPvIlKCsckCvZlrgN1bg+CTcN8qXOLoIJ4wmX3ca5WJNCYGbCmkBk zpz8fJv9FnqHP8pZdImZBqzuUQAkZ65KMvqQKAs802ofnGgCnWkX/rIjLbIsHVMMu2ag WmIzQnyJc8ORbBlJmA+fx5NLUfgVpO2ll/HXWBfU9olxEvzbGSC9C2bpteJmzBGpWE17 SdlzjHzCpRoDYdL05JVWswDdsVZ/LMWVaJq1adnXJFjMwifAx2ljX15hDycMN5Xt9Gfd t2XbmZlhoRkaZOQm+z2nK3hlguRhhlsYnal1IHljIhO4FOrap2EWVbNDPEyFl7+KGzgL y/Kg== 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=lZ3Mw9tsmbeZrbJPHjfX73Au18pRd6Usp0gPU39z9ts=; b=l90IlaymMjSoUU8qilkn57CQ1OZ+ZidLLfAZn8XYHOnIXpRKyYrc6/im+QXBGqI7m2 SLbhlpQFYsgqvr29mZ9+tdgln9ZeHw59BOzqGylNuzwo1fVKcg2w7WLke62Jlz/XXK3E igHHzOeeFoFT0qUKVYq6Zw4emIxIcM2VwpQkZe+KpdY6WtFWz7IwK3T1K1aUuMSBtG1f E/P9vAnFS4SEvtIcAHwtXp9JhpITDOoKcAVECOOmtDqGqDeaGaIqz4314LUgdvH53JyA M1zGcI0K2DdR8e6qv+z++oMEmbN3mRWwGy/r1G7szQ9slhUWEpk3AdQGdxEVv+somMS5 zzUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=S+46w3MB; dkim=pass header.i=@codeaurora.org header.s=default header.b=YCzQPzmy; 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 t66-v6si19456219pfg.292.2018.07.10.15.33.54; Tue, 10 Jul 2018 15:34:09 -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=S+46w3MB; dkim=pass header.i=@codeaurora.org header.s=default header.b=YCzQPzmy; 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 S1732666AbeGJWdZ (ORCPT + 99 others); Tue, 10 Jul 2018 18:33:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49028 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732264AbeGJWdY (ORCPT ); Tue, 10 Jul 2018 18:33:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8E33B60B3C; Tue, 10 Jul 2018 22:32:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531261933; bh=3p1kNccCejyqLE7T2cmrT/bytNU84C5uAKIG15ba12c=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=S+46w3MBCJyHR504DqSm2laG+3DaeNG1UTTtpeoNbTqu24r+mRAEjE6VQDrAkMUpU rvbsd1+NGn+Uf3QnHScvY4t0LhqUTz4aBv4+aZ19FdjxJmdULkLactUak2Uu84errO a/RpLAb3gEaCU8T+Ps24jzVI+8KMFlva0yjn663o= 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 EC7C6601CF; Tue, 10 Jul 2018 22:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531261932; bh=3p1kNccCejyqLE7T2cmrT/bytNU84C5uAKIG15ba12c=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=YCzQPzmyoGGbsgdXDGRbLzcEEX2LoimAfaf+pqgTTC5ecjFYZ+AAG7wINEnWSykwc FX5ZY6Kjinqpp2DW5vDF/7Nbg0bSDSA/TXHyd/1SfCefH7S1GAr5ENQ+wVqBcdN/Zk WvwIALkdByvAH3AOMVTiHGn+e4mjaljwnxoO34wg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EC7C6601CF 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 2/3] arm64: dts: qcom: sdm845-mtp: Add RPMh VRM/XOB regulators To: Douglas Anderson , Andy Gross Cc: Bjorn Andersson , swboyd@chromium.org, tfiga@chromium.org, Manu Gautam , Vivek Gautam , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Will Deacon , Mark Rutland , linux-soc@vger.kernel.org, Catalin Marinas , linux-arm-kernel@lists.infradead.org References: <20180710220202.116404-1-dianders@chromium.org> <20180710220202.116404-3-dianders@chromium.org> From: David Collins Message-ID: <0d334051-2ba5-075d-df8c-affe3e617e8d@codeaurora.org> Date: Tue, 10 Jul 2018 15:32: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: <20180710220202.116404-3-dianders@chromium.org> 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 07/10/2018 03:02 PM, Douglas Anderson wrote: ... > + vdd-s1-supply = <&vph_pwr>; > + vdd-s2-supply = <&vph_pwr>; > + vdd-s3-supply = <&vph_pwr>; > + vdd-s4-supply = <&vph_pwr>; > + vdd-s5-supply = <&vph_pwr>; > + vdd-s6-supply = <&vph_pwr>; > + vdd-s7-supply = <&vph_pwr>; > + vdd-s8-supply = <&vph_pwr>; > + vdd-s9-supply = <&vph_pwr>; > + vdd-s10-supply = <&vph_pwr>; > + vdd-s11-supply = <&vph_pwr>; > + vdd-s12-supply = <&vph_pwr>; > + vdd-s13-supply = <&vph_pwr>; > + vdd-l1-l27-supply = <&vreg_s7a_1p025>; > + vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>; > + vdd-l3-l11-supply = <&vreg_s7a_1p025>; > + vdd-l4-l5-supply = <&vreg_s7a_1p025>; > + vdd-l6-supply = <&vph_pwr>; > + vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; > + vdd-l9-supply = <&vreg_bob>; > + vdd-l10-l23-l25-supply = <&vreg_bob>; > + vdd-l13-l19-l21-supply = <&vreg_bob>; > + vdd-l16-l28-supply = <&vreg_bob>; > + vdd-l18-l22-supply = <&vreg_bob>; > + vdd-l20-l24-supply = <&vreg_bob>; > + vdd-l26-supply = <&vreg_s3a_1p35>; > + vin-lvs-1-2-supply = <&vreg_s4a_1p8>; I would suggest not specifying any of these regulator parent supplies in device tree. RPMh will be enforcing all regulator parent-child dependencies. Therefore, handling the dependencies in Linux is redundant. It will result in additional RPMh requests as well as more time spent in regulator framework calls. Overall, it will lead to slightly lower performance. Note that while specifying the parent supplies results in less efficient runtime behavior, it is not technically wrong so you could keep them in place if you prefer. Take care, David