All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Sherk Chung <sherk.chung@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Standard API for RTDM SPI driver
Date: Thu, 08 Apr 2010 16:41:58 +0200	[thread overview]
Message-ID: <4BBDEB36.5070800@domain.hid> (raw)
In-Reply-To: <2319761F7FA0D1479BA77EC2E0A8E7BCDD191D@alpine.pivotalsys.com>

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.


      parent reply	other threads:[~2010-04-08 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBDEB36.5070800@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sherk.chung@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.