From patchwork Mon Feb 12 12:39:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 10212563 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A340A60600 for ; Mon, 12 Feb 2018 12:49:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B6CC28B50 for ; Mon, 12 Feb 2018 12:49:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FBD628B90; Mon, 12 Feb 2018 12:49:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAE7528B50 for ; Mon, 12 Feb 2018 12:49:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cOAQ71yuUZqBpdG/yZBM/h2FfrFdxQ4TzRiRK0zjDuc=; b=mjdLnq9yRB2tbTJBstDlAPi13N AzCtcnyynvvjajQfH2OMm9AqfSmT8117GvrIuZOeLBMPSfUtx1XVeqVEYhRYlWkYWith6qVKwOOB7 HpqXELsGecp9OyEVXL7roQ7fjR5eb2JfEekszWcd9XqFEmCpWIqGkl0FoNYIyc7y22b29IGVE7hsR XNoW25SbdzQ20bI3Ccki0rr1/JqNCk+kOUEbsWnNUxLTgDm69wp6RSIN8reNo8BwO7cId/FCKLIdX k5+At9NBDCVSpexr+Myu9X8XLArn3u5XzUpSv1CHVQYUr7PI+3SeNKV7wT94BRbd7QO74c2fcM2KF wV945Bww==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elDXP-0006Hm-OQ for patchwork-linux-arm@patchwork.kernel.org; Mon, 12 Feb 2018 12:48:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cOAQ71yuUZqBpdG/yZBM/h2FfrFdxQ4TzRiRK0zjDuc=; b=oWcra+QvPYDfEe0r1YT8FHCKj3 cAYAn1Tt4tI11J7gUXrAbqgKJ2H/3Q87noukdLYXheyZm7FX2fm7cgmRlKc72dJIgb+C8M14qZN5b JB+DQ9kinvtH2mh9JAdjslCPY7ZREtrYt0sEDd4lRQ9jDGGgWINU5oT367hKEgbHDtMUYbq6uFBmG 5uLPpaW95BZelnHG1xCVftbrKUnoK4Dxzy4pKP5ClAzekXH6DwCYUAJi3cRXMLTJ1TPxxDHOV0n5A N6ZEueiruE4CBqP0EdoaF0sInVD/wfgl7IGDUf6E4eiNViDp/lG3mBHiGC2C2i++ije19ROtut/Zo RbqAdJtg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elDPP-0007G2-AI; Mon, 12 Feb 2018 12:40:35 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elDOs-0005JL-WF for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2018 12:40:04 +0000 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 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> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Russell King , Ian Ray , Nandor Han , Sebastian Reichel , kernel@collabora.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>;