From patchwork Tue Apr 8 08:00:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 3949561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 930AA9F370 for ; Tue, 8 Apr 2014 15:28:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CEFCC203B8 for ; Tue, 8 Apr 2014 15:28:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CBCD020142 for ; Tue, 8 Apr 2014 15:28:37 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXwP-0007Td-GO; Tue, 08 Apr 2014 15:28:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXwJ-0005am-Qv; Tue, 08 Apr 2014 15:27:55 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXjv-0003gg-73 for linux-arm-kernel@merlin.infradead.org; Tue, 08 Apr 2014 15:15:07 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXQzF-0000ut-0F for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2014 08:02:29 +0000 Received: by mail-pa0-f49.google.com with SMTP id lj1so685969pab.36 for ; Tue, 08 Apr 2014 01:02:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AajmuPaMiCpmKPK4/CQWP76oglrI7rHnAXiBDb8n71E=; b=ODxD2uTKy1u3LMFbK9/LpOHqyuUCyXWugsKnhFFN1zzFGAXRVILXI0zwS42PZ8o0wa Jz1XdaeMmK2tSi+XDCFqgaf7WDz1Pm+838UN4/Q3ppoe6I3hbODqsWnVj2T8BlMqxopc //x3ik3B95ieUY+tpD1FPZQsAAk1eRWuESte7rm/m9KmgQwPtOccaz9n74TraJcrALfZ GmaCDQcqr/8k3proOVU3m119oncr5txEAeP4SDvwhnmC/yiaWfVVJplieKLX9oCspmk8 KIbm1t2Y4sOD0QwI6kvmgZJmDka4l1Sl3r7ejbdge98z2jeao/gJut89gTeqkkPK6hEI 6gnw== X-Gm-Message-State: ALoCoQleX8Tcyn28gwhsMe40IXxeIThdX37yEXWbjx83SVkSkY5N3Z2cHN7z6eEC0yoX1Qyvte7z X-Received: by 10.66.189.201 with SMTP id gk9mr2726529pac.25.1396944126827; Tue, 08 Apr 2014 01:02:06 -0700 (PDT) Received: from localhost.localdomain ([162.243.130.63]) by mx.google.com with ESMTPSA id it4sm2764630pbd.48.2014.04.08.01.02.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 01:02:05 -0700 (PDT) From: Haojian Zhuang To: linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, linux@arm.linux.org.uk, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com Subject: [PATCH v2 12/12] ARM: dts: Add PMU support in HiP04 Date: Tue, 8 Apr 2014 16:00:52 +0800 Message-Id: <1396944052-9887-13-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> References: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140408_010229_066205_CEA3617F X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Haojian Zhuang , Kefeng Wang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kefeng Wang ARM Performance Monitor Units are available on the HiP04. So add the support in the dtsi. Simply tested with perf. Signed-off-by: Kefeng Wang Signed-off-by: Haojian Zhuang --- arch/arm/boot/dts/hip04.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi index eb5e5a2..0ad1e7b 100644 --- a/arch/arm/boot/dts/hip04.dtsi +++ b/arch/arm/boot/dts/hip04.dtsi @@ -219,6 +219,26 @@ status = "ok"; }; + arm-pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = <0 64 4>, + <0 65 4>, + <0 66 4>, + <0 67 4>, + <0 68 4>, + <0 69 4>, + <0 70 4>, + <0 71 4>, + <0 72 4>, + <0 73 4>, + <0 74 4>, + <0 75 4>, + <0 76 4>, + <0 77 4>, + <0 78 4>, + <0 79 4>; + }; + timer { compatible = "arm,armv7-timer"; interrupts = <1 13 0xf08>,