GPIO in Xenomai
Hi,
I'm looking for a way to use the SoC GPIO's (MPC5200) in an RT thread. Accessing them via the sysfs (the Linux userspace way) is not an option since we need to access the GPIO's at a quite high frequency.
How could the Linux gpiolib infrastructure best be exposed to RT threads? Has this been discussed before? Any ideas about the "best" approach here?
Thanks,
Stefan
Quoted 7 lines · Stefan Roese
I'm looking for a way to use the SoC GPIO's (MPC5200) in an RT thread. Accessing them via the sysfs (the Linux userspace way) is not an option since we need to access the GPIO's at a quite high frequency.
How could the Linux gpiolib infrastructure best be exposed to RT threads? Has this been discussed before? Any ideas about the "best" approach here?
Have you seen my block gpio patches (v7) that I posted recently to the kernel list? It now contains a dev interface - much faster than sysfs, and can operate on several GPIOs at once.
I can re-post here if it helps.
Thanks,
Roland
Quoted 9 lines · Roland Stigge
Quoted 7 lines · Stefan Roese
I'm looking for a way to use the SoC GPIO's (MPC5200) in an RT thread. Accessing them via the sysfs (the Linux userspace way) is not an option since we need to access the GPIO's at a quite high frequency.
How could the Linux gpiolib infrastructure best be exposed to RT threads? Has this been discussed before? Any ideas about the "best" approach here?
Quoted 5 lines
Have you seen my block gpio patches (v7) that I posted recently to the kernel list? It now contains a dev interface - much faster than sysfs, and can operate on several GPIOs at once.
I can re-post here if it helps.
No, I haven't seen those patches. Could you please post a link to those patches (re-posting here is not necessary).
Thanks,
Stefan
Quoted 8 lines · Stefan Roese
Quoted 5 lines
Have you seen my block gpio patches (v7) that I posted recently to the kernel list? It now contains a dev interface - much faster than sysfs, and can operate on several GPIOs at once.
I can re-post here if it helps.
No, I haven't seen those patches. Could you please post a link to those patches (re-posting here is not necessary).
Please consider:
http://lwn.net/Articles/525558/
As mbox at:
http://download.gmane.org/gmane.linux.kernel/1395900/1395906
Please tell if any questions arise.
Roland