From patchwork Thu Feb 18 16:50:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Glauber X-Patchwork-Id: 8352211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5072EC0553 for ; Thu, 18 Feb 2016 16:53:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 83B44200DC for ; Thu, 18 Feb 2016 16:53:17 +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 AC269203A0 for ; Thu, 18 Feb 2016 16:53:16 +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 1aWRny-0003g5-T9; Thu, 18 Feb 2016 16:51:50 +0000 Received: from mail-wm0-f67.google.com ([74.125.82.67]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aWRnA-0003IC-Qd for linux-arm-kernel@lists.infradead.org; Thu, 18 Feb 2016 16:51:04 +0000 Received: by mail-wm0-f67.google.com with SMTP id g62so4009827wme.2 for ; Thu, 18 Feb 2016 08:50:43 -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=Qf5sT52WnLnTIKlhL3TbNturoaxHgAzb+VrwWU/JZRbwIO6dRT2h57/k4AkHCJxPM5 5Q+AXIVCYT2RvfTYX4i+8Tq0Nqy6H4hZF7ke0Ji8jdUTWjCQynhzjA/IiccMUl513MLr gaX9C6s7HkeyvbiMitHR2/OK/okYqalZXg7OZur1Rdzs+iKOV8iWUTau0Eapm2foM0YA VlDUSDcj12CL9TJ49X/7JDDIxgOCygJgExwcTMVGyXfQEZFjJh9/drVbI6jq5I7NAoe0 bZG0OAYvCx1ZoJjxjrec+BBzJxpO6pd1w+SKO/QuCI+v0h+XtTxIPko4wqQkrQdx9f8Y 0sZw== X-Gm-Message-State: AG10YORsFtzcFVd6JhbGuNoxxcyIR8SrhjTKw+YZdFnZplHrhjzr5L9GDMbIeNtWLydxvw== X-Received: by 10.194.22.68 with SMTP id b4mr8439306wjf.158.1455814242236; Thu, 18 Feb 2016 08:50:42 -0800 (PST) Received: from wintermute.fritz.box (HSI-KBW-46-223-157-133.hsi.kabel-badenwuerttemberg.de. [46.223.157.133]) by smtp.gmail.com with ESMTPSA id ka4sm7333857wjc.47.2016.02.18.08.50.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Feb 2016 08:50:41 -0800 (PST) From: Jan Glauber To: Will Deacon , Mark Rutland Subject: [PATCH v4 3/5] arm64: dts: Add Cavium ThunderX specific PMU Date: Thu, 18 Feb 2016 17:50:12 +0100 Message-Id: <2b8c963d3e63ecfc412bfd6fab804890a1586b16.1455810755.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-20160218_085101_214028_554E973E X-CRM114-Status: GOOD ( 10.16 ) X-Spam-Score: -2.6 (--) 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, Jan Glauber 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>;