All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
To: Marc Dietrich
	<Marc.Dietrich-wkdnK3oF/XPYtB+G+YtuwQgYPMzSbZxj@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: implementing a slave driver
Date: Wed, 23 Feb 2011 01:02:16 +0000	[thread overview]
Message-ID: <20110223010216.GX15795@trinity.fluff.org> (raw)
In-Reply-To: <201102192253.40287.marc.dietrich-wkdnK3oF/XPYtB+G+YtuwQgYPMzSbZxj@public.gmane.org>

On Sat, Feb 19, 2011 at 10:53:12PM +0100, Marc Dietrich wrote:
> Hi,
> 
> the HW I'm using (tegra) can be configured to act as a slave. This function is 
> needed to communicate with an embedded controller (which is the master). I 
> like to know if this slave function can/should be implemented in the 
> i2c/busses/i2c-tegra.c driver or better outside, e.g. in the driver for the 
> embedded controller.
> 
> I haven't found any other hw so far which has this function and it seems that 
> the i2c layer does not provide any interface for the communication with a 
> master.

There's a couple of adapters that do this in the ARM world, all the 
samsung ones and the most of the pxas (if not all)

It might be worth doing a simple slave driver, but I'm not sure how
many would really want to use it?

-- 
Ben Dooks, ben-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, http://www.fluff.org/ben/

Large Hadron Colada: A large Pina Colada that makes the universe disappear.

  parent reply	other threads:[~2011-02-23  1:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-19 21:53 implementing a slave driver Marc Dietrich
     [not found] ` <201102192253.40287.marc.dietrich-wkdnK3oF/XPYtB+G+YtuwQgYPMzSbZxj@public.gmane.org>
2011-02-23  1:02   ` Ben Dooks [this message]
     [not found]     ` <20110223010216.GX15795-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2011-02-23 10:07       ` Wolfram Sang
2011-02-23 10:30   ` Fillod Stephane
     [not found]     ` <127CF106CD5B1D4EBD10849ED01511C04A7349-JSBSl2LYuLWxj7G+uSGfQodCfwrvHnrt0E9HWUfgJXw@public.gmane.org>
2011-02-24 16:09       ` Marc Dietrich

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=20110223010216.GX15795@trinity.fluff.org \
    --to=ben-i2c-elnmno+kys3ytjvyw6ydsg@public.gmane.org \
    --cc=Marc.Dietrich-wkdnK3oF/XPYtB+G+YtuwQgYPMzSbZxj@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.