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

Marek Vasut marek.vasut at gmail.com
Thu Aug 27 09:35:37 EDT 2009


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
> +		.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?
> +};
> +
> +static struct gpio_led_platform_data centro_gpio_led_info = {
> +	.leds		= centro_gpio_leds,
> +	.num_leds	= ARRAY_SIZE(centro_gpio_leds),
> +};
...



More information about the linux-arm-kernel mailing list