From patchwork Fri May 8 08:27:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 22546 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n488UnxH024662 for ; Fri, 8 May 2009 08:30:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762187AbZEHIaL (ORCPT ); Fri, 8 May 2009 04:30:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761879AbZEHIaL (ORCPT ); Fri, 8 May 2009 04:30:11 -0400 Received: from rv-out-0506.google.com ([209.85.198.238]:9839 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759820AbZEHIaH (ORCPT ); Fri, 8 May 2009 04:30:07 -0400 Received: by rv-out-0506.google.com with SMTP id f9so1025672rvb.1 for ; Fri, 08 May 2009 01:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=snUUhZ7xr7mSq6Ty8ATDpIGOMXIwhvnbsaSg+qvd9pA=; b=UW/qu4pSBfxuSR4ij+o3yXMHE8nxQmkOCajlzigViD5wx0a4bchiqezr68HghWvpKk 1Tths8Ys+wB/VQkoa6atmY5awSFf+RM6Y/bjHAaImz6ffXAcoTwyFidbTTDRt8EAfDSM Ssuc1M2Wf1A+X+qtD75qhUvyjVeQD9ihb0ZuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=kxKdlMVt5pczybq9yQHtBqu82NQMrMrJWQ4RmSSIn3oKSLjJ05kusmBsihOK8W2yPa FgylVNtpk1dqYQvoyxYfpI+oCgXvyfuwBn54CMNouX9RdIgIT42CPpFiQ6ro/zTEnDuI OzE9aa8Rr61426pfwmvN7oe3We9Sben+RCikA= Received: by 10.114.159.5 with SMTP id h5mr3301719wae.36.1241771406294; Fri, 08 May 2009 01:30:06 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id q20sm2953757pog.20.2009.05.08.01.30.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 May 2009 01:30:05 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Fri, 08 May 2009 17:27:19 +0900 Message-Id: <20090508082719.30262.93811.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: enable TMU clocksource on sh7722 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm This patch enables the TMU clocksource on sh7722. To prioritize TMU over CMT we also adjust the CMT clock source rating. Signed-off-by: Magnus Damm --- arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ work/arch/sh/kernel/cpu/sh4a/setup-sh7722.c 2009-05-08 15:35:02.000000000 +0900 @@ -183,7 +183,7 @@ static struct sh_timer_config cmt_platfo .timer_bit = 5, .clk = "cmt0", .clockevent_rating = 125, - .clocksource_rating = 200, + .clocksource_rating = 125, }; static struct resource cmt_resources[] = { @@ -245,7 +245,7 @@ static struct sh_timer_config tmu1_platf .channel_offset = 0x10, .timer_bit = 1, .clk = "tmu0", - .clocksource_rating = 0, /* disabled for now */ + .clocksource_rating = 200, }; static struct resource tmu1_resources[] = {