From patchwork Thu Aug 10 02:26:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9892555 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 97987601EB for ; Thu, 10 Aug 2017 02:28:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80032289BD for ; Thu, 10 Aug 2017 02:28:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74EBB289CD; Thu, 10 Aug 2017 02:28:43 +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 E1078289BD for ; Thu, 10 Aug 2017 02:28:42 +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=IuVZ9chcZP65m5pGp8fEbRWw48 U2iH13+8UGI7VDN+qsprJIASOSyRmLUIAMnyzVfLDHlAYcdJP3EidjzAOimu98saBmw03sontRJkI M7gijtLWDLbriMlyiFdfi4zjQfmtmd7dpLbj/D4sWq3sa63J5aGXnNdBbxmSgFG9MPbJjHgKBoO+H 7UhFKaZt7d+ffVWCjAzpabjSmVah9ONup2yadSmxEIuDUSIoTmDikOJ2Xy2rfIbIzI+xlGHGjyhKD X8LHrdjFLcJ2eMMf7X8DYlZEthIhTxDLLxkR0Ca9J3iXCfnSNG+LahExyTFPkAXwsCgisV9m6/iek senxG+1Q==; 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 1dfdDC-0003Mk-Le; Thu, 10 Aug 2017 02:28:38 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfdBo-0001vJ-4y for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2017 02:27:15 +0000 Received: by mail-pf0-x232.google.com with SMTP id o86so35237200pfj.1 for ; Wed, 09 Aug 2017 19:26:51 -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=F7xknfoVMLQKCU36ZTv0tOG0BGOew/lcicDLMoq2nRG7Ux+cLl7vzczOCIveAwyW5+ QRLdSMjWe/TV+6n6SVJ+OcDPgAlljb6kR+Ryo73/5RwGDUiQD+74JbNzBej5pIR/X9c0 509taqANt6R1egpX3AQpcy3pIW7E5je8Zqyk4= 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=MM8G9AOl/N6Nux2sMlJZ1pH4RYi+mG/BsftfTuLH/InXvFxszpB51GYvNeHbcII6tH HD7+7omHGxBRKv51a5wd7ZdaiNTpCY1IUW4pGVxDrDp2ksVGs6eT0/3oS3092VL4CYC5 HP/X4XfYyzVolozXTaUjj4UCG2BA52+XvNvVaPGU4Rei9HRjhrnJxwiNehvTc2O6T2QO 8+8artUYNMH51DHaGr8CLg5hljWExxO9yQrGrxYGUu/ioPxfXR2r8+nS8JHW8/b2uIbt P0+9/R+LIobmbQAa5VqYVm3DYR6O00QfviwxIsDgQ3Ivd9yLsnDAMndJmF7UPAVZvgDG b+jg== X-Gm-Message-State: AHYfb5ji3PvoD1nqooOBh6mjeL1/Vh4JlWceMoWlqFOIr2q3v1BccHda v9dZbDzP2/XIAOfy X-Received: by 10.98.27.206 with SMTP id b197mr10372446pfb.149.1502332010990; Wed, 09 Aug 2017 19:26:50 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.55]) by smtp.gmail.com with ESMTPSA id s11sm7789166pgr.53.2017.08.09.19.26.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Aug 2017 19:26:50 -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 v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660 Date: Thu, 10 Aug 2017 10:26:09 +0800 Message-Id: <20170810022615.19204-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170810022615.19204-1-guodong.xu@linaro.org> References: <20170810022615.19204-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170809_192712_459762_3C164EC5 X-CRM114-Status: UNSURE ( 7.72 ) 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>;