Dear all,

i am running uClinux but with a main line kernel 2.6.36.2 and trying to get 13 
GPIO lines of my MCF5307, to do some tests driving an LCD display, as below:

static struct gpio ks0108_gpios[] = {
{  0, GPIOF_OUT_INIT_LOW, "D0" },
{  1, GPIOF_OUT_INIT_LOW, "D1" },
{  2, GPIOF_OUT_INIT_LOW, "D2" },
{  3, GPIOF_OUT_INIT_LOW, "D3" },
{  4, GPIOF_OUT_INIT_LOW, "D4" },
{  5, GPIOF_OUT_INIT_LOW, "D5" },Linux version 
{  6, GPIOF_OUT_INIT_LOW, "D6" },
{  7, GPIOF_OUT_INIT_LOW, "D7" },
{ 10, GPIOF_OUT_INIT_LOW, "CS1" },
{ 11, GPIOF_OUT_INIT_LOW, "CS2" },
{ 12, GPIOF_OUT_INIT_LOW, "R_W" },
{ 13, GPIOF_OUT_INIT_LOW, "D_I" },
{ 14, GPIOF_OUT_INIT_LOW, "E" },
};

gpio_request_array(ks0108_gpios, 13);

The gpio_request_array() return without any error, but seems i can set 
correctly levels only lines PP0 to PP3, not 4to7, 10,11,12,13,14.

Am i doing something wrong ?


Thanks,
angelo
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to