From patchwork Wed Feb 3 17:11:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Glauber X-Patchwork-Id: 8205631 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 082A89F38B for ; Wed, 3 Feb 2016 17:14:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3538A20266 for ; Wed, 3 Feb 2016 17:14:44 +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 6383E2027D for ; Wed, 3 Feb 2016 17:14:43 +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 1aR0zZ-0005cH-6L; Wed, 03 Feb 2016 17:13:21 +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 1aR0z6-0005DE-NO for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2016 17:12:55 +0000 Received: by mail-wm0-f67.google.com with SMTP id 128so8321405wmz.3 for ; Wed, 03 Feb 2016 09:12:32 -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=Y0pWHyAkQnp1R12L+u+6AnziHzqqDn+h1CvUuvcm3PctRy2j2Ow71LceLZabUK662p kD9T5JxojCET1LuNQdOY5MJGQtxgs3ujJ6+xkBGb426eGXRn3jPSdYue+UO+PrLmSW6d HP3836A5hGlaKnzzmMxietSbkBpeyXChINOaQZnCtC0jtPOwS1pUsvxlMp8kW6tWVgyK I7VdqyEXgcHJ93pp9Xe2TMdBqZr3andaOhSv+Zm/aj0oGFt5qsmrt8n+fH379Ek5sRVi mT8k0EK8B90HQwaGxvNAHqLBKXjaB5iooDU802a5yhqlni9bYn+xscH+WPHosXSXa2uw ihUg== X-Gm-Message-State: AG10YOQF03bnvmhSzbEGzl9XbCMrGEjqRYe63fJR6uV+c9RNpt2vmZhPl3lw6TdWRs7gmA== X-Received: by 10.28.176.133 with SMTP id z127mr26521887wme.22.1454519550911; Wed, 03 Feb 2016 09:12:30 -0800 (PST) Received: from wintermute.fritz.box (HSI-KBW-46-223-158-223.hsi.kabel-badenwuerttemberg.de. [46.223.158.223]) by smtp.gmail.com with ESMTPSA id u72sm8877096wmd.16.2016.02.03.09.12.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Feb 2016 09:12:30 -0800 (PST) From: Jan Glauber To: Will Deacon , Mark Rutland Subject: [PATCH v3 3/5] arm64: dts: Add Cavium ThunderX specific PMU Date: Wed, 3 Feb 2016 18:11:58 +0100 Message-Id: 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-20160203_091253_160737_1356C7F4 X-CRM114-Status: GOOD ( 10.41 ) 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.6 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>;