Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3628170imm; Wed, 5 Sep 2018 03:25:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY5Tf3kzH1jcu3vMlvK7pLeNU77D97AYq+1QsUp061q6hZZI1Idet6L2mUR7S9We1x/gcV1 X-Received: by 2002:a17:902:aa49:: with SMTP id c9-v6mr13824844plr.195.1536143131103; Wed, 05 Sep 2018 03:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536143131; cv=none; d=google.com; s=arc-20160816; b=gMaI1FzYZw7Rsu6tputp7BpBWsc8RDGF9OJQ+2IMaMrY/bHLHCMPitI7U8Fs7foGIo 8N76jstg4Vu6LITdEA9XsIgtQI2Tbf6iTW/Bc9Pm/t0RvofuQtSVNvHxGnuahXpgze4M c5iun80dNC0/RRxsr4tEdA50XyEtTOQbuJ05x5k9aSRkhBu5iYtdpWfxXThCKCV74waT rf591bkwEAElEVghF7OodgnzdkFxwNXtw2S11rZ06R8j/NbBrxknMZygz4VbRgIFFimF pTRfuHYwtm0H49Ywd0fzNFLTq4EDrA9l8D+s0s42hxenV6NzL49/Xr2GekN6eki0YYXE NcjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=0RiTwOmUS7tCVrvMFbBl/LfOATicn1tmtn5VYST9zks=; b=AQPdB2YOpt5x3hKcJUcD4fiD/WE1VqwuYTCfcN1xcvCT08LKFdEf1zrmOQlAmIDSDc 1X4KbRVPmeW6ErK3IwrL7+Va65miFZhWX++Yp5GijlIqRxzdIgbXddsA0cmdE+ozj4uh +aRmw+dWv3LMRN9xD2TlJuRjMHnQQPy4fMb07G5XfXCn7LWMVl/rh3ts4QHv90oIjBnR ocgWPXa8E0cJ+a+PIgsbK+wEPnmaD9PuIZn762a2e+ct253sapwSnw7NcguXBympUYdt nSpTdemXsEiby1kf7fz6A69xWUSFouBgDyrxQOQdkn5Z6nGr6CZT6ptAK7F8MWxxeKDa I3KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si1700074pfe.29.2018.09.05.03.25.15; Wed, 05 Sep 2018 03:25:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727783AbeIEOwG (ORCPT + 99 others); Wed, 5 Sep 2018 10:52:06 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:21707 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727751AbeIEOwE (ORCPT ); Wed, 5 Sep 2018 10:52:04 -0400 X-UUID: 2d30e0c688c34d0cbb51c8031a4ac502-20180905 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1331344803; Wed, 05 Sep 2018 18:22:25 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 5 Sep 2018 18:22:23 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 5 Sep 2018 18:22:23 +0800 From: Ryder Lee To: Matthias Brugger CC: Sean Wang , Roy Luo , Weijie Gao , , , , , Ryder Lee Subject: [PATCH 1/5] arm: dts: mt7623: add a performance counter unit device node Date: Wed, 5 Sep 2018 18:22:17 +0800 Message-ID: <84011aa94dd7be9239b7a2f944dd30fc70568fbb.1536141302.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add ARM PMU device node to enable hardware perf events. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index 1cdc346..8c43bd0 100644 --- a/arch/arm/boot/dts/mt7623.dtsi +++ b/arch/arm/boot/dts/mt7623.dtsi @@ -121,6 +121,15 @@ }; }; + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + system_clk: dummy13m { compatible = "fixed-clock"; clock-frequency = <13000000>; -- 1.9.1