From: avinashhm@ti.com (Avinash.H.M.)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup
Date: Wed, 25 May 2011 00:37:18 +0530 [thread overview]
Message-ID: <20110524190718.GA6899@avinash-laptop> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC3560870370A4D887@dbde02.ent.ti.com>
On Thu, May 19, 2011 at 06:05:21PM +0530, Koyamangalath, Abhilash wrote:
> I have tried the patch on am37x evm and the i2c soft-reset time-out issue doesn't
> seem to go off for me. Previously I used to get a log :
>
> [ 0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
> [ 0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
> [ 0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
>
> And now I get :
> [ 0.000000] omap_i2c_reset: i2c1: softreset failed (waited 10000 usec)
> [ 0.000000] omap_i2c_reset: i2c2: softreset failed (waited 10000 usec)
> [ 0.000000] omap_i2c_reset: i2c3: softreset failed (waited 10000 usec)
>
> So the function where this failure happens seems to be the only thing that has changed.
> I've tried this patch on top of the recent PSP 04.02.00.07 release.
> What am I missing?
Abhilash ,
I am not sure what is PSP 04.02.00.07 release. But you should make sure
that the hwmod structures in omap_hwmod_3xxx_data.c should have the
16_bit flags.
Below is just a snippet in P.S.. There is already a patch submitted by
andy green for this. Not sure, if it is merged.
With this and the posted v3 patch, you should not see timeouts. Or else
you have some other problem.
thanks ,
- Avinash
PS:
static struct omap_hwmod omap3xxx_i2c1_hwmod = {
.name = "i2c1",
+ .flags = HWMOD_16BIT_REG,
>
> thanks,
> Abhilash
>
>
>
> > >
> > >
> > > - Paul
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-05-24 19:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 9:21 [PATCH v3] OMAP2/3: hwmod: fix the i2c-reset timeout during bootup Avinash.H.M
2011-05-05 21:58 ` Paul Walmsley
2011-05-09 12:48 ` Avinash.H.M.
2011-05-18 16:22 ` Paul Walmsley
2011-05-18 16:25 ` Avinash.H.M.
2011-05-19 12:35 ` Koyamangalath, Abhilash
2011-05-24 19:07 ` Avinash.H.M. [this message]
2011-05-25 13:15 ` Koyamangalath, Abhilash
2011-05-20 15:02 ` Avinash.H.M.
2011-05-20 15:38 ` Avinash.H.M.
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=20110524190718.GA6899@avinash-laptop \
--to=avinashhm@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).