hi,
i am using the dm3730 evm...In that i want use the gpio 139
Need to pin mux to set as gpio 139...
i have written the *.ko file....
static int user_pinmux_set_value(int value, unsigned long base)
{
//char * baseptr = ioremap(0xFC000000, 1024*1024);
//PINMUX0 is 4800 2168 for the pinconfig....
//__raw_writew(value,base);
base=0x016A;
//MUXVAL_VAL(OFFSET,VALUE)
writew(value,PINMUX0+(base));
printk(KERN_DEBUG "MUX is register the device\n");
}
which function to use for change the pins as gpio....