From patchwork Wed Nov 18 14:01:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 7649451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8654A9F443 for ; Wed, 18 Nov 2015 14:04:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5AC32053E for ; Wed, 18 Nov 2015 14:04:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B60D72062A for ; Wed, 18 Nov 2015 14:04:40 +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 1Zz3Jg-0008Mo-BY; Wed, 18 Nov 2015 14:02:32 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zz3Jc-0008J8-VO for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2015 14:02:29 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id tAIE1wvO015273; Wed, 18 Nov 2015 08:01:58 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id tAIE1wUO023457; Wed, 18 Nov 2015 08:01:58 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Wed, 18 Nov 2015 08:01:59 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id tAIE1vYK019913; Wed, 18 Nov 2015 08:01:58 -0600 From: Grygorii Strashko To: Subject: [4.4-rc][PATCH] ARM: dts: am4372: disable arm twd and global timer's nodes Date: Wed, 18 Nov 2015 16:01:55 +0200 Message-ID: <1447855315-419-1-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.6.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151118_060229_112116_10EE402F X-CRM114-Status: UNSURE ( 9.04 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Grygorii Strashko , slash.tmp@free.fr, nsekhar@ti.com, Felipe Balbi , t-kristo@ti.com, Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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.8 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 Keep ARM TWD and Global timer's nodes disabled by default - if someone would like to use them then those nodes have to be enabled explicitly in board file. The reason for this change is: - ARM TWD is not always-on timer on am437x and it will stop in low CPUIdle states and, therefore, broadcast timer has to configured properly if CPU_IDLE=y. - ARM Global timer is not always-on timer on am437x and it can't be used as clocksource device if CPU_IDLE=y. - ARM Global timer driver doesn't support CPUfreq now. Cc: Felipe Balbi Cc: Santosh Shilimkar Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/am4372.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index d83ff9c..11376e3 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -75,6 +75,7 @@ interrupts = ; interrupt-parent = <&gic>; clocks = <&dpll_mpu_m2_ck>; + status = "disabled"; }; local_timer: timer@48240600 { @@ -83,6 +84,7 @@ interrupts = ; interrupt-parent = <&gic>; clocks = <&dpll_mpu_m2_ck>; + status = "disabled"; }; l2-cache-controller@48242000 {