[PATCH 5/5] PalmGSM: add basic Centro support

Tomáš 'Sleep_Walker' Čech sleep_walker at suse.cz
Fri Aug 28 16:18:28 EDT 2009


Hi,

Dne Čt 27. srpna 2009 15:35:37 Marek Vasut napsal(a):
> Dne Čt 27. srpna 2009 02:43:31 Tomáš Čech napsal(a):
> > From: Tomáš Čech <sleep walker at suse.cz>
> >
> > ---
> ...
> > +	{
> > +		.name			= "centro:green:led",
> > +		.default_trigger	= "mmc0",
> > +		.gpio			= GPIO_NR_PALMGSM_GREEN_LED,
> > +	},
> > +	{
> > +		.name			= "centro:keybbl:keybbl",
> 
> Should be 'centro:white:keybbl' I think...see Documentation/leds-class.txt

I read it and I created the name accordingly, but if you don't accept this name, I would ommit color (centro::keybbl) - its color is white, but the buttons are light grey, dark grey and blue :)
I don't care much about that...

> > +		.default_trigger	= "none",
> > +		.active_low		= 1,
> > +		.gpio			= GPIO_NR_CENTRO_KEYB_BL,
> > +	},
> 
> And there is also that red led on the device, does it work already too?

It seems that red led is out of my control now - it seems to be attached to GSM chip. It can be turned off only when power source is unplugged and GSM chip is powered down now. This is to be found.

Best regards,

Tomas Cech



More information about the linux-arm-kernel mailing list