Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3939865yba; Wed, 17 Apr 2019 00:49:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqytYpJx4KZKCV5XrtqcHclRa0D4bv2iG8k1xJoiUn98AW+T0dceif6FLXYKiF34PH/cujtb X-Received: by 2002:a62:75cd:: with SMTP id q196mr79010318pfc.70.1555487396398; Wed, 17 Apr 2019 00:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555487396; cv=none; d=google.com; s=arc-20160816; b=osAVut2g0n1nxFRLWsY5lqwQZkn7PW2fHcqHPkNjVtmchNm+ubVrav5HDLmZQ61urI Oaf2SKpH8sYWpjxDEUMrDo9hdzdUpYqXHE6ZP5iO6ZfK6m5Xuzpr40bFGIWNDywkzeps LBkocUTNqQJl5mwtEw3qo5tJZOg4Ozz3+AnsAYtptQMmYv0QC1c161jy1ePTch4nlTHM UkD2zcy85Ohlor/vzczrlqamN3l6qMGTlOuQ/HE2KSqzF+Kcfa1Yn6f2Tvtm3z8XzQEw EWKBAZA7iA92+qai0WSbCX5vc3QRjt+At5XmG2SEtq2yhyfgUlvIe7Xx/1AxcwcBqMn2 P87w== 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=k+rrB36lM0aM9LuKNssTxUKENvqHC0eCdBGp1voNQzuAGTcrlhjvWX9beLIX/iYFId EmSlt6TfcQKYqonVprfKAAItRJEzJbsi7V/Lr58MQpapB7dd/Kf/GtJaaamK22b7Ljiw QLhuHYCBP64mU2bFniQ/vkRJHo2peO2mbJJg/HjgYTvrgNmg20y8e0ug/+VvOqpkAKyk MHJYed7M9IAdsmaaZoFWY+g80xQy3CzB3akjLmmC8Zu6Da75Xi1Pfmb+lsxl7q9yFrS5 z70zbZqzPWPoDKAjQxnZ60F0PC/DzXJkOR5emXgE4v6Tx/PHFbhPsv9OWp70f1/Oh+Bh 1s4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FJ3gOqAc; 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 e193si46418937pgc.339.2019.04.17.00.49.41; Wed, 17 Apr 2019 00:49:56 -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=FJ3gOqAc; 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 S1731242AbfDQHsk (ORCPT + 99 others); Wed, 17 Apr 2019 03:48:40 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40694 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731226AbfDQHsj (ORCPT ); Wed, 17 Apr 2019 03:48:39 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190417074837euoutp024a7169fc4b594ea5bc9c09ed0828908e~WM3lOc90a0488604886euoutp02P for ; Wed, 17 Apr 2019 07:48:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190417074837euoutp024a7169fc4b594ea5bc9c09ed0828908e~WM3lOc90a0488604886euoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1555487317; bh=DYDvjBZVL6sxzkf5UpTzzrSynrTk6h2kigPuEB7raUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FJ3gOqAcU8bcdCbkL06wHOIkeFLjmZ/ikF/CoUi8LsnT0A0uwu1AIn9afVB96SMrm JMJB8dNdgxA5v+FRT+kWSSg+WUetMb+PrEvi32tn8z0KxT1aJiVj9prMmDWX79u2U/ T3JY9WxeXwFSX7WD/cV8l5jvlK+rRhJROGjdEu+E= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190417074836eucas1p187361f4b6d6a961c8464cf6e05e8f13e~WM3kjIWYZ0763207632eucas1p1h; Wed, 17 Apr 2019 07:48:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 5A.C8.04298.45AD6BC5; Wed, 17 Apr 2019 08:48:36 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190417074835eucas1p19319bedd176d55e10b272881b7c68919~WM3jbKOoy0044400444eucas1p1E; Wed, 17 Apr 2019 07:48:35 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190417074835eusmtrp2fe677ab59dfdb696b0d58c58ff1d9e3d~WM3jLFMyO2697626976eusmtrp2K; Wed, 17 Apr 2019 07:48:35 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-6a-5cb6da54505f Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 60.69.04146.35AD6BC5; Wed, 17 Apr 2019 08:48:35 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190417074834eusmtip16c1ff37602f19f9e71ff0754d669177a~WM3ihm0t13147631476eusmtip1v; Wed, 17 Apr 2019 07:48:34 +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 Subject: [PATCH 3/3] Documentation: devicetree: add PPMU events description Date: Wed, 17 Apr 2019 09:48:08 +0200 Message-Id: <1555487288-4777-4-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555487288-4777-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSfSyUcRzvd8899zzo9DiW3xDbNVtqkantt2WNlu3oj6wXM2k6eUJxdI+X 0LjIa4kQt8odvaDD1HVJJhUnS3mLiNiMhuWl5VwxG3l6rvXfZ5/X7bsviYmqcDsyUhZHy2XS KLHAnN/4brV378nRxuB9Gb9t0VNlA46Gl2dwpNb34Khgag5Dvb1PCNSdPk+gUYUD0k4N4Wig +Z4AGfL1ACl7W3moXj9OoEfD/Tz09WqNAGW+0hOofT4b96Ikdao6INFqcgWSZw/TJG8XW3iS mzoNkBi0jv6CIHPPMDoqMoGWux06ax6x0jIHYkssLpdV3icUQGuWB8xISO2HRl0XkQfMSRFV A+BqRzGPFUTUMoBV84gTDAB+zF4S/EuotCrACdUAzpaOm+Kbibtaw6ZCkgLKFTZpLrEBG+oB gL/ag1gPRuXy4GJxy98ma+ooLFKm4yzmU84w+/Zngs0KKV+o3gjgxhzhSE8uxmIzyg+qJrp4 HN9MwKHWJNYO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6NEWJNLCuu zD3EKMHBrCTC65iyJUaINyWxsiq1KD++qDQntfgQoynQTROZpUST84ERm1cSb2hqaG5haWhu bG5sZqEkznveoDJKSCA9sSQ1OzW1ILUIpo+Jg1OqgVG8+9Ph3YEVCYbxX3kia0KlXhgG/5tg 5bhQml2svsRj//mlt6V/KrD+jku/x36cYX23yYtDqyannJ9SXTbh84N1V02KzTtE35wM9fk9 Q9rbbcvmbC3R/FvhK/Sy3NZtuMt5N9eNjVlMN2A26yz9vjPyGboXixU5FnGWBFRna8w3vfVf v9+xU4mlOCPRUIu5qDgRACZuz/ygAgAA X-CMS-MailID: 20190417074835eucas1p19319bedd176d55e10b272881b7c68919 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190417074835eucas1p19319bedd176d55e10b272881b7c68919 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190417074835eucas1p19319bedd176d55e10b272881b7c68919 References: <1555487288-4777-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