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: 6174281 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A03FBBF4A6 for ; Tue, 7 Apr 2015 17:55:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A973720219 for ; Tue, 7 Apr 2015 17:55:41 +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 DC8F8201ED for ; Tue, 7 Apr 2015 17:55:40 +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 1YfXgd-00011C-T8; Tue, 07 Apr 2015 17:53:19 +0000 Received: from mail-ig0-x235.google.com ([2607:f8b0:4001:c05::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YfXgX-0000rO-VB for linux-arm-kernel@lists.infradead.org; Tue, 07 Apr 2015 17:53:14 +0000 Received: by igbqf9 with SMTP id qf9so18554714igb.1 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=EM0TRkQQaf0ElwGi374AB0zj5blU11gDxtzxEP00neXjlHF4eHVxvJ4U233SbsGuPD ySx3KPYc9PhJO/wXNcOi5en3ROFY4O6Z+bomsL1Sw4FZhaJwfJe22FW3iNuwhWUhN3op AGvmAmEHz8k0LjtMESuJRFN96mVaeqiycbDV27+GK0vf4E4im86s6+AMTxKdlNJIWpFx q6H2MPK5gBMRWV62sAbs34z5bBwAkxX/V3UiucaK5XnPQERAWcgHR3/nhLo5bNkqd21n cP+477pCTjcPnjavfJGJns20VjcesS589t3TGfNW+rHe4hPyERHVQk0uuuW150hnTSHe Ixdw== X-Gm-Message-State: ALoCoQk1IMLPRBAUHQR5773fSdklVNFZ6AZEXULHHUH2HMdk6sMt6stAfMIHFzkaURFufDb6I5SP 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_105314_068403_72C2C738 X-CRM114-Status: UNSURE ( 8.36 ) 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.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>;