Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp48111ybl; Tue, 27 Aug 2019 15:34:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPpwG0q1dBQz6hqb/aAW4zwB2c+97l1RnsJ03vQnbj0jC9GGBj5YFcLrHfpP33yIM/HeEZ X-Received: by 2002:a17:902:1121:: with SMTP id d30mr1246288pla.174.1566945248471; Tue, 27 Aug 2019 15:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566945248; cv=none; d=google.com; s=arc-20160816; b=H+AskPb6lUPM4LLEyq14La/DQGXrdrHwBpXoBbgFDU+tTUGKIaXQ4ooCZfYy1/UZVd G4bJhnOYNf7lDaBQ+GbOXpXGU0+xUigrwcUNmMp3cC+l7JnAB3EEGGQnNkkq0J5cIp7Z ABQXnI2uMIE10fsEaWyxWlmYF5z6EhI6NkG/E2Fup7qmrhL82uvvzjdc32/LecvelRxV 8+I0KRwiPCgaHo/gAdFrK6m5tfiHAvkPzWWwbpyVxiNnjVHtfATRRwuc8riIwuwRspQL 2aesWIleOwYzZgl/oyHJQqOF+QOJ3Na8o7PHohHqA9MB2IJkh9IOETr5oQFwtq3JvK+w 4EEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bG9bAPsPgtk0aXT02g27VLf1Saty2/UhvB2P1PQFez4=; b=roResxRBmJxDF5MYVIZVvgjqKpLAB3YaI29pkACmFgExJ/93RTq9ajcTCuuZIHYW7N e3CUwR4wABOFkB4F1ljpcpe5hHrz3QMg0ak8GDqPHqYZXmL5VSoICMkQPwLJHBf4qm2w a3O+KHaxKnbdpzA6vfWws+s+oFIbZC4K5JReFgaQQPDyCPgtt/rbwchCALhXbyHjBJAc qLdXNx4a9ywdk1sOkSH9MA+N3S7wY6oiwhoK0Ts5npLAFhuaoneWH1d2xV788l3sDQ2Z Di7RYszwTJhBLTJdX1bPdB6gTjhDBFQrlnJecjciF5CJB5GaICRm3YFcaEcwCEjlcwOl FQxw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si573544pfn.29.2019.08.27.15.33.47; Tue, 27 Aug 2019 15:34:08 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbfH0Wcz (ORCPT + 99 others); Tue, 27 Aug 2019 18:32:55 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43238 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfH0Wcz (ORCPT ); Tue, 27 Aug 2019 18:32:55 -0400 Received: by mail-ot1-f65.google.com with SMTP id e12so762450otp.10; Tue, 27 Aug 2019 15:32:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bG9bAPsPgtk0aXT02g27VLf1Saty2/UhvB2P1PQFez4=; b=lFh0XojkxV22fnbW+8yeuTFoncb0V58PwmV6D1R0gHbEE8Fnl/sk3qJJbNsDFEem9S IJgRLxQQenYX8WZAaUxPsCZHrsog3v12vAM+W6kzbyYl7/SRL6K4byR2nc0wa4AeBQsa 3+4DI+hppspWCQljpfstzZROzPbfC45xcc06SdhrATNNYp7cY5h7lVpXPWltFmHVX/0x LCpyitPHpzTv1Zhk8bNEZINSOoNKRYT0FDW3A7a68cM+WSRFzCBRSbel8WrVkrXtejPj +ARLIqx4jVTYuTfKRaeo5uL6cpwyKsp3tr3thFyLP2hmyZkg9DpoWHtWZT5yaGQe2AiY Xzig== X-Gm-Message-State: APjAAAUHLRa46OaVpnGKiPC+BaXrntNieNfbix5rma9DDcQd4sfoUbRq oW+qTEbiMXpYqTz3eXxSZUgLgo+FRw== X-Received: by 2002:a9d:6e93:: with SMTP id a19mr819140otr.29.1566945174143; Tue, 27 Aug 2019 15:32:54 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e27sm186531oig.53.2019.08.27.15.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 15:32:53 -0700 (PDT) Date: Tue, 27 Aug 2019 17:32:52 -0500 From: Rob Herring To: Maulik Shah 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 Subject: Re: [PATCH v2 3/6] dt-bindings: soc: qcom: Add RSC power domain specifier Message-ID: <20190827223252.GA26039@bogus> References: <20190823081703.17325-1-mkshah@codeaurora.org> <20190823081703.17325-4-mkshah@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190823081703.17325-4-mkshah@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > + > 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. >