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: 29784 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A76FF202E4 for ; Wed, 7 May 2014 14:52:42 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id if11sf3396186vcb.4 for ; Wed, 07 May 2014 07:52: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:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=9gCkPlZ9mU0RPqwb6kG6G4px4dFpzXUC/brxMEn6I0M=; b=jCuZk3jSAVW5oex9fw3aST27UhcfapEuh8d5yrivJlmiK1kjrTnXTxTlu1MuL2khkA dW1Q9qVUYo5MEuTNMQEcKKF25W1Utn07w0PwlV6siC0rcBfc3hEqxKLHe24aiT5U6Z0+ rFDB40gnhB09pIbSgSlr+NKeiXocb7wrxR5FLmoPe1g9ItDJKuUpdvpNXFG41fl07aH3 DjV1YRsWiaV/MKIKsr5soiBra77fTcDcIcZ3zzCv972OxqCVXodSmIczPWxKjiX8rAGS IoDBTlreq42XHtiHM3ygSKfufUxkfjFSDNAn/NlHcuoYuRASjQSpoS7ZO0hgkPyhT9EH ut6g== X-Gm-Message-State: ALoCoQm0x+pVf03V/898Qp/IGKc+d+mXYXPKppxZ8tyMqqitef8fBD4+XjZTEgSlTnbFOe8ucDZS X-Received: by 10.236.127.35 with SMTP id c23mr3743267yhi.51.1399474362409; Wed, 07 May 2014 07:52:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.182 with SMTP id 51ls3513650qgv.38.gmail; Wed, 07 May 2014 07:52:42 -0700 (PDT) X-Received: by 10.220.95.204 with SMTP id e12mr2913492vcn.37.1399474362296; Wed, 07 May 2014 07:52:42 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id d20si2944885veu.151.2014.05.07.07.52.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 07:52:42 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id pa12so1389854veb.40 for ; Wed, 07 May 2014 07:52:42 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr1116372vcd.45.1399474362193; Wed, 07 May 2014 07:52:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp316090vcb; Wed, 7 May 2014 07:52:40 -0700 (PDT) X-Received: by 10.224.50.81 with SMTP id y17mr65711563qaf.22.1399474360607; Wed, 07 May 2014 07:52:40 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id h90si6910930qgh.33.2014.05.07.07.52.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 May 2014 07:52:40 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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-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 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.44 listed in list.dnswl.org] 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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>;