From patchwork Thu Jan 28 14:55:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Glauber X-Patchwork-Id: 8151211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D05A19F6DA for ; Thu, 28 Jan 2016 14:57:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C8D92034C for ; Thu, 28 Jan 2016 14:57:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B813120364 for ; Thu, 28 Jan 2016 14:57:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOnz1-0005Yk-ON; Thu, 28 Jan 2016 14:55:39 +0000 Received: from mail-wm0-f68.google.com ([74.125.82.68]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOnyx-0004np-J1 for linux-arm-kernel@lists.infradead.org; Thu, 28 Jan 2016 14:55:36 +0000 Received: by mail-wm0-f68.google.com with SMTP id l66so4234720wml.2 for ; Thu, 28 Jan 2016 06:55:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=s84J6cJF35zniyVbZMrg7BIW7Wezj3l4K7BisubYl9c=; b=PZVptSXdeVmieUYHPgI17yh17+hXxnjrPQGjsSj8OD5ISUM52E64PejNjVKGXL56/t ubny+RJnE6+BWFmZGWg0CDugHKuby62TmCaz+kp7/N7POK9vVQ9M0bunOHVFnuvfYBEV 7jezlL1QeV6ZJ5z2oFBzNvSCqq3DCdZlSJxqP3gnq09fQj978V04kQ6OuI66/MMs8gzc B+sT7hPl1KqHmIbmHAZ9n192mghtxJKBDfkBZHKf/J95w/iwEukC7UN/n+eg+HJacfiv 7197xAqQC+qJUkoHN0pUPNHB0/NT4EzSyOiWWtkRs9EAMZEeABJM0zcw6lt5M2lyN92z C5ow== X-Gm-Message-State: AG10YOTen1621SMiPYIBKg2dFVvrGjScDzuqI+leAgNQthnzni3slhNd37P77dpKqkcyBA== X-Received: by 10.194.113.227 with SMTP id jb3mr3680411wjb.49.1453992915278; Thu, 28 Jan 2016 06:55:15 -0800 (PST) Received: from wintermute.fritz.box (HSI-KBW-46-223-158-195.hsi.kabel-badenwuerttemberg.de. [46.223.158.195]) by smtp.gmail.com with ESMTPSA id w8sm11426867wjx.21.2016.01.28.06.55.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 06:55:14 -0800 (PST) From: Jan Glauber To: Will Deacon , Mark Rutland Subject: [PATCH v2 3/5] arm64: dts: Add Cavium ThunderX specific PMU Date: Thu, 28 Jan 2016 15:55:01 +0100 Message-Id: <457624bac49fc5541712fe5a8b8f50151340fa4a.1453992560.git.jglauber@cavium.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160128_065535_812199_5B3F7F0C X-CRM114-Status: GOOD ( 10.36 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a compatible string for the Cavium ThunderX PMU. Signed-off-by: Jan Glauber --- Documentation/devicetree/bindings/arm/pmu.txt | 1 + arch/arm64/boot/dts/cavium/thunder-88xx.dtsi | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.txt b/Documentation/devicetree/bindings/arm/pmu.txt index 5651883..d3999a1 100644 --- a/Documentation/devicetree/bindings/arm/pmu.txt +++ b/Documentation/devicetree/bindings/arm/pmu.txt @@ -25,6 +25,7 @@ Required properties: "qcom,scorpion-pmu" "qcom,scorpion-mp-pmu" "qcom,krait-pmu" + "cavium,thunder-pmu" - interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu interrupt (PPI) then 1 interrupt should be specified. diff --git a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi index 9cb7cf9..2eb9b22 100644 --- a/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi +++ b/arch/arm64/boot/dts/cavium/thunder-88xx.dtsi @@ -360,6 +360,11 @@ <1 10 0xff01>; }; + pmu { + compatible = "cavium,thunder-pmu", "arm,armv8-pmuv3"; + interrupts = <1 7 4>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;