Hi,
I have an 814x EVM and looking to control some of the available GPIO lines inside my application.
My application is currently trying to call some functions such as:
gpio_request_array(gpio_controls, ARRAY_SIZE(gpio_controls)); and gpio_set_value(GPIO_YELLOW_LED, 0);
I am having issues compiling as it cannot find various gpio header files including one in the ....asm/mach/ directory. It also seems
that these function calls may not be available to the application as some appear to be stubbed-out and/or require various kernel compilation switches.
I've also read infomation on accessing GPIO via sysfs using open , read , write , and close calls but I do not think this is the direction to go and is probably
not very efficient.
Does the 814x EVM Linux 2.6.37 support a GPIO user application driver and is there an available API ???
Should I create my own home grown driver that accesses the Set / Clr and other GPIO registers directly ???
I would appreciate any information and/or code examples on the best and most efficient way of handling the GPIO blocks in the 814x EVM.
Thanks