Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp602745yba; Thu, 18 Apr 2019 06:40:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAqnfmDdH7WhOtEiwVK9yi2SXllb6E2DZoAOtt2hjjESR2WLJ7N2ymnnz4R3G/oVzh9rQa X-Received: by 2002:a17:902:47c2:: with SMTP id d2mr94992247plh.277.1555594841540; Thu, 18 Apr 2019 06:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555594841; cv=none; d=google.com; s=arc-20160816; b=cPqAyYAtYdUDIo2t+l9vCqH3OVVV3SShVZ8e/FDolUyd+ZhkikvYdj5Q47eW+kPTP2 KtE5/c9tMXxaYQ6gaS5r9Mg5+fvToYFEO0cpWSZUEb+cq0MWciEYLnrX74ZRPFCiM7Wt FT5nhIF0OTrSUmTQqDrbTPWOh9id9yFbFjswyvjxA/G7+kOdu0wGB328zUkOq3IbpO/O npgtE7LgQZ+J/PSeJAo7cNprcPyxlmOC0lRhSNIqu4zpOvPYKz0m1hisTDSQYePMkk8h swpGOfAdyRN75p++4BViNKRAer0aabjReCBr3GxcCYGnu5TjjCklY0w6+RXirclDOpeA 4jMg== 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=oiWbt8mDpnJGsAO6nkzuu86uEIDJEGg0u+mRy5+cFWnZtFsAyG6FCl1Kp3C9Lg3lzq lYqrOI054o4pzOpupxvvTl1VmaeD7jMtBmg2P3q+2mNUea+1ZwiJFPnfxDUwBwFzdbX0 MoKMORXe1BEIsMo5OLCSDOfXuGEqsJ2W6G437IdRbI+hD1sq6iCrFm3emJCxiqZRIoEI pGPLrxweg6j1WMA0OUm1lW8vHvOP7MsKG6s9zpOxDXLrslhU/YN9ftLBNl9pHVxI0ihZ qP99iAeIAglUYzAYxa7GNkTqEObbvpJ+QJK07uSU8guYhVSnoWwJajPaYVAb/hZZeGdY CjdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lYvoiR7M; 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 s79si2335168pfa.69.2019.04.18.06.40.26; Thu, 18 Apr 2019 06:40:41 -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=lYvoiR7M; 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 S2388984AbfDRNjL (ORCPT + 99 others); Thu, 18 Apr 2019 09:39:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:34225 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389110AbfDRNi5 (ORCPT ); Thu, 18 Apr 2019 09:38:57 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190418133856euoutp01d54e2de1bac0e55aa95c898cc21daa34~WlSu2BNbK0269202692euoutp01k for ; Thu, 18 Apr 2019 13:38:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190418133856euoutp01d54e2de1bac0e55aa95c898cc21daa34~WlSu2BNbK0269202692euoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555594736; bh=DYDvjBZVL6sxzkf5UpTzzrSynrTk6h2kigPuEB7raUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lYvoiR7MrNUoStFDYUecafAsRoX9jdpT3nNNWQXTPbxJ0i02WBB1D6Gw/IJNJ2GSD pqgumh1IXpQHx1qHxgnUVD9SY4KWpvxLdEF5tqPdKYElBjHjDzJEYrCM5MOE2bOuRi 07AtlT11AY2PFzQeEdiNQKLmspFnMA/Q/QXzP/U8= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190418133855eucas1p2e7fa0afe3cd772dea9e3719a822cea65~WlSt6kqm-0131901319eucas1p2H; Thu, 18 Apr 2019 13:38:55 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id C0.D2.04298.EED78BC5; Thu, 18 Apr 2019 14:38:54 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190418133854eucas1p11bd927755163f0030a1748a023099a06~WlStLLo440775607756eucas1p1n; Thu, 18 Apr 2019 13:38:54 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190418133854eusmtrp298b195b065f07e9dfc8e88a4382c2fdb~WlSs9H3t52812628126eusmtrp2-; Thu, 18 Apr 2019 13:38:54 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-90-5cb87deea383 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D9.55.04140.EED78BC5; Thu, 18 Apr 2019 14:38:54 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190418133853eusmtip2f01ec64a6e63024cc71e827bd84e4554~WlSsOeYQF1998719987eusmtip2b; Thu, 18 Apr 2019 13:38:53 +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 v2 3/4] Documentation: devicetree: add PPMU events description Date: Thu, 18 Apr 2019 15:38:31 +0200 Message-Id: <1555594712-18341-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555594712-18341-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSbUhTURju7O7uXs3FdUa+qRiuwjLSpKATmmQFXcsfQtCHSbX0YuJmtqum mTSbpZNMCUuRcvlRylCquWyaLnJDJdFpWVYifdinsyg1UQPNuVn/nvf5OM97DocmJAbSi05I SuGUSTK5VOQqbGyftm78kWWM2aT6tA3fL71L4oGJLyTWWnpIXDhsI7DVeo/C3RdGKfxG5YP1 wy9J/Lz5hgiPF1gQLrWaBLjeMkTh2wN9AjyYXSvCF1stFDaP5pJ4svMD2uHO1pXXIbapbIhi 9TqNiG2oPs8++dEiYK8YdIgd1/tGUdGuoXGcPCGNUwaFHXc9OdViQ8nFS9NLKiopFdK75CMX GpgtkF3VifKRKy1hahGoh0yUY5hAoCnSOIdxBE/fjooWI4XtBSKHUIOgUztG/ov0VBYS+Yim RUwgGHWn7YHlTBWCSXO03UMwdwRgUo8J7IIHEwXq8gGR3S9k1sKjud12WszsBWttI+ko84XX PRrCj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Lt2M8tOxi73gUfYhTgYFTi4ZXI 3BEjxJpYVlyZe4hRgoNZSYTXMWVLjBBvSmJlVWpRfnxRaU5q8SFGU6CbJjJLiSbnAyM4ryTe 0NTQ3MLS0NzY3NjMQkmc97xBZZSQQHpiSWp2ampBahFMHxMHp1QDI6vLGt6Fi+Xfb1i9OSZp rsq1bwz8Drw/u09VLtKQklQxXHv3O0tmonqvXWLg6yBjng++IZuO+01p/6zXGK9jvUqpQc57 3bHbsVKnxFnYlPlf36q+erG8ezfj09NLHvv8eeo7w6P8T1q8YOWeS3XGK+ev/zk7YXVgamXa c++fHzuzdszV4GsrVGIpzkg01GIuKk4EAGjjQUioAgAA X-CMS-MailID: 20190418133854eucas1p11bd927755163f0030a1748a023099a06 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190418133854eucas1p11bd927755163f0030a1748a023099a06 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190418133854eucas1p11bd927755163f0030a1748a023099a06 References: <1555594712-18341-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