Hi
I am using am1808 experimenters kit.I would like to write a GPIO driver as a loadable module. here i am giving the piece of code which i have implimented in IOCTL.
#define DA850_GPR_5P11 GPIO_TO_PIN(5,11)
The configuration of GPIO is given here.
gpio_request(DA850_GPR_5P11,"dipswitch");
gpio_direction_output(DA850_GPR_5P11,1);
gpio_set_value(DA850_GPR_5P11,0x00);
gpio_free(DA850_GPR_5P11);
with this configuration i was unable to touggle the gpio pin. can u suggest me the proper way to touggle the GPIO pin. and proper gpio configurations to be done for tougling.
Regards
Vasu