Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp344922ybf; Thu, 27 Feb 2020 22:38:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyzJ4YVF28TH0cAcVi9iBwtQANXhxlI3uTiK57580piQHu0t8tqbrP/w209ulxjPy2WkOmA X-Received: by 2002:a05:6830:140f:: with SMTP id v15mr2136685otp.218.1582871926013; Thu, 27 Feb 2020 22:38:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582871926; cv=none; d=google.com; s=arc-20160816; b=oMWDDiCn3N7fsUQ0P+N/5JcS2OTYd13i8bsnMFpl5XQxzS8c5W9ElAiWNaFXqgz/30 zwv2922Mm0b4Ve+J+JGXgyjjdxh1gmIWYOjjRBRrCtd/612miQ2Dju3CBSU2eGFxjzVr hBW9TlC2NBHE7PyIFzXMEzEgeDXVqVz5c6IiZma0f3ny9rhbE2lKEbGURo+6rQ5iRzqS 9L/VM53Cchw8If+2N6TXgqVoNBXRcVzek23Ji98DVxwW/yKgWwt/13f68hWISCJTQTqz FWIvFdiK+aV5+yA2wxRfRMvQ8sRSM4NuzDZgLho1uy169xrGhjGjHekJ2JloOERoz0Gl ZO8A== 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:dkim-signature; bh=B81jjG7Hk3J3frhk/XVj8Dy5/T3tme0LCbkoaSFMVc0=; b=bTtU8TCb33CiUBYzHorzSJnBJYzyCNPVGRGrvp4Tsl7ycie38suJYA84eFQR+GTrHt e3RJdWGQavGPPu22Z9zASR6xe0GUhGF2emK7S+tjyWrnmWgIFJmcFrFwRTclIEDgMMos jpEXBti/CE8zjgZd5bKcJTSnKPiYUZKwgtEwPOi1dC3jD/dKD2735cPFXU7R+S2hX1o4 UzK0sMpoE7YPrWPmxha6S0Xuo0Qa18AM89F5oaJ9bYhs6pcgJ3EdrjxcClCT3HCHGT5C 0r1c6l3SiK+W2z+Wv2SnLl5oMB9VaEjPYUtgsx/8oCVcDUGuo0mxcC91YnG9D02yV/CL XIFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zWhYv4ZT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 110si1014675otj.303.2020.02.27.22.38.33; Thu, 27 Feb 2020 22:38:45 -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=pass header.i=@linaro.org header.s=google header.b=zWhYv4ZT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgB1GiP (ORCPT + 99 others); Fri, 28 Feb 2020 01:38:15 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44439 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726561AbgB1GiP (ORCPT ); Fri, 28 Feb 2020 01:38:15 -0500 Received: by mail-pl1-f193.google.com with SMTP id d9so843967plo.11 for ; Thu, 27 Feb 2020 22:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=B81jjG7Hk3J3frhk/XVj8Dy5/T3tme0LCbkoaSFMVc0=; b=zWhYv4ZT3MiFrZuMf4/LLp/RUv2+5hBuXv04XwMHpL0c1pV11naD1rDJOevfSzviww ZkwkBC3bdMc3WIcgDGvWu5KPhj8b6tUfey2Bkx/v02w2HkX/7WYmCe4VwcNVB535fFwX dBjm5TNMUrNVu3pr58qM3BQspcDF7b//v58rhBSWhC93eQIOMNzaj8tczcpmkRHr6ayn SJQQy1ppDOHMATApTfEjO37NgUmzRfnC2/J5dcj6NVaqQyBkyiXHhx7SwDmqX1faFQqE CL3T0GeYkkj8t83Bx3H46Yt3V/0/yezv4tL87YggrX2gagqL5HE4m8FjOWIoWxiptKJK FfkQ== 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=B81jjG7Hk3J3frhk/XVj8Dy5/T3tme0LCbkoaSFMVc0=; b=gznc+xU4ji4w25bceGPmDDaEAN+zaxEOMK1n/+YeC9DdsgrWcOR5qSmH/TY7KxmDpJ ZgGupwRB9ggegYv/PdM4c2KZPRwSp9+xb/ElsVYnFmZXkCgb7SSUWeD6kWOZ8OwM8YfT +1rO4cGU1wI9ULozQcZu0weiEZP75GPprVTFABbg9i3mt25BXq5So+iW9uaT0+U8/Pqz ZQdn02T0JrTl8hdaUflmxcuS0S7U4niCfk+RM6CwbavQXDV1WUKVCmigoqqmRywmbdcn QQZQuAvNrSdiO9BdjvKIpDUohZmqP/dGnk34mwGnwtYbtVghJR+Sd5JGLqmG02uFdiXM zwog== X-Gm-Message-State: APjAAAXN/IdaWG5uf6TmtwrnfQYVP6wEi6gje1c9Wn+9EW2CvCsQC4Ij mzXT2YfsZGR/r/6SqoIUYbjkcQ== X-Received: by 2002:a17:90a:5d97:: with SMTP id t23mr3010033pji.61.1582871893597; Thu, 27 Feb 2020 22:38:13 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id m18sm8341758pgd.39.2020.02.27.22.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 22:38:13 -0800 (PST) Date: Thu, 27 Feb 2020 22:38:11 -0800 From: Bjorn Andersson To: Maulik Shah Cc: swboyd@chromium.org, mka@chromium.org, evgreen@chromium.org, 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 Subject: Re: [PATCH v2 1/4] dt-bindings: Introduce soc sleep stats bindings for Qualcomm SoCs Message-ID: <20200228063811.GC857139@builder> References: <1582274986-17490-1-git-send-email-mkshah@codeaurora.org> <1582274986-17490-2-git-send-email-mkshah@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1582274986-17490-2-git-send-email-mkshah@codeaurora.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 21 Feb 00:49 PST 2020, Maulik Shah wrote: > 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. > Reviewed-by: Bjorn Andersson > 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