Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp439149ybv; Wed, 19 Feb 2020 02:41:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyqTobPONq1t4JufrzwvkJH7H0Xt4SaSipazF5gTvksBPzlvYvak4BkIsnxYvcfkLFqNWL1 X-Received: by 2002:a05:6830:210d:: with SMTP id i13mr19136725otc.192.1582108875368; Wed, 19 Feb 2020 02:41:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582108875; cv=none; d=google.com; s=arc-20160816; b=UMDGkN8HDT74263VL4VcBbydTRPSYlhSdGRInSa8WxQ7MMVhIzMN0/8P+YSWp8o13X 10kFKrDef+sNddWvntQWDL6+Orfi2duPiBZwtx5Gc8xIg6e0pl23RWOKpxGZp9/yieTI zzxP+nuZiBhSk3VYQR9dZ7guE6U30o3VvrCp5M9g4HVeZ7JO6RPXg812DbuQnztTU3Cm EOeKjRZHj5TkEVb+ZhACOO/O0ryoT7VGevGRnbHL0hsShtEgcE/068cAHZynG8iLszOo HWWJTSL4W8+Lg4Vj6XWJkOJ4RcDDp5AGDgtPCYlv9S8yrMaE2GTHNxRxF4IRmEbXAuas fz2A== 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=m+SsMqk+RGxd+hw8dBrJx3lSAASFyjzQtx+MR+zMseE=; b=C5L48nB2N5nFhFGRrjzaqdrCHQL6szAzV2mJb8vDxRGWgMLZBeLHfQWGCMCjZwsu2N jXWnuj4zinyaL4c/9tVEWFjCnnleP/WriRKkyC0K2KwVAZyvzehTtwDkY0vWlPJgqzJD 9Htvy/uZL0AHi1GMacyRfl3UKPRY/HME11SqWyA6Fob8pNlbOfqfxZ/dzY+IJX5X0vxY HsFm6uDFXOprHKI+VxyTgW5yXF4co4oWz2lwGmE8GQJI26OqFMOZ6WMwtnc3Gdlj5vZj XwWVmZ1awbGH6RU9EDqdMKeETzygGGwGY90kPXMhRfn2NHLqq/Zll1GFbmCz8pkLbw+z +KoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=NCEDfSkT; 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 m4si881759otn.281.2020.02.19.02.41.03; Wed, 19 Feb 2020 02:41:15 -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=NCEDfSkT; 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 S1726789AbgBSKkn (ORCPT + 99 others); Wed, 19 Feb 2020 05:40:43 -0500 Received: from mail26.static.mailgun.info ([104.130.122.26]:51271 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbgBSKkm (ORCPT ); Wed, 19 Feb 2020 05:40:42 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1582108842; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=m+SsMqk+RGxd+hw8dBrJx3lSAASFyjzQtx+MR+zMseE=; b=NCEDfSkT0h9qQc0B9smfWhBZy8zT8+3Qz8HCDNhWhQATZkXVPFvNd+wpKUf1+jnnUHrWJL9Z WN/7binysaG29YZavnaqgtbS1EuUQZTuYCcqomcL5+aoiwEVrvA7L2HI704OJ+q5qM5+Q0NE D0c5ZdwyAx18R2l3jwqw9QffhSA= X-Mailgun-Sending-Ip: 104.130.122.26 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 5e4d10aa.7fa756c1a3b0-smtp-out-n02; Wed, 19 Feb 2020 10:40:42 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E7552C447A2; Wed, 19 Feb 2020 10:40:41 +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 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 D1C7FC4479F; Wed, 19 Feb 2020 10:40:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D1C7FC4479F 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, mka@chromium.org, evgreen@chromium.org, bjorn.andersson@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, Maulik Shah , devicetree@vger.kernel.org Subject: [PATCH v5 3/7] dt-bindings: soc: qcom: Add RSC power domain specifier Date: Wed, 19 Feb 2020 16:10:06 +0530 Message-Id: <1582108810-21263-4-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1582108810-21263-1-git-send-email-mkshah@codeaurora.org> References: <1582108810-21263-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 Acked-by: Rob Herring --- 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