Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1641670ybv; Fri, 21 Feb 2020 00:51:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyRzag7rSkAaBngrs7icU8mDfl40woAqZeUYDbU0eLJkcaQFgzoSJ+lILHPR5CAKgq/F3kd X-Received: by 2002:aca:fd16:: with SMTP id b22mr1087788oii.73.1582275089381; Fri, 21 Feb 2020 00:51:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582275089; cv=none; d=google.com; s=arc-20160816; b=rRpiT+cEQAB8hQYTB96bzEZq5h9FPRjmqr0sXEkNBJgZj2QsGcy/b9IrbU8yZkp8jM XguLstmPa25nkTAZrRh7cfjDMqOVBcc7CuH1GIlKFRUCXoC5xC89y9sROm3Za8ZSEv1N h/qFyt2Ps9iVRJDaiIW3y5oClZVvlQUdlGEKmrWmEHQ71HGXI7s2kkVW/VK8pRzWMGNM svEAgAVGav38n6bvSAjT/ugbA9BJvRH5ksrlxbnqw4vZMvAbbDfkcpd9eKajZMMZApvE YNoo/VI9+GeYlApt+SYmkQXz+0ra8eLMUZJLaL8NXo4RCvgT/oyqSNlAmwEMNfUYX7wW HFJA== 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=7b7itL5l6V/rBjzQ5OBUu9QenXsui5Azh6HozFoAP/E=; b=qSYBiAIeT20AUauXMMB00pZtYzQwJpIrN79vGDya4obf25Hm8d+Ctx/HjyEJ5vT+p1 wGHkt0M/rSosDUt6cSoj6z3hC4RebC092Ni8Y+UOUkIRY4120i9xVTU/VDgjJ5ZlbVOm 2lJ7mwojcAbG9VZhWtxmHumzPluv9SgWn1qy316BR1EN8nkbzt9/ZGFKRJQ4hLiafcZX +8iaKpKAyCgzH7lWJJTXHPUnyLoLAkUBdXGDFpTyfwmK6jzZZlHJhuEf8g6Pggtwv921 n3oDDOcaA9U4CpBVjkrPAbdeDgal8TdAup+sXA3f1ndwzmvr0uh8JAY0rodEP3WIk8O1 dnVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=m1j4tHqe; 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 k20si520191oiw.273.2020.02.21.00.51.16; Fri, 21 Feb 2020 00:51:29 -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=m1j4tHqe; 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 S2388860AbgBUIud (ORCPT + 99 others); Fri, 21 Feb 2020 03:50:33 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:34683 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730488AbgBUIuc (ORCPT ); Fri, 21 Feb 2020 03:50:32 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1582275032; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=7b7itL5l6V/rBjzQ5OBUu9QenXsui5Azh6HozFoAP/E=; b=m1j4tHqehjf5PPe7snDTRAPH72o13/1nlPygHMzC9jmFyrw7p+2n6HHDnzf8JVDNbMrZEGm7 jfeom/IAl23++rSlPWBoGjyRB7R1lguiT6C5q/lhLwVTT1uFGSgSFuWyHchAWiOsMYnlPjGA fTVOIsgAnA7BggV9fBONrLcK+bI= X-Mailgun-Sending-Ip: 104.130.122.27 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 5e4f99d3.7f386704b570-smtp-out-n02; Fri, 21 Feb 2020 08:50:27 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 673DBC447A2; Fri, 21 Feb 2020 08:50:27 +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 1DE64C433A2; Fri, 21 Feb 2020 08:50:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1DE64C433A2 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 v2 1/4] dt-bindings: Introduce soc sleep stats bindings for Qualcomm SoCs Date: Fri, 21 Feb 2020 14:19:43 +0530 Message-Id: <1582274986-17490-2-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1582274986-17490-1-git-send-email-mkshah@codeaurora.org> References: <1582274986-17490-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 Technology Inc's (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 --- .../bindings/soc/qcom/soc-sleep-stats.yaml | 47 ++++++++++++++++++++++ 1 file changed, 47 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..50352a4 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/soc-sleep-stats.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/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. + SoC sleep stats driver provides debugfs interface to show this information. + +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: soc-sleep-stats@c3f0000 { + compatible = "qcom,rpmh-sleep-stats"; + reg = <0 0xc3f0000 0 0x400>; + }; + # Example of rpm sleep stats + - | + rpm_sleep_stats: soc-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