Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1679237ybe; Tue, 3 Sep 2019 01:45:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8XzB6+pqCsmP+56oh7CIJelTvUCbrDQt+xxIjKliIFWGhWJK616wI8vVP56eTOboZDiAQ X-Received: by 2002:a17:90a:cc0c:: with SMTP id b12mr17070235pju.138.1567500340087; Tue, 03 Sep 2019 01:45:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567500340; cv=none; d=google.com; s=arc-20160816; b=0mgNg0A6nsmU9hLVz2ubCrUz/qj6T36rYx2K01/5evLpzBW+xdLNPuwJ8Hp3+HTh7o WK0n1dpcKy2i4ase20KwF6oHxwSwuNGp3KWcj36SpPEZk/ozw7I9FTHMjS+n8+yamkpP cJEFLYJunygEFXAh98o2aiE62f6eREJhCZ7cEFcaRZGXrCd0lrYXxV7y/TlwuOcX+0P9 MpnsRiohvIVxyQq6jSINaFJWsS9AIcY7OpDs4Nehop2TTXZqe9hjrBmuEnGJUBmyVR6/ Qo6BoX+5zHmmwHkIZ7/VO6hUBwWiaXWPvy8WFlE2NAf8DQdaZy4jKvhZIHYUlupzj66u Sklg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=WLuHpeDpS2bXw6IcM4jW4aPykAg/lq6GoGDHlJxcPG0=; b=nebWTKtqWRCCb5Csr4DX+3LxErlOBsayBOlPwLSKXH9rz4OYZi2Mkxk0cqN+dPmaNj bvzDHDLgXF8kIclV7Q++i6Yk5TIu4JomWFHpg25be6Ev1NP/MnGbyi3yl3mw9cyJ4QbK Ht/Blh54wK96ZbVLm+fSDb0seP9yVx4cvKBe3i5OBHEKLNwEtj3cffyxZzLYuNo1Vmup FodpqpD0WGvMsTJF7zb+YRFfoaebMc1d79W9vLjlfGJkK4K0B6xcUH3NDedG5S9aFurV BsJUlzmGyRDB6vzpiH7WcfXUXKcyori+6xGY27WBNeLJ6hOubSug+VA97R0n02g6NWaN ea+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=AMxBdtL3; dkim=pass header.i=@codeaurora.org header.s=default header.b=KYyFDWkN; 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 d37si14435470pla.165.2019.09.03.01.45.24; Tue, 03 Sep 2019 01:45:40 -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=AMxBdtL3; dkim=pass header.i=@codeaurora.org header.s=default header.b=KYyFDWkN; 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 S1728147AbfICIo1 (ORCPT + 99 others); Tue, 3 Sep 2019 04:44:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44142 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbfICIo0 (ORCPT ); Tue, 3 Sep 2019 04:44:26 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9A52B6058E; Tue, 3 Sep 2019 08:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567500265; bh=YuiLybM31Bk+gmnr2VNTbTZAla9U4l2MPe4lZBv0EOo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=AMxBdtL3ra39gRR94d0b9/rv9Fd13SSD6hzlIr2M5Udg+hZ7/DFxZ/nlX4yRy2Zwi WOxvB/ZHXGE0gwg10orF6k4zAxgAzzqIc6/4qlrp+2Lh2IAjWnl0lBuiri8DT1ufkY HDLi/OxVHkWwiJmfiauXEsw4mtVljUEEZW0IJxYg= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from [10.206.13.37] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 63DB5602FC; Tue, 3 Sep 2019 08:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567500264; bh=YuiLybM31Bk+gmnr2VNTbTZAla9U4l2MPe4lZBv0EOo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=KYyFDWkN5rhhNRASYJ7GoKb52HX+KWkf9sGodOd5H5GF2GggZzBCUzsmEobUg5FQA NIigv4wM/lzYF5pHVN1bXThpfW7W7fgfdVNfzKWzjzlYXmMekUlMKyclQQ6y/B6uTi csOVLws36jhUuGOpNY22YLmOFEwwrfL4mASTvmwU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 63DB5602FC 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=mkshah@codeaurora.org Subject: Re: [PATCH v2 3/6] dt-bindings: soc: qcom: Add RSC power domain specifier To: Rob Herring Cc: swboyd@chromium.org, agross@kernel.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, devicetree@vger.kernel.org References: <20190823081703.17325-1-mkshah@codeaurora.org> <20190823081703.17325-4-mkshah@codeaurora.org> <20190827223252.GA26039@bogus> From: Maulik Shah Message-ID: <6002b812-b575-85c7-41a4-2b9a200b4ff3@codeaurora.org> Date: Tue, 3 Sep 2019 14:14:17 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190827223252.GA26039@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/28/2019 4:02 AM, Rob Herring wrote: > On Fri, Aug 23, 2019 at 01:47:00PM +0530, Maulik Shah wrote: >> In addition to transmitting resource state requests to the remote >> processor, the RSC is responsible for powering off/lowering the >> requirements from CPUs subsystem for the associated hardware like >> buses, clocks, and regulators when all CPUs and cluster is powered down. >> >> The power domain is configured to a low power state and when all the >> CPUs are powered down, the RSC can lower resource state requirements >> and power down the rails that power the CPUs. >> >> Add PM domain specifier property for RSC controller. >> >> Cc: devicetree@vger.kernel.org >> Signed-off-by: Maulik Shah >> Reviewed-by: Stephen Boyd >> --- >> Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> index 9b86d1eff219..d0ab6e9b6745 100644 >> --- a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> +++ b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt >> @@ -83,6 +83,13 @@ Properties: >> Value type: >> Definition: Name for the RSC. The name would be used in trace logs. >> >> +- #power-domain-cells: >> + Usage: optional >> + Value type: >> + Definition: Number of cells in power domain specifier. Optional for >> + controllers that may be in 'solver' state where they can >> + be in autonomous mode executing low power modes. > What's the value? It's always 0? yes. its value is always 0. i will update definition to mention this in next version. >> + >> Drivers that want to use the RSC to communicate with RPMH must specify their >> bindings as child nodes of the RSC controllers they wish to communicate with. >> >> @@ -112,6 +119,7 @@ TCS-OFFSET: 0xD00 >> , >> , >> ; >> + #power-domain-cells = <0>; >> }; >> >> Example 2: >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation. >> -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation