From: Kevin Hilman <khilman@deeprootsystems.com>
To: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] OMAP3: PM: fix AM35x musb issue with AUTOIDLE bit in CONTROL_SYSCONFIG
Date: Wed, 05 May 2010 11:01:18 -0700 [thread overview]
Message-ID: <87vdb28byp.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1272965585-21836-1-git-send-email-ajay.gupta@ti.com> (Ajay Kumar Gupta's message of "Tue\, 4 May 2010 15\:03\:05 +0530")
Ajay Kumar Gupta <ajay.gupta@ti.com> writes:
> MUSB interface on AM35x stops working when we set AUTOIDLE bit (D0) in
> CONTROL_SYSCONFIG(0x48002010) register.
why?
stops working in what way?
I think you need to investigate more into why this is happening.
This suggest to me that something in the MUSB device/driver init
is not quite right for these boards.
Kevin
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
>
> ---
> arch/arm/mach-omap2/pm34xx.c | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
> index ea0000b..cc9d566 100644
> --- a/arch/arm/mach-omap2/pm34xx.c
> +++ b/arch/arm/mach-omap2/pm34xx.c
> @@ -849,7 +849,12 @@ static void __init prcm_setup_regs(void)
> CM_AUTOIDLE);
> }
>
> - omap_ctrl_writel(OMAP3430_AUTOIDLE, OMAP2_CONTROL_SYSCONFIG);
> + /*
> + * MUSB interface on AM35x stops working when we enable AUTOIDLE,
> + * so avoid this for AM3517 and AM3505 device.
> + */
> + if (!cpu_is_omap3517() && !cpu_is_omap3505())
> + omap_ctrl_writel(OMAP3430_AUTOIDLE, OMAP2_CONTROL_SYSCONFIG);
>
> /*
> * Set all plls to autoidle. This is needed until autoidle is
> --
> 1.6.2.4
next prev parent reply other threads:[~2010-05-05 18:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 9:33 [PATCH] OMAP3: PM: fix AM35x musb issue with AUTOIDLE bit in CONTROL_SYSCONFIG Ajay Kumar Gupta
2010-05-05 18:01 ` Kevin Hilman [this message]
2010-05-13 11:45 ` Gupta, Ajay Kumar
2010-05-14 9:52 ` Gupta, Ajay Kumar
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=87vdb28byp.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=ajay.gupta@ti.com \
--cc=linux-omap@vger.kernel.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 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.