From patchwork Mon Nov 24 12:28:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5365671 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0DF739F2F5 for ; Mon, 24 Nov 2014 12:30:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3EA2B203DA for ; Mon, 24 Nov 2014 12:30:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6BCD1203A0 for ; Mon, 24 Nov 2014 12:30:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753131AbaKXMaH (ORCPT ); Mon, 24 Nov 2014 07:30:07 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:55196 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbaKXM3p (ORCPT ); Mon, 24 Nov 2014 07:29:45 -0500 Received: by mail-wg0-f52.google.com with SMTP id a1so12307999wgh.25 for ; Mon, 24 Nov 2014 04:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=OupsUmgfFQMQR+jtpEK0SJEAeSaqQZEFmkKO+N9E4VA=; b=rBP1YSSAeEX/5i6VdkQsLUwPY9OYYUkJtHCy02accIVS7LFNT6ZTQ/M6ukk3o5xqUh 4kDZdtSWbrw3XHi2TaOe+L3yQyQur+JNxSfJIAzkfYWV47AqyC+RS/wzEhTRwy1TugVv o4BpnJDmx9lDVwK/YWDZ1vT4/wvZhsMnaj/YaS3FDeVKdRNi2KdnVV1Xf6MOS3ZNbsz5 clIAPqu+jzjDod9+uAKPgBn3Kwp/LCIUztDkdFcJu93nRo5FxJ5YArrnKfLLrB9KWlRW QQh551JDXIwPTFb2KsUlxDyM9WOHQ6k/Mz07Gdtx7EJmarcRPyWrfFN6o/S0btIXjeQh qj+w== X-Received: by 10.180.101.200 with SMTP id fi8mr21268153wib.77.1416832184249; Mon, 24 Nov 2014 04:29:44 -0800 (PST) Received: from cizrna.lan (37-48-39-106.tmcz.cz. [37.48.39.106]) by mx.google.com with ESMTPSA id n8sm6187915wjx.0.2014.11.24.04.29.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 04:29:43 -0800 (PST) From: Tomeu Vizoso To: linux-pm@vger.kernel.org Cc: Javier Martinez Canillas , Tomeu Vizoso , 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 3/3] ARM: tegra: Add Tegra124 ACTMON support Date: Mon, 24 Nov 2014 13:28:18 +0100 Message-Id: <1416832111-367-4-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1416832111-367-1-git-send-email-tomeu.vizoso@collabora.com> References: <1416832111-367-1-git-send-email-tomeu.vizoso@collabora.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_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 Add device node for the ACTMON block to the Tegra124 device tree. Signed-off-by: Tomeu Vizoso --- v2: * Add operating-points property --- arch/arm/boot/dts/tegra124.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index dfc476b..8b19f4c 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -215,6 +215,29 @@ reg = <0x0 0x60007000 0x0 0x1000>; }; + actmon@0,6000c800 { + compatible = "nvidia,tegra124-actmon"; + reg = <0x0 0x6000c800 0x0 0x400>; + interrupts = ; + clocks = <&tegra_car TEGRA124_CLK_ACTMON>, + <&tegra_car TEGRA124_CLK_EMC>; + clock-names = "actmon", "emc"; + resets = <&tegra_car 119>; + reset-names = "actmon"; + operating-points = < + /* KHz uV */ + /* TODO: Add more points below 102 MHz */ + 102000 800000 + 204000 800000 + 300000 820000 + 396000 850000 + 528000 880000 + 600000 910000 + 792000 980000 + 924000 1010000 + >; + }; + gpio: gpio@0,6000d000 { compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio"; reg = <0x0 0x6000d000 0x0 0x1000>;