From patchwork Mon Jun 15 18:46:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Huey X-Patchwork-Id: 6611421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5F104C0020 for ; Mon, 15 Jun 2015 18:49:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8497A20795 for ; Mon, 15 Jun 2015 18:49:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ADC7920794 for ; Mon, 15 Jun 2015 18:49:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4ZP7-0002CW-G9; Mon, 15 Jun 2015 18:46:41 +0000 Received: from mail-pd0-f182.google.com ([209.85.192.182]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z4ZP1-0001xK-3d for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2015 18:46:35 +0000 Received: by pdbki1 with SMTP id ki1so78745266pdb.1 for ; Mon, 15 Jun 2015 11:46:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=U4bdaWBeJrHFwb9HunIlPHj1d4DsXNKs0th0XKQVn+U=; b=bPj+WoUx9rrHOdz9sHGoOFhWuzmBBcBbE2qHZbE3zEQCVMAuUF/XTmatDZSLJPRJkq gvOzQf1ZstMMpuO/xJZtR7Tf8uWq6pg1Bcgyl7ZZo4BDC5jFYBsNQAs7UPsWzRsyhQH2 7E3IvjCGRv4OOn0f9T9bd1ORpn46yc9oy7v/FU8/ljo3Br14F5NTKlo1BI4i3wSvvfod elJXKLFEYD2LGURJBe9ePlbnjoOydtGK4M8u54tbg6EbKuqdOsZH5xuqUMEoaDHC2NPY 6Q9mTNgxO0fvkz1L75TI5gQQEQ33CUGWIXqTY8a+ri1cS8KldF3+1wlAGZGYDONr/A67 AGgw== X-Gm-Message-State: ALoCoQkPqmnmG+ol74PZch0vsuY9PoPINPcn97dJj6IbdOoiGy5yy7jfCm9AFvrXFmFay31wAnS3 X-Received: by 10.68.88.33 with SMTP id bd1mr28414295pbb.124.1434393973702; Mon, 15 Jun 2015 11:46:13 -0700 (PDT) Received: from minbar.corp.sfo1.mozilla.com (corp-nat.p2p.sfo1.mozilla.com. [63.245.219.53]) by mx.google.com with ESMTPSA id o3sm12995344pds.1.2015.06.15.11.46.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 11:46:13 -0700 (PDT) From: Kyle Huey X-Google-Original-From: Kyle Huey To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Stephen Warren , Thierry Reding , Alexandre Courbot , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: tegra124: pmu support Date: Mon, 15 Jun 2015 11:46:08 -0700 Message-Id: <1434393968-1105-1-git-send-email-khuey@kylehuey.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150615_114635_200895_8737FEE5 X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Kyle Huey , Jon Hunter X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch modifies the device tree for tegra124 based devices to enable the Cortex A15 PMU. The interrupt numbers are taken from NVIDIA TRM DP-06905-001_v03p. This patch was tested on a Jetson TK1. Signed-off-by: Kyle Huey Acked-by: Jon Hunter --- arch/arm/boot/dts/tegra124.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 4be06c6..d966d4e 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -906,16 +906,24 @@ cpu@3 { device_type = "cpu"; compatible = "arm,cortex-a15"; reg = <3>; }; }; + pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = , + , + , + ; + }; + thermal-zones { cpu { polling-delay-passive = <1000>; polling-delay = <1000>; thermal-sensors = <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; };