From patchwork Mon Aug 14 09:50:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109967 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117573qge; Mon, 14 Aug 2017 02:52:23 -0700 (PDT) X-Received: by 10.99.124.76 with SMTP id l12mr23790961pgn.90.1502704343796; Mon, 14 Aug 2017 02:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704343; cv=none; d=google.com; s=arc-20160816; b=af3Gep+fiwoKmBsV2Z4bs0VGfrfdDjgvfdGKPpJLbvWt1frXdkJUul789ulHTtmYQ3 rElnBjMtpQGfXPzQ66TK8k69MSSSnpkyySq1WnKaG8V0ML/dafgMpqEaaMJDc0+yl91F Y9ZMcypyrvmnlxUVxh55NAM0/Qd4aP2vL7kS8srIUcyIBBIGX5eaYJb5mqQBhnVQZ869 Kmw0q74cP++5eB3895MTw6pNUIYUj7isJpUKxl7KKwv6f9Dej80g6HXsj8QH9QNQ1fTC lFtE386NEowUCbqdMCnaWO+nifVhFRyrtBeOE0VOsLWJWz1jKOCPdDJyOVxgDc7YeaJ2 qDcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=VLneQDQ4i8BvWBUQIywRRNfdut4f0r97V8lL45QS4FBMOIGKCE9UXrpX2McU2mxc1N 7YfqQsfRNkpwuxDVEGG4hq17iwlFCuVLB0VoMX5FX//RuJo33ORU/ZUJH39uHbMhVm5e 6Cf3j/TEX9Sw4HEBGHsgnpqK8rb79bIdxtx0MPe7TCtOE7EZ4YMrfDdNs+LAAT/ZsPjM 2FfjLCMFlYzCrfAb6/UprJq2Sxe6BD73CwMCY2RcXUZ5IW5EP1OOzzIDXw7TIJiUWoXe SmoTPQT9OKjMAhtku6Hzv+smgQDlHLLYot0gY737ef+IbWJcke3tL7sCoYKTKZ37xtX8 7+gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VAMWAhA0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si3891702pgk.204.2017.08.14.02.52.23; Mon, 14 Aug 2017 02:52:23 -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; dkim=pass header.i=@linaro.org header.s=google header.b=VAMWAhA0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752790AbdHNJwU (ORCPT + 25 others); Mon, 14 Aug 2017 05:52:20 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:34596 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdHNJwR (ORCPT ); Mon, 14 Aug 2017 05:52:17 -0400 Received: by mail-pg0-f46.google.com with SMTP id u185so44061035pgb.1 for ; Mon, 14 Aug 2017 02:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=VAMWAhA0JTsXwXXFAFpRgIeBqrQpK3NUYeCzP80+coI3zG3QLw2zokID18JYW++eIA 5k2qRIM9m4M9l/mW0TvrzJvFzDMT6a9kO98MuzElWEbAsGQ8PsbXSRH/wVw8mV+sbZJ4 /51hLV2Cbg5mNV7mgpMHwYuOwNLn+fxyW+4HY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ncg8cTa9krJFJEx97Y7xwDrCg2+9MJGZYRzRB/q9pCc=; b=NTQjurgWxTVINVy0dtfX5D7Pxv0AQ4zwt6oZ0imQVCPVL+EjI/B+SFGvP1/SWJ7hxt UleCfC0DyGUhWOVCaRc3/NXZ5mFU2ZtOFPB9L7W0UlR3nAaMLmBwAW611vFqBn09lj9M dSaM0b0x6AMKDjB2X+fPrdK9kVbyBDZ3ZPhU3Er3v5Ti/EO0EawfV9hIR5Ousvgf+Alg xTUDUhcwB6TnEEi7ZM6KjRqRnEWEA1j3tcSzu6vfj7bRAP6g284mxGU3QmCBTxzYxdNh iAOkJtIKc8YuqnEfkE2nqymv/dEi4OhDWYT6+xkIhTflqyPnrCp45HiiDVpG+w0R+J5q TQJg== X-Gm-Message-State: AHYfb5jsetQ+XT2LS+FjH/6WEqcMLyIuGpLnl52gBB2x8Sbwlepqmusm t+RktbU24pw3cJvo X-Received: by 10.98.159.155 with SMTP id v27mr24230927pfk.124.1502704336351; Mon, 14 Aug 2017 02:52:16 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:15 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, YiPing Xu , Zhong Kaihua , Leo Yan Subject: [PATCH v3 03/10] arm64: dts: hi3660: add pmu dt node for hi3660 Date: Mon, 14 Aug 2017 17:50:42 +0800 Message-Id: <20170814095049.27701-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YiPing Xu Add pmu dt node for hi3660 Signed-off-by: YiPing Xu Signed-off-by: Zhong Kaihua Signed-off-by: Leo Yan Tested-by: Jumana Mundichipparakkal --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 1cdd03b..5fd5686 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -202,6 +202,26 @@ IRQ_TYPE_LEVEL_HIGH)>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-affinity = <&cpu0>, + <&cpu1>, + <&cpu2>, + <&cpu3>, + <&cpu4>, + <&cpu5>, + <&cpu6>, + <&cpu7>; + }; + timer { compatible = "arm,armv8-timer"; interrupt-parent = <&gic>;