Hello Rajeev ,
As u have mention "" Now one should export gpio using series of kernel inbuilt functions like GPIO_TO_PIN, gpio_request, gpio_direction_output, gpio_export ""
How One could Export GPIO from board.c file
I can able to control GPIO but want to export and set direction from board file . So it will be easy to handle file to Read and Write files from script.
I have gone through gpio.txt
where I found --> int gpio_export(unsigned gpio,bool direction_may_change);
and " gpio" might be (bank*32+pin) .
Regarding "direction_may_change" is it "" 0 """ for input and """" 1"""" for output ?? if I am going right then ;
how could i write in board.c file.
Regards
Praveen