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: 9898467 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 A43BE602BA for ; Mon, 14 Aug 2017 10:03:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 949282850F for ; Mon, 14 Aug 2017 10:03:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8871828533; Mon, 14 Aug 2017 10:03:54 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW 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 148262850F for ; Mon, 14 Aug 2017 10:03:54 +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=Y9i8nPMGWz3Z4bKP7PSWf6MKK+ Ug6QBYr8F+CgLOoNs5qRzQ4XT1tFslzo7DM3mDKU0xlzpoCooiD4VEArbdkY9qCdqSaECNAWS1gjR 1cQTUW/Axww2D1JYcdXfdDh9RxrXrYC8LuS3M1jWdUx5A9BtJWLg61KWnxWcGSN/gIKtFU7JWOkBe ZWHMSCc1B+dkZhUu2tokMhbreBUJH6g26wDe3nQBj70PHBh0Z53WIY0udqBq/eg6SLIv+E+to8HlV /J0omjJZgAeMzDiT/Bx4vemZL1yrDsS/wTJ3r64GpqbxkpjPTJtYKoYbLltCqQs3W35KrA8zttu4i fvbhOGug==; 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 1dhCDv-00076H-Hv; Mon, 14 Aug 2017 10:03:51 +0000 Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhC34-0006ue-Rh for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2017 09:52:46 +0000 Received: by mail-pg0-x229.google.com with SMTP id v189so44088527pgd.2 for ; Mon, 14 Aug 2017 02:52:16 -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=rGBsZ3rH7ScjVNenFfJr/67ynPBcL515TtzeZM5pfekOD+TwpQeqLXrczjCEDxsuXf 6wxbZKiKHT+1ZmgaLS15aK98Bm7Jn9snG5Dct6Wd0BrTU5PXXSP1ozGs6gvn4xmqbx9+ mwkmhKu+nw3ZgRXAsKdL7nsvJvehBX55RfdQ+Mnzi+ACMKacu+yFHs+1q7jZEmsiXoHq B1ao9MV1LMn6yfSZDa+8HO/zsoUXzytTnJVUAR5tgnR1Pab/iVtDXC9XXfEsxybZ/bJ1 ijfX/H6SAoTE7iZP1dDXBG4F5vLvdx00tIW8U4MDJXY2WD9CipAaei+T2lofQewQo6Yq 78Rw== X-Gm-Message-State: AHYfb5imCAKlqmfquy3WrU4gPlyhkx7vlkDvEBiJrW8+/ZR0Y5dW8w0q pdBl4mR63o2nJqzZ 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170814_025239_761966_9B83D477 X-CRM114-Status: UNSURE ( 7.40 ) 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>;