On Mon, Apr 22, 2002 at 07:21:12PM +0200, Eric Benard / FREE wrote: > Russell King - ARM Linux wrote: > >On Mon, Apr 22, 2002 at 12:57:47PM +0200, Eric Benard / FREE wrote: > > > >>OK, I'm going to check this afternoon. > > > > > >Last I remember, a few bits in the BCR weren't correct to the manual. > >The GPIO states while suspended are probably a little questionable as > >well. > > > ok, here is what I did to progress (not clean hack, just to look where > the power leakage could come from): > > assabet.c : GPIO used by peripherals set as input when powering down > (PSDR), 3.68MHz quartz off when powerdown (PCFR_OPDE) > PWER = PWER_GPIO0; > PGSR = 0; > PCFR = PCFR_OPDE; > PSDR = 0xFFFFFFFF; > > > pm.c : set GPIO to a value (looking for the optimal value maybe , any > idea ? :) > in pm_do_suspend() after leds_event(led_stop); > > GPDR = 0x006000; > GPCR = 0x006000; > > ASSABET_BCR_set(0xA06490); > ASSABET_BCR_clear(0x5F9B6F);
Hmm, maybe you should add a PM callback in assabet.c instead of directly hacking pm.c? That way we could also fix the UCB reset problem (see patch 1100/1). > > The BCR/GPxR hack brings suspend current from 100mA@5V down to 50 mA@5V > The PCFR/PSDR hack brings suspend current from 50 mA@5V down to 30 mA@5V > > I'll go on investigating tomorrow. > > Eric > > > _______________________________________________ > 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.
