Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp105481ima; Tue, 23 Oct 2018 20:35:29 -0700 (PDT) X-Google-Smtp-Source: AJdET5eLRqhb5c2XZpPt401z4fNjDVf/jg5hd0yrVNdwySbKkLT6C9qkyz+nX7RKJ/jhNqDZ4ErL X-Received: by 2002:a62:1c0f:: with SMTP id c15-v6mr1008322pfc.14.1540352129037; Tue, 23 Oct 2018 20:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540352129; cv=none; d=google.com; s=arc-20160816; b=gAKg5LMEyFdNJ02rpcETzzuhCSpPidnSfARARkjtlJtyV8zWDfDiqemGCi2+GvTJG0 rU057gVuoJ264uLBrfcCIaKh+iT6tEV5FLm80TSCm92Tq7+IWLEsDA83LxJL0ChSnqft UDAaz7+RIxI47m/laylvD11bo6d8G5HgAzSwQeSSmjFhR6aWSiq9w4r5eJF4P/I/wzlu 0XKNF8oXcjS4JR5qN4KCeccxhBmt89y0C687soKh6ms7kQJGD9iTmRkw3EFj7oQPaS3r qwZSLcrIe7ypgn6K7wywXjSFlOcAnTKyYo1YDEt9bYZYtdAZcmuy5b0X9ofQ8CobIAAz XutQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=LLCgi9ZZQTxq6yUpA7NxGrsev0qcczE2Do3Wa/AwnxY=; b=cG2gobUJaWf2QQC1Y/SxovX95tDf31lvblBa9OS0IqRYd5Fi5bIPo+sHIbgtsWYaDn Eu7YDeFYUUx5whIkWSwG4g93fIJ+rhEk5NCimYCdrBXG6W1p4kl6+AEGJzUlHB7gEGEy gTzZVHiDomxgPNT7LJaurtWVjnGz6fUZHcaD0GTy10I3+WcoPHZhqEDdnbyoCVU3gmUX dk4JRGbF/vbB5RMtK8k7wvkvFOOsJlfWNIDtQ655VDY5QxraE9y2f+NA6HGgBOtMln+i AwhcDDl/0mTDosTp3ojH3xXZR8v3ZStTP3O/LK33YVDqSHlVHJymXeUq9VXwL8/xbWA9 zATQ== ARC-Authentication-Results: i=1; mx.google.com; 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 bh1-v6si3150065plb.298.2018.10.23.20.35.13; Tue, 23 Oct 2018 20:35:29 -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; 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 S1727078AbeJXMAh (ORCPT + 99 others); Wed, 24 Oct 2018 08:00:37 -0400 Received: from 59-120-53-16.HINET-IP.hinet.net ([59.120.53.16]:36413 "EHLO ATCSQR.andestech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726240AbeJXMAh (ORCPT ); Wed, 24 Oct 2018 08:00:37 -0400 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id w9O3YiNi099618; Wed, 24 Oct 2018 11:34:44 +0800 (GMT-8) (envelope-from nickhu@andestech.com) Received: from atcsqa06.andestech.com (10.0.15.65) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Wed, 24 Oct 2018 11:33:17 +0800 From: Nickhu To: , , , , , , , , , , , , , , , , , , , , CC: Nickhu , Subject: [PATCH v3 4/4] nds32: Add document for NDS32 PMU. Date: Wed, 24 Oct 2018 11:32:40 +0800 Message-ID: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.15.65] X-DNSRBL: X-MAIL: ATCSQR.andestech.com w9O3YiNi099618 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The document for how to add NDS32 PMU in devicetree. Signed-off-by: Nickhu --- Documentation/devicetree/bindings/nds32/pmu.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/nds32/pmu.txt diff --git a/Documentation/devicetree/bindings/nds32/pmu.txt b/Documentation/devicetree/bindings/nds32/pmu.txt new file mode 100644 index 000000000000..1bd15785b4ae --- /dev/null +++ b/Documentation/devicetree/bindings/nds32/pmu.txt @@ -0,0 +1,17 @@ +* NDS32 Performance Monitor Units + +NDS32 core have a PMU for counting cpu and cache events like cache misses. +The NDS32 PMU representation in the device tree should be done as under: + +Required properties: + +- compatible : + "andestech,nds32v3-pmu" + +- interrupts : The interrupt number for NDS32 PMU is 13. + +Example: +pmu{ + compatible = "andestech,nds32v3-pmu"; + interrupts = <13>; +} -- 2.17.0