Received: by 10.223.185.116 with SMTP id b49csp2184001wrg; Mon, 12 Feb 2018 05:50:18 -0800 (PST) X-Google-Smtp-Source: AH8x227egdi8I1Y35SzoMlCxuwPrdCAbKnW7HFxVYdDBHYEudd6dghXSdDpilMUqaaPP32HQ87ig X-Received: by 10.98.253.5 with SMTP id p5mr11802170pfh.132.1518443418508; Mon, 12 Feb 2018 05:50:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518443418; cv=none; d=google.com; s=arc-20160816; b=SnrkJScw2OkyjuEH/ZXmbN/9nTPRowGv61XE5ZIGUDXRJC98VaGKkt2tL0MgTnwZQT ITLq2VJWZciO0WHoli8/Dc3fKeO50MtadWwZCaNn8XfuuF6p/ZG3R06LI15Q5LsD3/Sa y0ccYE3bmG/GyGdhaZj5CHKoQM/b3FGc+BCglvXGly1G4qU/q0zmyqsaP5jMzBA2RgSY jCwAM4JpKgKgVewwaNGh5hrBWDF8VLYHvXCOlkq2TZtUeGeVPfpnDEsH5/r4a3uC5+u/ 50JOtWWoZ4mz2ycVkCLEuuGbiCUcshdAt9kuFNBBG3zUFN7n2/I7v1QmOMp+u0Nk+LYD bLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=PYFC8P/5MOzPUmHXlbgyuZGadlJgN/Dkympm9KnDL8M=; b=dE+NRyDurzIHUVwSEcOjaUF1OH5g3kyX85roH9c1QOroPLf+fnDXBMlt/XsWI5rgp4 JH6LFLsC8JAFb4G67Hy+tCSf3d1zmPOrKnRw2FDExfP/7M/gFa/K3/Wth2Fd0o1HLrS6 Gc0wo/7IzieBTRIbQlml125pWF98+zhzBJ4KmZICPXbg8VF7lmoJSDeeE/YUi0omspdO AW8ZqlTgyWsv6oCgE8iQ0XNBxsJ9aB/1Ohw3djNZsKOT5oWeD2OvnBGK2b1jf+QWlxYC wKih5291uSvQTFJUycDXe7RmbbZMS3Is6Cil3yiwh2Qap8L18ARQ35IJeK44vS75pWVi Hc5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si2241188plz.22.2018.02.12.05.50.03; Mon, 12 Feb 2018 05:50:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934651AbeBLMkM (ORCPT + 99 others); Mon, 12 Feb 2018 07:40:12 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39262 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934557AbeBLMj4 (ORCPT ); Mon, 12 Feb 2018 07:39:56 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id A8261275CFD From: Sebastian Reichel To: Shawn Guo , Sascha Hauer , Fabio Estevam , Will Deacon , Mark Rutland Cc: Russell King , Ian Ray , Nandor Han , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv4 2/2] ARM: dts: imx53: PPD: Enable secure-reg-access Date: Mon, 12 Feb 2018 13:39:45 +0100 Message-Id: <20180212123945.15732-3-sebastian.reichel@collabora.co.uk> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180212123945.15732-1-sebastian.reichel@collabora.co.uk> References: <20180212123945.15732-1-sebastian.reichel@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add secure-reg-access on PPD device tree to enable PMU and hardware counters for perf. Reviewed-by: Fabio Estevam Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx53-ppd.dts | 4 ++++ arch/arm/boot/dts/imx53.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts index dd1b524e5074..3c87e0d73f63 100644 --- a/arch/arm/boot/dts/imx53-ppd.dts +++ b/arch/arm/boot/dts/imx53-ppd.dts @@ -562,6 +562,10 @@ }; }; +&pmu { + secure-reg-access; +}; + &pwm1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 1040251f2951..7df4853dc771 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -116,7 +116,7 @@ }; }; - pmu { + pmu: pmu { compatible = "arm,cortex-a8-pmu"; interrupt-parent = <&tzic>; interrupts = <77>; -- 2.15.1