Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6543031ybf; Thu, 5 Mar 2020 23:24:28 -0800 (PST) X-Google-Smtp-Source: ADFU+vuqoDp4wYyuSD6Zy/7Bn4SyimREU9pSk+6o3CFkl2qmiv70T7/Ltshmj1mfh2bzpcfpeloo X-Received: by 2002:aca:a803:: with SMTP id r3mr263493oie.119.1583479468301; Thu, 05 Mar 2020 23:24:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583479468; cv=none; d=google.com; s=arc-20160816; b=FtU1Rndz5mRiVjibz8uufpEX9QxMkslUjfFSK8v7x8aYTYOttx+WaTbICFnWLHWaAF quNso+abR1MTKDcuux2hvNdkUDiuUypOq2F+exq9nfq8DVTmYvKu65Z460hIR1NAdktZ eWuOqRueUqH5EKYe3gv8uYGSN5h2rUWN08uL26NTgRu4StMt0ruS3RSyMRjjqLgef65A SHiv7dEprb5WmmZE+SiZ0viDjklQlWCf1ugjvjFWLNN3pNPqSY/kPgxyMSvlJ+8Vlmt+ mTQS/hA6V02QaA1iff5l+ggFQZZG6nn9atl9Gpp6nsRCY97Ub8YNVb7DoeTAhx5PbsVv zE3A== 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=zIPyasCQUV+O8Hv6DSi+KANBgzbXyBGXMQLjEWpriEkbZ0XX7jAkVWMu/UXecc4REW 2srWpyifgtGFFcinhzRb5IR+P81yg24joBlDUzDtrgtXpsvXdcbKtI0BWBwVDby4XNFC VSRfSn3v1bBivEfRuAvxuLPe2wniZOX4vjVmDPsDs0NH20HfZSYBYLXgJsGeMzSSaUUq gXZQgcmjuBzuxVvtC4ceYB2o8CXcUIGfYD7UfnEjLFno+q99vzjLkqueO78NH0Zt3if4 4MIzBn3W8k9nH797S9RyCDScpTIarHlcJAvJhFlO8XhqhibCZeiWf+NAsPC3C/6W7sA6 e45w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=iYyocD4H; 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 t10si873665oie.41.2020.03.05.23.24.16; Thu, 05 Mar 2020 23:24:28 -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=iYyocD4H; 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 S1726162AbgCFHYA (ORCPT + 99 others); Fri, 6 Mar 2020 02:24:00 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:56021 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbgCFHX6 (ORCPT ); Fri, 6 Mar 2020 02:23:58 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1583479438; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=UBOFURm4ibb/cnoI9dEpQch9qApxzL8zn4xOLlpoH+U=; b=iYyocD4H0bfI54549X9vFx5eTxkmK6B9cIEHmTfJEcQ1ID/NyRrnlEo+RxvRnZYtJI93/lFs 2L3nPGvrVLJy0P0C0e4G5QqHV1iqoZc3cjDGoXQ8N74+KUaMjzb8FmZfV28kY64XudpA9vnS cfm0HYi8bqz7pZsi4wpcx7JaSTo= 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 5e61fa83.7f6e3358cab0-smtp-out-n01; Fri, 06 Mar 2020 07:23:47 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 774A6C432C2; Fri, 6 Mar 2020 07:23: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 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 7DC8EC433BA; Fri, 6 Mar 2020 07:23:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7DC8EC433BA 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 v3 1/4] dt-bindings: Introduce SoC sleep stats bindings Date: Fri, 6 Mar 2020 12:53:29 +0530 Message-Id: <1583479412-18320-2-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583479412-18320-1-git-send-email-mkshah@codeaurora.org> References: <1583479412-18320-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