All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] GPIO in Xenomai
@ 2012-11-28  7:12 Stefan Roese
  2012-11-28  8:44 ` Roland Stigge
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2012-11-28  7:12 UTC (permalink / raw)
  To: 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai] GPIO in Xenomai
  2012-11-28  7:12 [Xenomai] GPIO in Xenomai Stefan Roese
@ 2012-11-28  8:44 ` Roland Stigge
  2012-11-28  8:48   ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Roland Stigge @ 2012-11-28  8:44 UTC (permalink / raw)
  To: Stefan Roese; +Cc: xenomai

On 11/28/2012 08:12 AM, Stefan Roese wrote:
> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai] GPIO in Xenomai
  2012-11-28  8:44 ` Roland Stigge
@ 2012-11-28  8:48   ` Stefan Roese
  2012-11-28  9:04     ` Roland Stigge
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2012-11-28  8:48 UTC (permalink / raw)
  To: Roland Stigge; +Cc: xenomai

On 11/28/2012 09:44 AM, Roland Stigge wrote:
> On 11/28/2012 08:12 AM, Stefan Roese wrote:
>> 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.

No, I haven't seen those patches. Could you please post a link to those
patches (re-posting here is not necessary).

Thanks,
Stefan




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai] GPIO in Xenomai
  2012-11-28  8:48   ` Stefan Roese
@ 2012-11-28  9:04     ` Roland Stigge
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Stigge @ 2012-11-28  9:04 UTC (permalink / raw)
  To: Stefan Roese; +Cc: xenomai

On 11/28/2012 09:48 AM, Stefan Roese wrote:
>> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-28  9:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  7:12 [Xenomai] GPIO in Xenomai Stefan Roese
2012-11-28  8:44 ` Roland Stigge
2012-11-28  8:48   ` Stefan Roese
2012-11-28  9:04     ` Roland Stigge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.