From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bedia, Vaibhav" Subject: RE: [PATCH 11/15] ARM: OMAP: timer: Interchange clksrc and clkevt for AM33XX Date: Mon, 5 Nov 2012 04:40:00 +0000 Message-ID: References: <1351859566-24818-1-git-send-email-vaibhav.bedia@ti.com> <1351859566-24818-12-git-send-email-vaibhav.bedia@ti.com> <509544A8.7010507@deeprootsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:34983 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841Ab2KEEkP convert rfc822-to-8bit (ORCPT ); Sun, 4 Nov 2012 23:40:15 -0500 In-Reply-To: <509544A8.7010507@deeprootsystems.com> Content-Language: en-US Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Kevin Hilman Cc: "linux-arm-kernel@lists.infradead.org" , "linux-omap@vger.kernel.org" , "paul@pwsan.com" , "Cousson, Benoit" , "tony@atomide.com" Hi Kevin, On Sat, Nov 03, 2012 at 21:52:00, Kevin Hilman wrote: > On 11/02/2012 12:32 PM, Vaibhav Bedia wrote: > > AM33XX has only one usable timer in the WKUP domain. > > After reading the TRM, it seems there are two: DMTIMER0 and DMTIMER1. > > Looking at the hwmod data though, I don't see a hwmod for DMTIMER0. Can > you explain a little about why DMTIMER0 is missing/broken? > DMTimer0 is usable only in secure devices only. This timer by default runs from an inaccurate RC oscillator the frequency of which can be anywhere from 16-60KHz based on process variations. There is a mux to change the clock source but the register for the mux can't be modified in GP devices. (will add this in the changelog) Regards, Vaibhav From mboxrd@z Thu Jan 1 00:00:00 1970 From: vaibhav.bedia@ti.com (Bedia, Vaibhav) Date: Mon, 5 Nov 2012 04:40:00 +0000 Subject: [PATCH 11/15] ARM: OMAP: timer: Interchange clksrc and clkevt for AM33XX In-Reply-To: <509544A8.7010507@deeprootsystems.com> References: <1351859566-24818-1-git-send-email-vaibhav.bedia@ti.com> <1351859566-24818-12-git-send-email-vaibhav.bedia@ti.com> <509544A8.7010507@deeprootsystems.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Kevin, On Sat, Nov 03, 2012 at 21:52:00, Kevin Hilman wrote: > On 11/02/2012 12:32 PM, Vaibhav Bedia wrote: > > AM33XX has only one usable timer in the WKUP domain. > > After reading the TRM, it seems there are two: DMTIMER0 and DMTIMER1. > > Looking at the hwmod data though, I don't see a hwmod for DMTIMER0. Can > you explain a little about why DMTIMER0 is missing/broken? > DMTimer0 is usable only in secure devices only. This timer by default runs from an inaccurate RC oscillator the frequency of which can be anywhere from 16-60KHz based on process variations. There is a mux to change the clock source but the register for the mux can't be modified in GP devices. (will add this in the changelog) Regards, Vaibhav