From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1947370AbcBRRcn (ORCPT ); Thu, 18 Feb 2016 12:32:43 -0500 Received: from foss.arm.com ([217.140.101.70]:41230 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426463AbcBRRcm (ORCPT ); Thu, 18 Feb 2016 12:32:42 -0500 Date: Thu, 18 Feb 2016 17:32:48 +0000 From: Will Deacon To: Jan Glauber Cc: Mark Rutland , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 3/5] arm64: dts: Add Cavium ThunderX specific PMU Message-ID: <20160218173248.GD16883@arm.com> References: <2b8c963d3e63ecfc412bfd6fab804890a1586b16.1455810755.git.jglauber@cavium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2b8c963d3e63ecfc412bfd6fab804890a1586b16.1455810755.git.jglauber@cavium.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2016 at 05:50:12PM +0100, Jan Glauber wrote: > Add a compatible string for the Cavium ThunderX PMU. Stupid question, but is "thunder" the name of the CPU or the SoC or ...? Whatever we use to describe the PMU, should probably also identify the CPU uniquely. Will > 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>; > -- > 1.9.1 >