From patchwork Tue Aug 19 13:54:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 35591 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 023E4202DD for ; Tue, 19 Aug 2014 13:55:01 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rl12sf4774353iec.1 for ; Tue, 19 Aug 2014 06:55:01 -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:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=X9kt02Ll4hAxcZSAktwfPU140FNTn3zN0ksQFRVjCHY=; b=P0xTHd8M6d/MvUiATUiJHtIbN2qO/YLazQUC1OvE+9vdYVpbxuDoMNi8v9hbLdbZ2B HPu7PBCgFMgzOtjgW6PJL23KUwNmIQhsBIYfTOfAb3gK9I0delLzOIesGMWj3u35vaX6 wqzuwzqP/PmYsZI4PUUo2iEYfa42euo/1Z9FO23PYFf0wbThDdfn79UqNREq4wzO1GVK s6jbogAtEfe9WInDvLx6bIwKl7fkb2W2po3ahr3R062MQf1OIUNmW1C88X2QD/yQnaub Hu7c81VHl+plQBglx6KEMQS2HRvsUs3zBhByC5FY7/ZFcOOBq/w8kqPldpquacZL/lHv 7crQ== X-Gm-Message-State: ALoCoQnDjogQCXkbcv50WUkCzTAsQCnRu1/vSvHaLU4gkh51RQa7v+aKpgl5Xr0i7lMI6+tELMC9 X-Received: by 10.182.186.4 with SMTP id fg4mr22925249obc.9.1408456500962; Tue, 19 Aug 2014 06:55:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.246 with SMTP id l109ls274577qgf.1.gmail; Tue, 19 Aug 2014 06:55:00 -0700 (PDT) X-Received: by 10.220.97.5 with SMTP id j5mr30424056vcn.16.1408456500860; Tue, 19 Aug 2014 06:55:00 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id m18si8705333vcn.79.2014.08.19.06.55.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 06:55:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id le20so7525753vcb.28 for ; Tue, 19 Aug 2014 06:55:00 -0700 (PDT) X-Received: by 10.52.119.229 with SMTP id kx5mr1446747vdb.40.1408456500753; Tue, 19 Aug 2014 06:55:00 -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.221.37.5 with SMTP id tc5csp240599vcb; Tue, 19 Aug 2014 06:55:00 -0700 (PDT) X-Received: by 10.68.68.225 with SMTP id z1mr43807860pbt.110.1408456499914; Tue, 19 Aug 2014 06:54:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si27050057pdj.28.2014.08.19.06.54.42 for ; Tue, 19 Aug 2014 06:54:45 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752527AbaHSNy1 (ORCPT + 6 others); Tue, 19 Aug 2014 09:54:27 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:51043 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202AbaHSNy1 (ORCPT ); Tue, 19 Aug 2014 09:54:27 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s7JDs1u1020836; Tue, 19 Aug 2014 08:54:01 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7JDs0nZ022318; Tue, 19 Aug 2014 08:54:00 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 19 Aug 2014 08:54:00 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7JDs0Xu012687; Tue, 19 Aug 2014 08:54:00 -0500 From: Nishanth Menon To: Tony CC: , , , , , Subject: [PATCH] ARM: dts: DRA7: Add PMU nodes Date: Tue, 19 Aug 2014 08:54:00 -0500 Message-ID: <1408456440-30171-1-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Lucas Weaver DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for each of these processor groups. Further, since the interrupts bypass crossbar and are directly connected to GIC, mark the dts nodes with relevant information. Tested with perf utility. Reviewed-by: Felipe Balbi Signed-off-by: Lucas Weaver Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/dra72x.dtsi | 5 +++++ arch/arm/boot/dts/dra74x.dtsi | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra72x.dtsi b/arch/arm/boot/dts/dra72x.dtsi index f1ec22f..e5a3d23 100644 --- a/arch/arm/boot/dts/dra72x.dtsi +++ b/arch/arm/boot/dts/dra72x.dtsi @@ -22,4 +22,9 @@ reg = <0>; }; }; + + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = ; + }; }; diff --git a/arch/arm/boot/dts/dra74x.dtsi b/arch/arm/boot/dts/dra74x.dtsi index a4e8bb9..3be544c 100644 --- a/arch/arm/boot/dts/dra74x.dtsi +++ b/arch/arm/boot/dts/dra74x.dtsi @@ -38,4 +38,10 @@ reg = <1>; }; }; + + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = , + ; + }; };