From patchwork Fri Nov 6 19:38:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 7571241 Return-Path: X-Original-To: patchwork-linux-omap@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 21C8F9F2F7 for ; Fri, 6 Nov 2015 19:40:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6523720615 for ; Fri, 6 Nov 2015 19:40:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F6EA203AA for ; Fri, 6 Nov 2015 19:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031835AbbKFTj3 (ORCPT ); Fri, 6 Nov 2015 14:39:29 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:34170 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030515AbbKFTjH (ORCPT ); Fri, 6 Nov 2015 14:39:07 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id tA6JcgxL006573; Fri, 6 Nov 2015 13:38:42 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id tA6JcgN8030800; Fri, 6 Nov 2015 13:38:42 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Fri, 6 Nov 2015 13:38:42 -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 tA6Jcfn1021195; Fri, 6 Nov 2015 13:38:42 -0600 From: Felipe Balbi To: Lokesh Vutla , Tony Lindgren CC: Linux OMAP Mailing List , Linux ARM Kernel Mailing List , "Menon, Nishanth" Subject: Re: [PATCH] arm: omap2: board-generic: use omap4_local_timer_init for AM437x In-Reply-To: <563C5F3C.5090900@ti.com> References: <1445375159-22234-1-git-send-email-balbi@ti.com> <563C5F3C.5090900@ti.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 6 Nov 2015 13:38:38 -0600 Message-ID: <87d1vmyl35.fsf@saruman.tx.rr.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, T_TVD_MIME_EPI, 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 Hi, Lokesh Vutla writes: > On Wednesday 21 October 2015 02:35 AM, Felipe Balbi wrote: >> AM437x-based boards, can use omap4_local_timer_init() >> just fine. Let's use that instead. > > This is breaking AM43x-epos board. > Today's Linux next: http://pastebin.ubuntu.com/13122620/ > Reverting this patch: http://pastebin.ubuntu.com/13122621/ seems like the 32k timer isn't ticking. I don't have EPOS around, care to confirm if that board has 32k oscillator populated ? If it doesn't, then we should probably disable counter32k: diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 86c2dfbe8875..e703e32b6da6 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -792,3 +792,8 @@ tx-num-evt = <32>; rx-num-evt = <32>; }; + +/* 32kHz oscillator not populated */ +&counter32k { + status = "disabled"; +};