Other Parts Discussed in Thread: DA8XX
We have to control multiple GPIO pins on Am62x in one of our project at u-Boot level. The dir,set and get api needs to accessed at u-boot level.
For Am62x the compatible driver is ti-keystone-gpio. i have done the below mentioned configuration, but cant able to get it working.
kindly help us to solve the problem.
in Configuration file
in device tree file i have made the changes as
test-gpio = <&main_gpio0 49 GPIO_ACTIVE_HIGH>
Then in the .C File
While testing i have got the ret value as -2. which is negative value says there is a error.
Whether this changes are sufficient or do i need to modify more, to get it working.