9 Feb
2011
9 Feb
'11
3:53 p.m.
The GPIOs in this chip can be programmed using a codec register read/write. Anyone can use the soc_read/write or scu_ipc_read/writes to program the GPIO.
This is the same as any other CODEC with GPIOs.
Would putting one more wrapper over these APIs make it look better?
Yes, it means that users can just use standard Linux APIs to control the GPIOs instead of having to learn about the CODEC register map.
Okay, agreed. I will add the gpiolib support here (would add that as separate patch)
~Vinod