From patchwork Wed Aug 14 12:50:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 11093919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A857912 for ; Wed, 14 Aug 2019 12:53:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46D3528816 for ; Wed, 14 Aug 2019 12:53:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3ADB728809; Wed, 14 Aug 2019 12:53:26 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCBF42880C for ; Wed, 14 Aug 2019 12:53:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728301AbfHNMxH (ORCPT ); Wed, 14 Aug 2019 08:53:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:36334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728292AbfHNMxE (ORCPT ); Wed, 14 Aug 2019 08:53:04 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A11B2083B; Wed, 14 Aug 2019 12:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787184; bh=/h3YqqWp1GHG2tFB04Jfi8yAYbuoQfxznrc6/QZfTZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SEAwZgLIU4Lj8Pzg3/OyeOHVZuaJMJPxR/sttBTVzoWxQsqrHs2PUEjfG84CZyTvA XQWiO7ez2qhhHs3NcFMLo481iDvJxZZOBiZYx3WGGBQcYpi/KuWJJa/CPJPoIR1fUS kpfq35JV8s2C+hj+TlOYI8RqwGBKhBYt7p2SF9MY= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH 20/22] arm64: dts: qcom: sm8150: Add pmu node to SM8150 SoC Date: Wed, 14 Aug 2019 18:20:10 +0530 Message-Id: <20190814125012.8700-21-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sibi Sankar Add the CPU PMU on SM8150 to get perf support for hardware events. Signed-off-by: Sibi Sankar Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 7111e1f092f4..19be87dc893f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -148,6 +148,11 @@ reg = <0 0x80000000 0 0>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";