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: 9884695 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2F68602CC for ; Mon, 7 Aug 2017 08:26:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D11DD2859A for ; Mon, 7 Aug 2017 08:26:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5B97285D3; Mon, 7 Aug 2017 08:26:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 767482859A for ; Mon, 7 Aug 2017 08:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=aiXBxhJafEZw41RVKOLIQSSpUcVzU18Ithw8l3wPIbI=; b=CQtOlItCx6EGLppqAhSsxRmViS adKs+FcOO7vcAP9BeGF7aX31ZVflaPL/0SS6rB70dw/llDfAKZPpkZ35yiD1kQV+ACTrc9WYQksMs WXA2XWWGHhozN6QiMt6mnYvh/N2dD5Aiunf2M5CRJEHK9COnacm6ZdSzyftvgu8aaLM8tbR4OL/7z lI8iEqlhx9goTinh3Y8UlThM7EcZoFJMNG8JYZYJs6ncUYNi51piHubElUgYgzQxIsCIxtfzUbdm9 auaqTcaXjXUg1jD+NN4ESf44f/BzF95sTM4OFuC+PF4s4z1qs516fdFExvdXg7rHXIT8PsfjLviqc ILKxQTRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dedMU-00085m-Bf; Mon, 07 Aug 2017 08:26:06 +0000 Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dedB4-0008N1-St for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 08:14:24 +0000 Received: by mail-pg0-x236.google.com with SMTP id v189so31277489pgd.2 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=ob39cgz3YgHBKtVn/THI/m0tx3b/ZODQY+TPClFSM8hzHDNqytPTID2xYDlAqbonNS nNv/sVu9RKG5lzC07Iq5rKwXoQmF6bg2hFWvpcmZWX/LUp6xQOxuJPtasG8EwTBpTLPd dmjtkdIwmvyOoS1eSxUyxBIUHJ9Nt4n6m7LjpZAUIuJAvugXkzph5bzTsImoFlyHsylt bIYpdLle103jNCU8Ecsf5JhRoG8C1VVUBAs1RZ+fLpbCH1emnVmhWFUxEOGdJmFTHz4l NNAMZJTkQgHNzYx2t7za6tqXFokskrkv85pPoK6+Lp97GLgV2/pOIRGl76TsQUAP2OSc SQDw== X-Gm-Message-State: AIVw110dMXvWJ/f7TRwwY0FCVywiOfemyhrpURjJdVaOnh0geRw81AUS bXWwrbzk6U57xTmx 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_011419_417381_F91470C4 X-CRM114-Status: UNSURE ( 7.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, YiPing Xu , linux-kernel@vger.kernel.org, Zhong Kaihua , Leo Yan , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;