From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH] ARM: dts: imx6q-bx50v3: Enable secure-reg-access Date: Fri, 2 Feb 2018 15:18:20 +0800 Message-ID: <20180202071819.GE25699@dragon> References: <20180115160722.17206-1-sebastian.reichel@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180115160722.17206-1-sebastian.reichel@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: Sebastian Reichel Cc: Sascha Hauer , Frank Li , Fabio Estevam , Ian Ray , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org + Frank On Mon, Jan 15, 2018 at 05:07:22PM +0100, Sebastian Reichel wrote: > From: Peter Senna Tschudin > > Add secure-reg-access on device tree include file for Bx50 devices > to enable PMU and hardware counters for perf. > > Signed-off-by: Peter Senna Tschudin > Signed-off-by: Sebastian Reichel > --- > arch/arm/boot/dts/imx6q-bx50v3.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi > index 86cfd4481e72..ccaaee83e2fa 100644 > --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi > +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi > @@ -43,6 +43,13 @@ > #include "imx6q-ba16.dtsi" > > / { > + soc { > + pmu { > + compatible = "arm,cortex-a9-pmu"; > + secure-reg-access; I'm not sure this could be a board level configuration. Shouldn't this property just be added into pmu node in imx6qdl.dtsi? Shawn > + }; > + }; > + > clocks { > mclk: clock@0 { > compatible = "fixed-clock"; > -- > 2.15.1 >