From patchwork Wed May 7 14:44:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 4129121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3134BBFF02 for ; Wed, 7 May 2014 14:53:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 67D7C20259 for ; Wed, 7 May 2014 14:53:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 8E6FB20253 for ; Wed, 7 May 2014 14:53:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wi3B9-000230-SO; Wed, 07 May 2014 14:50:39 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wi38g-0006f4-FC for linux-arm-kernel@lists.infradead.org; Wed, 07 May 2014 14:48:09 +0000 Received: by mail-pa0-f44.google.com with SMTP id ld10so1325976pab.3 for ; Wed, 07 May 2014 07:47:42 -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=0VyOvigtkbWWgICxoG7SPaGqrUGoIg/mrrupEr8QJck=; b=l9qbXWk4irzv5LHJCEEJaoSjs29qj7c6sIiezlWWvakBFfa43mhIOLOpCDX5pYIriF VVJOCPDPaxTyflSkAKlqKWYxmGHJ+GnG4Zpg0J8xe4QTndtVgI6xbYCB9mXcX2zT2dNU 6Su1oRNrRpN3kvmnR3s4lIBV/1lUy3cd/uDZWraHg1PslngpOjt59IWIoWWRMun998py UFgRhjlDos7OoyQNqyQXmb5w7ODKe+fZP6AqCF61f/h3x+wggl3fDSJ3z5Mn5rszoQ8o k3mtEUSiSz1y0mu0oBFx4XkF6/r7O7gELI+6KmkHa5sGbZlaVhC3TazsGX/iIYjePHhI smVQ== X-Gm-Message-State: ALoCoQmqbQddXvTKo7nePRFmauTZnVN7KNti0WomB1mGYs+3eN4KEPk9bdMY91jcKKYTupV8NQag X-Received: by 10.67.15.42 with SMTP id fl10mr20008572pad.30.1399474062560; Wed, 07 May 2014 07:47:42 -0700 (PDT) Received: from localhost.localdomain ([140.206.182.114]) by mx.google.com with ESMTPSA id nw13sm115484380pab.37.2014.05.07.07.47.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 May 2014 07:47:41 -0700 (PDT) From: Haojian Zhuang To: tglx@linutronix.de, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com, christoffer.dall@linaro.org, Dave.Martin@arm.com, nicolas.pitre@linaro.org, marc.zyngier@arm.com Subject: [PATCH v5 13/14] ARM: dts: Add PMU support in HiP04 Date: Wed, 7 May 2014 22:44:47 +0800 Message-Id: <1399473888-12947-14-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399473888-12947-1-git-send-email-haojian.zhuang@linaro.org> References: <1399473888-12947-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140507_074808_567146_CDAE6537 X-CRM114-Status: GOOD ( 10.42 ) 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=-2.5 required=5.0 tests=BAYES_00,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 55a39ed..eee69e5 100644 --- a/arch/arm/boot/dts/hip04.dtsi +++ b/arch/arm/boot/dts/hip04.dtsi @@ -227,6 +227,26 @@ clock-names = "apb_pclk"; }; + 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>; + }; + uart0: uart@4007000 { compatible = "snps,dw-apb-uart"; reg = <0x4007000 0x1000>;