Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp726148ybl; Tue, 13 Aug 2019 01:28:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHYo8amHuHV4S6XGL7mk11NZfhUi8QBcJppFM/8tzQ7cUDSVpPUS1RxqTLhDXK7at0ZoDa X-Received: by 2002:a17:90a:bf03:: with SMTP id c3mr1083773pjs.112.1565684880182; Tue, 13 Aug 2019 01:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565684880; cv=none; d=google.com; s=arc-20160816; b=Z1/4jSrCPboQZy096Ep3fY8GPLmno9VPwMEDxiG07j34jZTvTW7aFN3eTCFZ3Wy7il fGUxXDSFbi6NGu2FG39YcqgVOw2N71cIOGxOAptyutwlg2UnHhSQtLG5KNFojQqxP+z7 xTDFLfRvqaLyfr/nGimzpPnUS5PUHESjxhE1P6fJLz7P01CBVR9VjFqc5/K6BX6DRrRY o0RMPBWrXKeM7x47pcM1p244OsN70lvQf7KqEf7mc1oeINDTdIpSLetFTMNxC7q9ctmK dCII+GALc+0MlevmFUCN+oECY74kUzpF112iY0NmdIxahsbVUW95vamWIr04eVEA6233 hWNQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=zIt1qAdxND/O9hT5RVGeUs/I+YYpeiR3hmgT/YHaVt4=; b=tK6wGEVBhWMGy+O0XywecJlOr3STA91ukcohlV6XpaU0HpTO7s32pGlrH8caN656Bi pLXcVkSXKQBjHfxKZh6jkR85lDOPBWQn7F6wdct+80Fx4UwCC1reKDCgoeKLCMVNTjDD Qw5jPeGNmzSm0BOQz+VoOOdal0BGZVIV6tKUqzNmmnJRkVsH08G6w5CXWRVdwae5amsq +F0GflsIQhSwA0X5lEnMg8++O7pdxKAaAo0jHkDBmZd01WqsK6I1vDqfg0BLih+uXjzm m75jKtn7/FR/0+FgQrRzYe5Nv0LdL+SXo3L/UuFTjuZ+dgkRHwMzKTFiBuxqDFaB5QIM P8aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=TeOOay96; dkim=pass header.i=@codeaurora.org header.s=default header.b=frBfUD6b; 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 e5si61177771pgc.29.2019.08.13.01.27.44; Tue, 13 Aug 2019 01:28:00 -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=TeOOay96; dkim=pass header.i=@codeaurora.org header.s=default header.b=frBfUD6b; 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 S1728159AbfHMI0Z (ORCPT + 99 others); Tue, 13 Aug 2019 04:26:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49292 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727452AbfHMI0Y (ORCPT ); Tue, 13 Aug 2019 04:26:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8F10F609F3; Tue, 13 Aug 2019 08:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565684783; bh=xzOhyFf1Lb46S8iAihNlSdA4LL0HPldY24aFh3YUK0o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TeOOay96bcbwlqWp+6qJ6shCorX7S6h6RJKWfoaXikBl9vI399ZUn7MSJH7zGL1tp HxMvM7zDbl8BHQBXjEF9zaY4VcJSSSmlCGiPQCmsp5SqASOeFVQdpVXjOZztzh3Ie1 f5pJJoXBqL+DSFX8VZ8Rd11J5GIQKtjSsvdprcLs= 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 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@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A289760A4E; Tue, 13 Aug 2019 08:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565684780; bh=xzOhyFf1Lb46S8iAihNlSdA4LL0HPldY24aFh3YUK0o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=frBfUD6bqYpPrAXTVl7+FVgCxgJkq800lMJIBKph9xa7tOJKG9IUZpYDRyxYYiSl/ DGFC2vowty5hzFbo3sdYtaJia4K7iEgYyfOnzoHjn1uRQoNs+tjSAGkENMuP8cuJoy 0l872hgv7nLbRxWlzTBuz27/9hjrDRnQe371WGLU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A289760A4E 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 From: Maulik Shah To: agross@kernel.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, bjorn.andersson@linaro.org, evgreen@chromium.org, dianders@chromium.org, swboyd@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, ulf.hansson@linaro.org, Maulik Shah , devicetree@vger.kernel.org Subject: [PATCH 3/4] dt-bindings: soc: qcom: Add RSC power domain specifier Date: Tue, 13 Aug 2019 13:54:41 +0530 Message-Id: <20190813082442.25796-4-mkshah@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190813082442.25796-1-mkshah@codeaurora.org> References: <20190813082442.25796-1-mkshah@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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. + 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.