All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Standard API for RTDM SPI driver
@ 2010-04-06 21:08 Sherk Chung
  2010-04-08 12:48 ` Jan Kiszka
  2010-04-08 14:41 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: Sherk Chung @ 2010-04-06 21:08 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

Hi folks, after a fruitless search for a real-time SPI driver we are
considering having one developed.  It looks like there is a Xenomai RTDM
API for serial and CAN, but not for SPI.  Would it make sense to try to
come up with an RTDM API for SPI before we kick off the driver
development so that anything we build will conform to some standard.
Any suggestions on what a SPI RTDM API should look like?

 

-Sherk


[-- Attachment #2: Type: text/html, Size: 2124 bytes --]

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

* Re: [Xenomai-help] Standard API for RTDM SPI driver
  2010-04-06 21:08 [Xenomai-help] Standard API for RTDM SPI driver Sherk Chung
@ 2010-04-08 12:48 ` Jan Kiszka
  2010-04-08 14:41 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2010-04-08 12:48 UTC (permalink / raw)
  To: Sherk Chung; +Cc: xenomai

Sherk Chung wrote:
> Hi folks, after a fruitless search for a real-time SPI driver we are
> considering having one developed.  It looks like there is a Xenomai RTDM
> API for serial and CAN, but not for SPI.  Would it make sense to try to
> come up with an RTDM API for SPI before we kick off the driver
> development so that anything we build will conform to some standard.
> Any suggestions on what a SPI RTDM API should look like?
> 

Check the mailing list archive, there was once some SPI driver announced
for the BFIN 537 [1]. I do not recall much details, but I could imagine
that this is a quite good starting point.

In any case, feel free to discuss your interface design here as well as
post early prototypes.

Jan

[1] http://thread.gmane.org/gmane.linux.real-time.xenomai.devel/3451

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

* Re: [Xenomai-help] Standard API for RTDM SPI driver
  2010-04-06 21:08 [Xenomai-help] Standard API for RTDM SPI driver Sherk Chung
  2010-04-08 12:48 ` Jan Kiszka
@ 2010-04-08 14:41 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2010-04-08 14:41 UTC (permalink / raw)
  To: Sherk Chung; +Cc: xenomai

Sherk Chung wrote:
> Hi folks, after a fruitless search for a real-time SPI driver we are
> considering having one developed.  It looks like there is a Xenomai RTDM
> API for serial and CAN, but not for SPI.  Would it make sense to try to
> come up with an RTDM API for SPI before we kick off the driver
> development so that anything we build will conform to some standard. 
> Any suggestions on what a SPI RTDM API should look like?

>From my point of view, we need two APIs: the first in kernel-space, to
be used by device drivers which want to use SPI, which will probably
look a lot like Linux SPI API.

Another for applications using RTDM, which will be an RTDM device
profile, or socket protocol. This named device or socket protocol
implementation will be generic, and simply use the kernel-space API.

But I think you should propose the APIs, so that we do not discuss in
the void.

-- 
					    Gilles.


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

end of thread, other threads:[~2010-04-08 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 21:08 [Xenomai-help] Standard API for RTDM SPI driver Sherk Chung
2010-04-08 12:48 ` Jan Kiszka
2010-04-08 14:41 ` Gilles Chanteperdrix

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.