Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2305381pja; Fri, 19 Apr 2019 11:39:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqya5HJXKAmqE2WZUyxrKqbjCGnRee74iTe1rvu/RDFfXdkNaR8OTY1FJJzoKSx7b9gYUkem X-Received: by 2002:a63:2b41:: with SMTP id r62mr5284165pgr.403.1555699175605; Fri, 19 Apr 2019 11:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555699175; cv=none; d=google.com; s=arc-20160816; b=hjCTIlUVwCxCt+mQTdeBXvhZgSKk+oZtvtSc9TEWEL2OLfbO1tWd9fHZZ9VA2Fyu5I F13k6MGpwilqRhKEvceGpyPQtSvEbNKdiUgbcMQRaZmgu1mT5fO3CN5UafILG2PYeb1i AfddNMyZHbEId8HT8/0PD1fYGlf641zBBEF0kLQn6uh0zmKvKM26wxmCPTPK3cAcE5rG Jp8KQMt1wwcxeuQyia6nn2ocF+FZFXt2Qr6Q65UywyU0Pf3ljuLOU1x5h+f/RGVuW5M5 4+L7UMxmkW1nccSUlAF8vyDo/fbSleiniaTcwZFm/s0D8LDa1vV5QBuZOgWHOJvbNZIY PhJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=DYDvjBZVL6sxzkf5UpTzzrSynrTk6h2kigPuEB7raUQ=; b=EMI73tegJ+MWeN5ujeWKqUenQwU914aWycgM/doEtGVKUh4f2bK0tzxbb4SVGVUJ/6 0OIBafreFSJCJhxJ7kklgfCHBpHR1102oyFIDt7XW4CnIjoxidGJRaP31WwDemStk8jy X1iN5yT+7jvKm+9Zj/3ZbOtdIwil5lgYzo+nad4zgDObULeirY57yvweEkhXr5zLF/SK JES0hgFBd7LvYwVV5LZ5S86ryYD6DymxmkoJmlbPE4sDl5aQyui0wwr/TS8ihlH/WVWq 80/j5mJSmACGZ+vSuz91To0uo8J2NlZ5jbtz3K7mJLNOkzL3Gtu618GTODo3LBKS4GB7 0onQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=t6tSjPUY; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a34si3475471pld.93.2019.04.19.11.39.19; Fri, 19 Apr 2019 11:39:35 -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=pass header.i=@samsung.com header.s=mail20170921 header.b=t6tSjPUY; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbfDSSi0 (ORCPT + 99 others); Fri, 19 Apr 2019 14:38:26 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:36468 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728115AbfDSSho (ORCPT ); Fri, 19 Apr 2019 14:37:44 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190419134824euoutp0195f32f152e9fce0dbf65c212999abfb1~W5ESJ8q1k0632706327euoutp01_ for ; Fri, 19 Apr 2019 13:48:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190419134824euoutp0195f32f152e9fce0dbf65c212999abfb1~W5ESJ8q1k0632706327euoutp01_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555681704; bh=DYDvjBZVL6sxzkf5UpTzzrSynrTk6h2kigPuEB7raUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t6tSjPUYVqfKVRWEss5F+WYENS/FS13+yxVPvRDJL7HkOMMCxJtLrR1QQ0HfRzTNe dixUP4Wd/qlyT1NFEFNDlmJBLdOdVlDbS605lWqd+k2UsCQGXQBJdn2r67sy+5oyhy 0GFulPTXHprUcskBr759H+BV/Ex/y+nkD0J0KzKg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190419134823eucas1p2bb89a58c740a9880af70bdc7835bf980~W5ERcJXTE1565215652eucas1p25; Fri, 19 Apr 2019 13:48:23 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 6F.59.04377.7A1D9BC5; Fri, 19 Apr 2019 14:48:23 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190419134822eucas1p29c6eff0f500311749b33c4f556123cf0~W5EQpTCcX1595215952eucas1p2v; Fri, 19 Apr 2019 13:48:22 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190419134822eusmtrp13e03066af8a25f1fa894a733d656f727~W5EQbSzkG2843728437eusmtrp1T; Fri, 19 Apr 2019 13:48:22 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-70-5cb9d1a7ac80 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5C.BE.04140.6A1D9BC5; Fri, 19 Apr 2019 14:48:22 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190419134821eusmtip2c497e59b885d504df3f4296d051f84a1~W5EPwBBNT0862908629eusmtip2h; Fri, 19 Apr 2019 13:48:21 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, kgene@kernel.org, l.luba@partner.samsung.com, willy.mh.wolff.ml@gmail.com Subject: [PATCH v3 3/4] Documentation: devicetree: add PPMU events description Date: Fri, 19 Apr 2019 15:48:07 +0200 Message-Id: <1555681688-19643-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555681688-19643-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEKsWRmVeSWpSXmKPExsWy7djPc7rLL+6MMfiwWdBi44z1rBbXvzxn tZh/5ByrRf/j18wW589vYLc42/SG3eJWg4zFpsfXWC0u75rDZvG59wijxYzz+5gs1h65y26x 9PpFJovbjSvYLFr3HmG3OPymndXi24lHjA6CHmvmrWH02DnrLrvHplWdbB6bl9R7HHy3h8mj b8sqRo/Pm+QC2KO4bFJSczLLUov07RK4Mn7sec1YMIW7YvrCRewNjJs4uxg5OSQETCQW/fjL 1sXIxSEksIJR4takRawQzhdGiYkfDrJAOJ8ZJX5/P84E0/Jk3XWoxHJGiZnT1zGDJMBaZlwW 72Lk4GAT0JPYsaoQJCwisJhR4tvhKJB6ZoFlTBL7mj+BDRIWCJA493wamM0ioCpxp+c42Bxe AS+JFa8/Qi2Tk7h5rpMZZCangLfE8rdlIHMkBE6xS6w8cZ8dJC4h4CLR8IAXolxY4tXxLewQ tozE6ck9L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PsQowMGoxMN7 YNLOGCHWxLLiytxDjBIczEoivI4pW2KEeFMSK6tSi/Lji0pzUosPMZoC3TSRWUo0OR8Yw3kl 8YamhuYWlobmxubGZhZK4rznDSqjhATSE0tSs1NTC1KLYPqYODilGhhvnDj2RjUh/HC3ynyv V2Yzgi+azlrad8zh87+X//8zMX3Uu2Lnxr9f80OBSMR01kUvJ29sv2nB1DLFZ2V4dqbr4gwn 6fWTu7j8u7QUWPtYvuwK/WIekbbQ7n2Vk6ckU5XIdpd/eS5VZSENDgvmvHo8aeYVhiIx/VYH kZt/LaX+hp5zUO6fVKHEUpyRaKjFXFScCABgJZ9QqQIAAA== X-CMS-MailID: 20190419134822eucas1p29c6eff0f500311749b33c4f556123cf0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190419134822eucas1p29c6eff0f500311749b33c4f556123cf0 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190419134822eucas1p29c6eff0f500311749b33c4f556123cf0 References: <1555681688-19643-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extend the documenation by events description with new 'event-data-type' field. Add example how the event might be defined in DT. Signed-off-by: Lukasz Luba --- .../devicetree/bindings/devfreq/event/exynos-ppmu.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt b/Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt index 3e36c1d..47feb5f 100644 --- a/Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt +++ b/Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt @@ -145,3 +145,21 @@ Example3 : PPMUv2 nodes in exynos5433.dtsi are listed below. reg = <0x104d0000 0x2000>; status = "disabled"; }; + +The 'event' type specified in the PPMU node defines 'event-name' +which also contains 'id' number and optionally 'event-data-type'. + +Example: + + events { + ppmu_leftbus_0: ppmu-event0-leftbus { + event-name = "ppmu-event0-leftbus"; + event-data-type = ; + }; + }; + +The 'event-data-type' defines the type of data which shell be counted +by the counter. You can check include/dt-bindings/pmu/exynos_ppmu.h for +all possible type, i.e. count read requests, count write data in bytes, +etc. This field is optional and when it is missing, the driver code will +use default data type. -- 2.7.4