Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp207175ybh; Tue, 17 Mar 2020 21:30:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv9xuFYUxZo4xlD9h/dbY+ydtG7rEZUb+SSohiICPS34SQyn4FQdbFD/11s+p64X/zwKu5o X-Received: by 2002:a05:6830:1db3:: with SMTP id z19mr2248079oti.270.1584505838378; Tue, 17 Mar 2020 21:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584505838; cv=none; d=google.com; s=arc-20160816; b=oyr72My6bHUasSN6H29gaHeMNMBfsbt67PIUpC6PCrpdAQ/Mu3QbeQRSnFqnW6hVDb hV/uLf2UNmq+52tOqrq74QGgiXmKLwsT/+WqA9ULWElhMMZymNe2qtHxTbCxFeIYKH9w tomClg6uUDcYWpqmVbNy0/LDxX72naVs+difjNT9MMOwHS9OEj/kRqyJNiAmhFgnEkZu cASPqYjaWoRF1DbC4OqZkioxDc/m8I/1oRolFk+vLOtGMPW85g+Pus7I2HVgCr4H2Vs/ zKGitPAPsoYEmpSjUG05q/FgipH0kCGcl2ts6EgWtGRkqDMC9MNEoYiAxZsc+eT57I3F uxzA== 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=3Qcb77LO+PaIcxlBezZLwP/uZKQFRiLh1zwDqVquM1Q=; b=PCbnHRkLmXMO3rQo0hu0f61H0YSeXXgCiGgtBX3RkBSsAvOzkiV5CYVxIpncUx5ouV tjs5qTciSEbTNlU5f9Wq+LSU3NJ0DmLT2CSUeAWiMMYH5ggsXa8Qzv3WLEYU0WvwC4aV WQpZ/+1lqvD78dOEXArWLA6FmNx5uV8Y5bwfj+cAhUFNU+wHVFxlNZjbjFxYoay5FfRK WMSKlciyMEaOJlF0PMCsUuqh5G8JX2JPbAqEtp1uo+p6N8QZmSna15cZVQBJ8tV5IVYr wwZG1XoFDGTk/0QclFyr5D2em3V6r++YCC3tBFgmn4R2F64lBF0rfSatOvUYfr/rseCq aLdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=kgQiMUq1; 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 e11si2834448oib.152.2020.03.17.21.30.25; Tue, 17 Mar 2020 21:30:38 -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=kgQiMUq1; 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 S1726824AbgCRE3z (ORCPT + 99 others); Wed, 18 Mar 2020 00:29:55 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:27244 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726553AbgCRE3y (ORCPT ); Wed, 18 Mar 2020 00:29:54 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584505794; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=3Qcb77LO+PaIcxlBezZLwP/uZKQFRiLh1zwDqVquM1Q=; b=kgQiMUq1mpvKro8oVTASvn/20shLHTin5odcJG/3gJMgx2gEHEMJpIwZbsfeM+WuTXd5q/2b lSvBiw5aTRXf7t6XRwsfEZZyUogj6AaPsfxGScmPQYt3JPSJs00a0MZ5+5UA7BAc1eTVIiG1 e1+Iv8xXMtat53hCgWc9oGtNRqM= 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 5e71a3bb.7fe347c04b20-smtp-out-n04; Wed, 18 Mar 2020 04:29:47 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B5AA1C433BA; Wed, 18 Mar 2020 04:29:46 +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=ham 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 18FFFC43637; Wed, 18 Mar 2020 04:29:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 18FFFC43637 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 v5 1/4] dt-bindings: Introduce SoC sleep stats bindings Date: Wed, 18 Mar 2020 09:59:15 +0530 Message-Id: <1584505758-21037-2-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584505758-21037-1-git-send-email-mkshah@codeaurora.org> References: <1584505758-21037-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 0000000..d0c751d --- /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