Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3843141ybl; Mon, 3 Feb 2020 07:34:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzOmG3T4ko9tKXj4aus0/ce578W6edXTFRwcr5wJ7DWt5Nhm1cpQkgE0sgk/vlgroHmILsR X-Received: by 2002:a9d:470:: with SMTP id 103mr18210300otc.217.1580744057891; Mon, 03 Feb 2020 07:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580744057; cv=none; d=google.com; s=arc-20160816; b=G4Jl0a72JMX6+qXTQ8JoAmCglI3qpozfXW8E4RE8SVIEtvfRqa+fHNMIs0jmOebCGe JUf8GDybgdEuh+j7PAWehUn19GBUIzcu/I7FXM2gXZ7WyBY76ShI724o9z0r/+YE11zQ WkaHJGS+e92lG5dkLP3upFS9Nf8n2aid898NyIOljczOvBc4FPhUPXTZlKO9B30aAHuD JXEgAqGbwLI8OFF2yh0Z4bcpq5qcvBgYDzCH20qM8UnO6IXnu0UBNJK6yxeSZeuqBSG2 0y1SAts3JajrHQqt3pGQjigWRzxHzDGcUKGg1f9jO2Fn5DvWsJ0Va7AlV+AfiNEcKaii 6Eeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature; bh=hzVPZL4VtKtArOeylhakFEa12U0ksSDJ+F88Oy/mtJc=; b=rK8yMr5ur3KZU4YiFYmaCEMHn8XpJgH4c8az2YtR7D6rajTVhMjNCBWdQjqoRLSaZr hx03+E+uSVphBiRUm8JAokS1W8y2kzEGRuEi4rnnfkp56kPA5lltdhC3kS309RUxab2y 0mRsVS8Ay9qZQsXMMQrUQSEBJsrKwBUOAla59t1WrgIZ6yi7Q+u7woL0SIdtMmzmtYD7 HABeOEhlORFkdn9wep/cwB5flYPZSGtjOrcuRp8rnm725phMY4uuXSwFEqsrpQ31apcm D3BCILfkcjVWjRg7xdhIuOabDm6VaKUzovs6jpzXmuA11FN2vMwNvjq3SPhDBxGFhZrw g2JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ulF8OvZY; 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 v13si9702703otp.273.2020.02.03.07.33.29; Mon, 03 Feb 2020 07:34:17 -0800 (PST) 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=@mg.codeaurora.org header.s=smtp header.b=ulF8OvZY; 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 S1728015AbgBCNhX (ORCPT + 99 others); Mon, 3 Feb 2020 08:37:23 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:10661 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbgBCNhX (ORCPT ); Mon, 3 Feb 2020 08:37:23 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1580737042; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=hzVPZL4VtKtArOeylhakFEa12U0ksSDJ+F88Oy/mtJc=; b=ulF8OvZYwgLqSHzc2RlCZ96HgdW2jxgRhfxNW+wpfx6WydSjRRAZUOWaUrRqI8Tfwl+gs+VY +t2aDv6VzR4Z8wfe5241PAu1AOun0buR20dxyWhmnGKpfkT1pmIAT/QS4MqNqWZydYbkkMc+ DhQ7XfoEZpX4bTBftjd4heX2Vh8= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e38220e.7fd29cc8ca08-smtp-out-n01; Mon, 03 Feb 2020 13:37:18 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 19FF4C447AB; Mon, 3 Feb 2020 13:37:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mkshah-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id E6471C447A1; Mon, 3 Feb 2020 13:37:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E6471C447A1 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mkshah@codeaurora.org From: Maulik Shah To: swboyd@chromium.org, agross@kernel.org, david.brown@linaro.org, sudeep.holla@arm.com, Lorenzo.Pieralisi@arm.com Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, rjw@rjwysocki.net, Maulik Shah , devicetree@vger.kernel.org Subject: [PATCH v3 3/7] dt-bindings: soc: qcom: Add RSC power domain specifier Date: Mon, 3 Feb 2020 19:05:36 +0530 Message-Id: <1580736940-6985-4-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580736940-6985-1-git-send-email-mkshah@codeaurora.org> References: <1580736940-6985-1-git-send-email-mkshah@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt index 9b86d1e..5682806 100644 --- a/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt +++ b/Documentation/devicetree/bindings/soc/qcom/rpmh-rsc.txt @@ -83,6 +83,14 @@ Properties: Value type: Definition: Name for the RSC. The name would be used in trace logs. +- #power-domain-cells: + Usage: optional + Value type: + Definition: Must be 0. 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. + 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 +120,7 @@ TCS-OFFSET: 0xD00 , , ; + #power-domain-cells = <0>; }; Example 2: -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation