From patchwork Tue Dec 16 08:41:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5499841 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1708EBEEA8 for ; Tue, 16 Dec 2014 08:44:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28FCC20A1E for ; Tue, 16 Dec 2014 08:44:38 +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 5B455203E9 for ; Tue, 16 Dec 2014 08:44:37 +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 1Y0niH-00048K-38; Tue, 16 Dec 2014 08:42:37 +0000 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y0niC-00044W-Sp for linux-arm-kernel@lists.infradead.org; Tue, 16 Dec 2014 08:42:33 +0000 Received: by mail-wg0-f49.google.com with SMTP id n12so16732306wgh.36 for ; Tue, 16 Dec 2014 00:42:10 -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=HPcvWSp/3vkXdFSdRZK3LTvYVhVP2NDVK/M41fOSejs=; b=qvDuNQtYv3PgByM/2DZxahHmnRoCguGD8D+NdWKYMjnmoTdhEQq/G8CGxsDKd8NpEj BSkhUI7Eq8WxRSEFM/jL1HWCC+nmpuP+sywZQBgRQraD8lP5awMTYPDTenonwo3JDekn oN1HjY6zlXSyvvKQnJwBKGQQdp8ELHH9sr7nKOrNU6+WeA3iFTtYlCT4BtX0aqhE3OTA fRvGRsxfYIph5oc1PNRftzq3XWjTYbnJAXlM7sXLcoosHNikeaklX3fsT5W6CoeFpINq uT5vicOcQ9g0jQUjRg5t+wYv5HS9ED3wnJ+V9P4WcbLm7GUQqJRKqf1ZpEH4FWkbjeR9 UPnA== X-Received: by 10.180.72.199 with SMTP id f7mr2737137wiv.58.1418719330695; Tue, 16 Dec 2014 00:42:10 -0800 (PST) Received: from cizrna.lan (37-48-39-216.tmcz.cz. [37.48.39.216]) by mx.google.com with ESMTPSA id mu5sm8675458wic.18.2014.12.16.00.42.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 00:42:09 -0800 (PST) From: Tomeu Vizoso To: linux-pm@vger.kernel.org Subject: [PATCH v5 3/3] ARM: tegra: Add Tegra124 ACTMON support Date: Tue, 16 Dec 2014 09:41:21 +0100 Message-Id: <1418719298-25314-4-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1418719298-25314-1-git-send-email-tomeu.vizoso@collabora.com> References: <1418719298-25314-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141216_004233_110300_C95CBB30 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , Alexandre Courbot , Russell King , Pawel Moll , Tomeu Vizoso , Ian Campbell , Stephen Warren , linux-kernel@vger.kernel.org, Javier Martinez Canillas , Mikko Perttunen , devicetree@vger.kernel.org, Rob Herring , Thierry Reding , Kumar Gala , linux-tegra@vger.kernel.org, Arto Merilainen , linux-arm-kernel@lists.infradead.org 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Reviewed-by: Alexandre Courbot --- 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 a49e7da..9d7baa8 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>;