From patchwork Tue Apr 7 17:52:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sonny Rao X-Patchwork-Id: 6174271 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A78559F349 for ; Tue, 7 Apr 2015 17:53:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFAA320173 for ; Tue, 7 Apr 2015 17:53:18 +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 F2B5020123 for ; Tue, 7 Apr 2015 17:53:17 +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 1YfXga-00010r-9N; Tue, 07 Apr 2015 17:53:16 +0000 Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YfXgX-0000rS-SL for linux-rockchip@lists.infradead.org; Tue, 07 Apr 2015 17:53:14 +0000 Received: by iggg4 with SMTP id g4so19206166igg.0 for ; Tue, 07 Apr 2015 10:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=ulpklGYJNjHooDJwHr81zmqBTPgJtiKwhWFSf/4WQdE=; b=hqYbAnpsqj8rFOgqBZlcPnL5je7dh0GRkN0Qx8EeGvSAA5LVoZIELHgadStdDeSiEI UDYsZjAigQL1/Zv1lhTHowooFawyWgtQXMtb8tXaCcJb3VWH1cgm3TJuTFb9GXYbstWW fF1me2ul0JqoiXRXTWJXZ8pXw8PcUWKPJPh0B8PSgXcgNTf6QyN0ejE3LH4+1ytSAGvT YCVwQ0UwIzTv0WuTUUAE0eQdBrHlcSkfLVpBQ6/uYXqNXDQzsiETepg5H3hirCCqsbAU eR9qA3MuYHyX7AMQcUyusVqC45f/bE2pj8WA3AXJEuugrrn+VoDbQfsc2Yfuikg2Cgql Cn+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=ulpklGYJNjHooDJwHr81zmqBTPgJtiKwhWFSf/4WQdE=; b=LinAF3KawONk530MWXLviBP4jXrBwiy6e9oBfjI6gNNt4RV3hgVX9eYr6ZquVrSc3Y aSRt4jhSBSFZ1cLE8FR2PbZIzT3TY7iAFcaFQG1vSxhCXWWNe/+Pt5PqA0ZgZtkh/H6f 78gm4kf4niwl7Eb/1OicNX17HqZ5QneIHzErR8Or5OpCgfmk3OQmkj22qQkPvq2GKjTR jA87WvHmWSxmT4X1riVKgIkg+9nJ5qsuJObpRuzt8751f87Hj32ifwoZw8iBZavzFJBR ZTYvcA7NbS2SlgajxUkC+0WvH8W6A9/m3NCTOeZiUw7rdPxF29fgrv2uSBbYSrAvWKp9 7fYg== X-Gm-Message-State: ALoCoQm7A32NEhGx6J2nuOMs/eY8fy+4vTiiNXxMxTxW269eksoJAn7yDuqssaJnsJnHQb6aUnhv X-Received: by 10.42.114.3 with SMTP id e3mr26912098icq.27.1428429171484; Tue, 07 Apr 2015 10:52:51 -0700 (PDT) Received: from sonnyrao.mtv.corp.google.com ([172.22.67.190]) by mx.google.com with ESMTPSA id c76sm5116304ioc.16.2015.04.07.10.52.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Apr 2015 10:52:50 -0700 (PDT) From: Sonny Rao To: Heiko Stuebner Subject: [PATCH] arm: dts: rk3288: Enable Cortex-A12 HW PMU events Date: Tue, 7 Apr 2015 10:52:39 -0700 Message-Id: <1428429159-24102-1-git-send-email-sonnyrao@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150407_105313_956621_A4B98BED X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, dianders@chromium.org, Kever Yang , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Sonny Rao , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 This adds the dts node for the PMU with the correct PMUIRQ interrupts for each core. Signed-off-by: Sonny Rao Reviewed-by: Doug Anderson --- arch/arm/boot/dts/rk3288.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 165968d..8253abb 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -44,6 +44,14 @@ spi2 = &spi2; }; + arm-pmu { + compatible = "arm,cortex-a12-pmu"; + interrupts = , + , + , + ; + }; + cpus { #address-cells = <1>; #size-cells = <0>;