From patchwork Mon Aug 7 08:13:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109512 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1308163qge; Mon, 7 Aug 2017 01:14:06 -0700 (PDT) X-Received: by 10.99.160.25 with SMTP id r25mr10603880pge.6.1502093646070; Mon, 07 Aug 2017 01:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502093646; cv=none; d=google.com; s=arc-20160816; b=bLHjghDLovzGUq8dz0ggNBvSGskaIEckIkmaUOiDtJEhC5jdK60pjKRlID4O9iqG9e a3zFc738FOlzca+oyN3KKmHxM/Pypop7RlAO6ar4a0liymW7MgRG20/hn48daEn+jdPJ JHduHKjNNpsfdCim+yh48lEbqArrd2sbgWSawqKXaTE25WeXwHa9eyestL36g9ELKl3F 6WgS3Ihry/DtH7E89K9CTdsLOInjQsnQSRFjInhg+KTjoTp1+6RYjObyXfqYopoFcl9y NH6lZQKF0Ach2RDPvQjt+91KT3j7LcZumZ3G/GR8x2fFwL7LTXIZu8MJp3KIHRaxAvpl qQMA== 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=rL01GMFRD+XoacD6PvtC3bHiZqGa2Lv+tomAE3sXOglCeNVrfkNQv+mw9MK9PPV1ad x9ZUvW3l19V9rerIsXLRb19AR/n3Bln06JkWjFJbqZwbvjQJS1DfcWGrahVZHGF2lEWG wGM0sdXXvjjkxGlOChGkob8EwL/37EBZKR41zA1SM1l7M3lsFKTXk/B8XVmFGaMbAKYW 5p8KiJ1sKbZuXSpXqH7AwHpwRWgIIhGkOYYaWLBeBm/fe7my4PqonH77gheMvUM6FqYi LY9sngh6cWfpvvawpKW/JSOsaL7HDPQ7YO/1Yh070ZaqC4zGKR6Hbw3nP3twmdlOvJDq 4NlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=K2YaCtiF; 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 g2si5345148plm.581.2017.08.07.01.14.05; Mon, 07 Aug 2017 01:14:06 -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.b=K2YaCtiF; 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 S1752574AbdHGIOC (ORCPT + 25 others); Mon, 7 Aug 2017 04:14:02 -0400 Received: from mail-pg0-f47.google.com ([74.125.83.47]:33879 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752340AbdHGIN6 (ORCPT ); Mon, 7 Aug 2017 04:13:58 -0400 Received: by mail-pg0-f47.google.com with SMTP id u185so31294575pgb.1 for ; Mon, 07 Aug 2017 01:13:58 -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=K2YaCtiFSYpkAC4eKqytgfgSwXGlo5jZpQK6Bx1FJbk5akRFqbdIX8Nb2/MXIznk1v yuXK/dmoEZseK4qQCldcQH3wI5c0R6EYSqUW8DQ3CzOzycs5V9KkgWulBcXyW22tWhGv C+TSBYesKnmNqOHE1fV52clP0TbjYPIYx/BzQ= 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=MRX1ZWLotC+tuPWMlVGLC2qe48BslRMhLLMqYkHAnUbuRgTtHP/Ntz70RZCbgBuEED cC8SsR9aXOlngTODlVdCu5cdzXlnLqRgoWX1NJVzJzMGBsOs+A2Qrxr+YUzb8xOBfLor WwX6i9MqLTAXOy+ni/lvQZntVTmUyUx2QURXmr3L52bfZaeyymPBBwC731N7I1j+LlDD w6SiyEtWkB/xHcA6kDVeC3QCSRiWNZjr9caz2gu3rpB10SgIKrEJRo8BN9XtdGF0AnjX yb2evf6bqfa6t8+tOmlbdzCVKpKRh6BhqjZ6WX7x3wIqGtY96bUvu6FXznb4kCTKATjN etww== X-Gm-Message-State: AIVw1103stIbAuIAJ1TEepN+8btqxHgFykQgS3w9y11chEmrzIABiymA g5uBvLh+NgNOcShk X-Received: by 10.84.214.23 with SMTP id h23mr13259625pli.321.1502093638139; Mon, 07 Aug 2017 01:13:58 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.229]) by smtp.gmail.com with ESMTPSA id x25sm13597521pfk.80.2017.08.07.01.13.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Aug 2017 01:13:57 -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 3/7] arm64: dts: hi3660: add pmu dt node for hi3660 Date: Mon, 7 Aug 2017 16:13:21 +0800 Message-Id: <20170807081325.11406-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170807081325.11406-1-guodong.xu@linaro.org> References: <20170807081325.11406-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>;