AM335x CPSW reset (was "RE: [PATCH 04/11] ARM: OMAP2+: usb_host_fs: add custom reset for usb_host_fs (fsusb)") |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: AM335x CPSW reset (was "RE: [PATCH 04/11] ARM: OMAP2+: usb_host_fs: add custom reset for usb_host_fs (fsusb)")
- From: Paul Walmsley <paul@xxxxxxxxx>
- Date: Fri, 8 Jun 2012 17:10:03 -0600 (MDT)
- Cc: "Cousson, Benoit" <b-cousson@xxxxxx>, "Balbi, Felipe" <balbi@xxxxxx>, Tony Lindgren <tony@xxxxxxxxxxx>, "linux-omap@xxxxxxxxxxxxxxx" <linux-omap@xxxxxxxxxxxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, "Kristo, Tero" <t-kristo@xxxxxx>, Ohad Ben-Cohen <ohad@xxxxxxxxxx>
- In-reply-to: <79CD15C6BA57404B839C016229A409A83EA46087@DBDE01.ent.ti.com>
- User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
Hi
On Fri, 8 Jun 2012, Hiremath, Vaibhav wrote:
> In case of AM33xx, recently I came across similar issue (rather more
> than this) with CPSW module.
>
> The issue is,
>
> We have observed that, in order to disable the CPSW module
> (MODULEMODE=0x0), We have to assert OCP level reset, before disabling
> it; else module enters into unknown state, where register status shows,
> MODULEMODE turns 0x0, but idlests says module is busy.
>
> This has to be done everytime you try to disable the module.
>
> The worst part here is, CPSW has 4 submodules (SS, SL1, SL2, CPDMA),
> We have to assert reset signal to each submodules.
>
> So the approach I had taken is, I had implemented almost similar
> function specific to cpsw and introduced flag called
> HWMOD_SWSUP_RESET_BEFORE_IDLE.
Why "SWSUP" ?
> Now the question here would be, should we consider this IP bug or
> integration bug? If it is integration bug, then isn't this device issue?
I don't know if it's a bug in either place, but it sounds like something
that needs to be handled in the _am335x_disable_module() code in
mach-omap2/omap_hwmod.c.
- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Arm (vger)]
[ARM Kernel]
[ARM MSM]
[Linux Tegra]
[Maemo Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]