All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-omap-open-source@linux.omap.com
Subject: Re: Moving I2C2 init to plat-omap/devices.c  ?
Date: Thu, 16 Nov 2006 12:19:54 -0800	[thread overview]
Message-ID: <200611161219.54874.david-b@pacbell.net> (raw)
In-Reply-To: <EA12F909C0431D458B9D18A176BEE4A508A01E5E@dlee02.ent.ti.com>

On Thursday 16 November 2006 6:58 am, Woodruff, Richard wrote:

> 	Getting any code into the I2C tree might take a bit of effort.
> Tony floated an interesting idea about creating an embedded I2C using
> David's frame work.  This might allow faster integration of performance
> related changes and the like with out fighting with SMB people.

I pinged the i2c list and got sort of mixed responses about that
notion of "embedded I2C" (i.e. rewrite) ... so I took a slightly
different and submitted patches aiming to add more driver model
compatibility to the current stack.

That means there'd still be a major functionality gap in the I2C
stack -- all the calls require a thread context, there are no
async callbacks -- but at least there's a solution for the setup
and configuration problems, potentially mergeable in 2.6.20 and
making the version of i2c-omap.c that's upstream become usable.

There may still be a need for a separate "embedded" stack though;
someone who can justify it should do so!

The patches are:

 http://lists.lm-sensors.org/pipermail/i2c/2006-November/000458.html
	... simple updates, some cleanup plus adding some missing
	driver model calls:  shutdown(), and suspend()/resume().
	Looks like this will be merged after minor tweaking.

 http://lists.lm-sensors.org/pipermail/i2c/2006-November/000469.html
	... not actually a patch; copied at the end of this message,
	this introduces the three interesting patches

 http://lists.lm-sensors.org/pipermail/i2c/2006-November/000470.html
	... first patch mentioned, adds new driver binding model
	that fully conforms to the Linux driver model

 http://lists.lm-sensors.org/pipermail/i2c/2006-November/000468.html
	... second patch mentioned, activates that new model

 http://lists.lm-sensors.org/pipermail/i2c/2006-November/000471.html
	... updates OSK support to use it, and tps65010 driver
	(but not aic23/ALSA, that's not upstream yet)

I figure getting those last three patches merged will "take a bit of
effort", so feel free to weigh in.  In terms of the original post on
this thread, it sort of assumes the OMAP I2C host would switch over
to a slightly different registration call, more or less passing the
platform_device.id ("2" etc) to the I2C layer and saying "use this
as the bus ID".

- Dave

  parent reply	other threads:[~2006-11-16 20:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15 20:21 Moving I2C2 init to plat-omap/devices.c ? Syed Mohammed, Khasim
2006-11-16  1:01 ` Tony Lindgren
2006-11-16  1:21   ` Syed Mohammed, Khasim
2006-11-16  1:55     ` Tony Lindgren
2006-11-16  2:30       ` Woodruff, Richard
2006-11-16  9:29         ` Nishanth Menon
2006-11-16 14:58           ` Woodruff, Richard
2006-11-16 20:11             ` Nishanth Menon
2006-11-16 21:01               ` Tony Lindgren
2006-11-16 20:19             ` David Brownell [this message]
2006-11-16 20:55               ` Tony Lindgren
2006-11-16 21:29                 ` David Brownell

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=200611161219.54874.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-omap-open-source@linux.omap.com \
    /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.