Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2351719ybh; Mon, 9 Mar 2020 04:15:21 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsb8Wv/SScqPqVprn0PuZKkNXqui6mi3LDpejnD0iK7SU2iGll8MwIUTqViLIJjhJpOGreB X-Received: by 2002:aca:120e:: with SMTP id 14mr10347460ois.135.1583752521343; Mon, 09 Mar 2020 04:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583752521; cv=none; d=google.com; s=arc-20160816; b=O2nDCMi2AY7VXiXbIVm0aBwc0E+eHW81ZftTIh1fep+UPJfzs1La5/AFOxx61c4yxt AyXhK6NWdcOl6SemeVl6pcrt71k1eb3+YHxHLbHZB6yyCroc3BHqoYFsxnlo/tqT8qQj KXwS8nhzgVbGDT/O4pXpTu/5Npd4A2bSX+Rbur06H/O0DWKQzrAIchnB+7vb6aHWUWUa HKq0j1M4pG43gHfY3tZLHrFaWOL9hi6NUQdR65f3c/3IPHNKD6KQTIOfQcTvkuIy98BX PMTxJCWnJ6upza2DgZytqTSLQWcbC4hEQGuu9e+N+l6EDDWQH4YgKf8cjZNWqL/nQoMH IPsA== 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=UBOFURm4ibb/cnoI9dEpQch9qApxzL8zn4xOLlpoH+U=; b=ERIfaEHKyuxajTwsqRrBUQINt7x4cmjnHpkq6w65pvVkkR/jXsoFrg5MQrVFQ9YyvJ dUPspfXmpMjpMbrujGoQRJ/aujoQPj9DT6Xg3wLIb8ZJuO0DScHpHJxR5I3pj3lHgZlC hVsvuoGG/bJRgyJtcIomgzxwfL9EJuiIQ55sqdwCszttwyuPpQg5iwPZDLNczRzhZzsY Ot2FQfCN+LtPiAwuC5e+4k8vc9QhxuM7I0UMeOxXuM7CTBiIiW55NZ+aC8qWp+lCU2+k +ujsGEzI8gT1aPfSyxXfjm1+kN+usrqOPTUrfVrLPkjo4RQeNqAPWLckbY+dpsBXuMfw JckQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=w7hBhyIw; 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 m11si5694597otl.297.2020.03.09.04.15.09; Mon, 09 Mar 2020 04:15:21 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=w7hBhyIw; 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 S1727006AbgCILOf (ORCPT + 99 others); Mon, 9 Mar 2020 07:14:35 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:38321 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbgCILOe (ORCPT ); Mon, 9 Mar 2020 07:14:34 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583752474; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=UBOFURm4ibb/cnoI9dEpQch9qApxzL8zn4xOLlpoH+U=; b=w7hBhyIwVg2uSvaJXAB6wstel2zMuurQEK1vezsbIp6L8jts3hFOel1JOJT02iZp0oyXdjzL 2oxPJhmmwO7zcAjcnbM0T46lvftkwXqld+9jWP/y1Tftd1lfYYdsjjEExvSQbXJqn2wvnAmZ KiTdvn/w9yxIjgYwCiopPK9pHDM= 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 5e662519.7fb70ba47bc8-smtp-out-n03; Mon, 09 Mar 2020 11:14:33 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A3A4AC433BA; Mon, 9 Mar 2020 11:14:33 +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 EC9DAC44788; Mon, 9 Mar 2020 11:14:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EC9DAC44788 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, Mahesh Sivasubramanian , devicetree@vger.kernel.org, Maulik Shah Subject: [PATCH v4 1/4] dt-bindings: Introduce SoC sleep stats bindings Date: Mon, 9 Mar 2020 16:44:14 +0530 Message-Id: <1583752457-21159-2-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583752457-21159-1-git-send-email-mkshah@codeaurora.org> References: <1583752457-21159-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 From: Mahesh Sivasubramanian Add device binding documentation for Qualcomm Technologies, Inc. (QTI) SoC sleep stats driver. The driver is used for displaying SoC sleep statistic maintained by Always On Processor or Resource Power Manager. Cc: devicetree@vger.kernel.org Signed-off-by: Mahesh Sivasubramanian Signed-off-by: Lina Iyer Signed-off-by: Maulik Shah Reviewed-by: Rob Herring Reviewed-by: Bjorn Andersson --- .../bindings/soc/qcom/soc-sleep-stats.yaml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.yaml diff --git a/Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.yaml new file mode 100644 index 00000000..7c29c61 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/soc-sleep-stats.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. (QTI) SoC sleep stats bindings + +maintainers: + - Maulik Shah + - Lina Iyer + +description: + Always On Processor/Resource Power Manager maintains statistics of the SoC + sleep modes involving powering down of the rails and oscillator clock. + + Statistics includes SoC sleep mode type, number of times low power mode were + entered, time of last entry, time of last exit and accumulated sleep duration. + +properties: + compatible: + enum: + - qcom,rpmh-sleep-stats + - qcom,rpm-sleep-stats + + reg: + maxItems: 1 + +required: + - compatible + - reg + +examples: + # Example of rpmh sleep stats + - | + rpmh_sleep_stats@c3f0000 { + compatible = "qcom,rpmh-sleep-stats"; + reg = <0 0xc3f0000 0 0x400>; + }; + # Example of rpm sleep stats + - | + rpm_sleep_stats@4690000 { + compatible = "qcom,rpm-sleep-stats"; + reg = <0 0x04690000 0 0x400>; + }; +... -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation