This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Device driver to write to a bus of GPIO not contiguous on AM3517

Good morning,

 

I need to write a device driver using several GPIO (bus of 18bits) but the IO's are not contiguous (ex: IO24, 32, 35,126 ...). I don't have a clear picture yet on how to do that (perhaps I need to declare a platform_device) but I don't want to request the GPIO's one by one, I'm guessing there must be a way to write 18bits in one shot.

 

Can someone help me on that, any information, source code or website will be appreciated.

 

Thank you very much.