All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Nayak, Rajendra" <rnayak@ti.com>
Cc: "Raja, Govindraj" <govindraj.raja@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Varadarajan, Charulatha" <charu@ti.com>
Subject: Re: [GIT PULL] for testing: OMAP hwmod driver conversions: watchdog, UART, i2c
Date: Wed, 29 Sep 2010 13:03:49 -0700	[thread overview]
Message-ID: <87vd5owc4a.fsf@deeprootsystems.com> (raw)
In-Reply-To: <0680EC522D0CC943BC586913CF3768C003FF2DAF55@dbde02.ent.ti.com> (Rajendra Nayak's message of "Thu, 30 Sep 2010 01:24:05 +0530")

"Nayak, Rajendra" <rnayak@ti.com> writes:

[...]

>> > Btw, the WARN's come only for UART3 and the error at hwmod init shows that
>> > maybe _wait_target_ready fails.
>> >
>> > [    0.000000] NR_IRQS:402
>> > [    0.000000] Clocking rate (Crystal/DPLL/MPU): 13.0/660/330 MHz
>> > [    0.000000] omap_hwmod: uart3: cannot be enabled (3)
>> >
>> 
>> UART3 on 24xx is in CM_IDLEST2_CORE, and the 2430 hwmod data has it in
>> CM_IDLEST1_CORE.
>> 
>> Can you test the change below?  I don't have a 2430, and it appears that
>> this is already correct in the 2420 hwmod data.
>> 
>> Kevin
>> 
>> 
>> diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c
>> index 92f4ec0..5b61f7c 100644
>> --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c
>> +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c
>> @@ -449,9 +449,9 @@ static struct omap_hwmod omap2430_uart3_hwmod = {
>>  	.prcm		= {
>>  		.omap2 = {
>>  			.module_offs = CORE_MOD,
>> -			.prcm_reg_id = 1,
>> +			.prcm_reg_id = 2,
>>  			.module_bit = OMAP24XX_EN_UART3_SHIFT,
>> -			.idlest_reg_id = 1,
>> +			.idlest_reg_id = 2,
>>  			.idlest_idle_bit = OMAP24XX_EN_UART3_SHIFT,
>>  		},
>>  	},
>
> This does seem to fix the issue on 2430. I don't see the error at hwmod init
> or the WARN's later.

Thanks for testing Rajendra,

I'll fold this into the UART hwmod data for OMAP2 since that was
originally done by me, not Govindraj.

Kevin

  reply	other threads:[~2010-09-29 20:03 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 18:24 [GIT PULL] for testing: OMAP hwmod driver conversions: watchdog, UART, i2c Kevin Hilman
2010-09-28 20:18 ` Tony Lindgren
2010-09-28 21:35   ` Kevin Hilman
2010-09-29  4:01     ` Nayak, Rajendra
2010-09-29 16:14     ` Nayak, Rajendra
2010-09-29 16:17       ` Nayak, Rajendra
2010-09-29 19:18         ` Kevin Hilman
2010-09-29 19:28           ` Nayak, Rajendra
2010-09-29 19:40             ` Kevin Hilman
2010-09-29 19:54               ` Nayak, Rajendra
2010-09-29 20:03                 ` Kevin Hilman [this message]
2010-09-29 19:16       ` Kevin Hilman
2010-09-29 22:24   ` Kevin Hilman
2010-09-30  2:18     ` Tony Lindgren
2010-09-30  2:29       ` Tony Lindgren
2010-09-30  7:55         ` Shilimkar, Santosh
2010-10-01 23:38           ` Paul Walmsley
2010-10-01 23:48             ` Paul Walmsley
2010-09-30 14:39       ` Kevin Hilman
2010-09-30 15:13         ` Kevin Hilman
     [not found]           ` <877hi3gqq7.fsf@deeprootsystems.com>
2010-10-01 13:28             ` Nayak, Rajendra
2010-10-01 15:07               ` Kevin Hilman
2010-10-01 20:47                 ` Kevin Hilman
2010-10-02  0:47                   ` Tony Lindgren
2010-10-01 16:42               ` Cousson, Benoit
2010-10-05  6:01                 ` Paul Walmsley
2010-10-05  6:20                   ` Nayak, Rajendra
2010-10-05  6:24                     ` Paul Walmsley
2010-10-05  6:27                       ` Paul Walmsley
2010-10-05 12:33                   ` Nayak, Rajendra
2010-10-05 13:13                     ` Nayak, Rajendra
2010-10-05 16:58                     ` Paul Walmsley
2010-10-05 18:09                       ` Paul Walmsley
2010-10-05 18:48                       ` Nayak, Rajendra
2010-10-05 17:04                     ` Kevin Hilman
2010-10-05 18:53                       ` Nayak, Rajendra
2010-10-05 19:49                         ` Kevin Hilman
2010-10-05 20:26                           ` Nayak, Rajendra
2010-10-05 20:35                             ` Kevin Hilman
2010-10-05 20:41                               ` Nayak, Rajendra
2010-10-05 20:44                                 ` Kevin Hilman
2010-10-05 20:46                                   ` Nayak, Rajendra
2010-10-05 15:46                   ` Cousson, Benoit
2010-09-30 15:46         ` Tony Lindgren
2010-09-29 14:51 ` Varadarajan, Charulatha
2010-09-29 15:20   ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vd5owc4a.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=charu@ti.com \
    --cc=govindraj.raja@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=rnayak@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.