logo       

Re: Suspens on Assabet: msg#00138

linux.ports.arm.general

Subject: Re: Suspens on Assabet

On Mon, Apr 22, 2002 at 11:55:34AM +0100, Russell King - ARM Linux wrote:
> On Mon, Apr 22, 2002 at 12:25:16PM +0200, Eric Benard / FREE wrote:
> > I'm working on suspend / resume on Assabet and found that when
> > suspended, the Assabet still draws nearly 100 mA @ 5V which is quite huge !
>
> Hope you're not using the Neponset as well.
>
> I did do some work to fix some of the issues, but there are a small
> number left (eg, UCB reset line.)

Well, Russell, I got your hint now :)

Is a PM callback in assabet.c The Right Thing To Do, or where
should the platform-dependent GPIO/BCR/whatever PM code live?

I'd like to add a PM callback in linux/arch/arm/mach-sa1100/assabet.c
(and later in system3.c as well).

And about the UCB reset issue in the l3 code: IMHO only the first line should
be removed, thus:

--- l3-bit-sa1100.c.org Mon Apr 22 14:10:39 2002
+++ l3-bit-sa1100.c Mon Apr 22 14:10:48 2002
@@ -250,8 +250,6 @@
* need to do this here so that we can communicate on
* the I2C/L3 buses.
*/
- ASSABET_BCR_set(ASSABET_BCR_CODEC_RST);
- mdelay(1);
ASSABET_BCR_clear(ASSABET_BCR_CODEC_RST);
mdelay(1);
ASSABET_BCR_set(ASSABET_BCR_CODEC_RST);

The UCB would then get a reset when the l3 module is inserted, though.
Maybe we need some sort of resource management there?


>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> http://www.arm.linux.org.uk/armlinux/mailinglists.php
> Please visit the above addresses for information on this list.

--
Eletztrick Computing - Customized Linux Development
Stefan Eletzhofer
Gottlieb-Daimler-Strasse 10
88214 Ravensburg
GERMANY
http://www.eletztrick.de

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise