[Gta04-owner] 3.2-rc6-gta04 - another week, another rc.

NeilBrown neilb at suse.de
Mon Dec 19 10:45:08 CET 2011


On Mon, 19 Dec 2011 07:37:08 +0100 "Dr. H. Nikolaus Schaller"
<hns at goldelico.com> wrote:

> Hi Neil,
> great news!
> 
> Am 19.12.2011 um 01:14 schrieb NeilBrown:
> 
> > 
> > Hi,
> > git://neil.brown.name/gta04 merge
> > 
> > is now based on 3.2-rc6.
> > 
> > Other changes:
> > 
> > - power management for wifi is now fully automatic.
> >   When you 'up' the interface the power is turned on.
> >   Wnen you 'down' it, the regulator is turned off.
> 
> One question to this: is this interlocked with Bluetooth?
> There may be a hciattach running that will hickup if power
> is switched off.

The regulator stays on as long as either wifi or bluetooth want it.
wifi indicates it needs power by the interface being "up" and bluetooth
indicates that it needs power via the 'rfkill' status.

So there should be no hicups.

> 
> >   We really want them to start out with power off though.
> >   I think the best way to achieve this is to change uboot to
> >   *not* turn those regulators on.  It should probably leave as
> >   many regulators off as possible.
> 
> I think the current u-boot does not switch on VAUX4. It just
> switches on VAU2 and VAUX3 (which probably shouldn't
> be as well).

In board/goldelico/gta04/gta04.c, in misc_init_r, I can see:

	/* Bluetooth VAUX4 = 3.3V -- CHECKME: 3.3 V is not officially supported! We use 0x09 = 2.8V here*/
	twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX4_DEDICATED,
							/*TWL4030_PM_RECEIVER_VAUX4_VSEL_33*/ 0x09,
							TWL4030_PM_RECEIVER_VAUX4_DEV_GRP,
							TWL4030_PM_RECEIVER_DEV_GRP_P1);

which would turn VAUX4 on.   However I just did a "git pull" and found that
line now has "#if 0 / #endif" wrapped around it, so maybe this is fixed.

I'll have to build myself a uboot ... are there any tricks I need to know, or
is it just "./configure ; make" ??

Thanks,
NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20111219/08638912/attachment.bin>


More information about the Gta04-owner mailing list