From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Moving I2C2 init to plat-omap/devices.c ?
Date: Thu, 16 Nov 2006 22:55:19 +0200 [thread overview]
Message-ID: <20061116205518.GT21064@atomide.com> (raw)
In-Reply-To: <200611161219.54874.david-b@pacbell.net>
Hi,
* David Brownell <david-b@pacbell.net> [061116 22:21]:
> 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".
Wow, that's great, nice job! That should fix the zero length i2c
probe issue too :)
Tony
next prev parent reply other threads:[~2006-11-16 20:55 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
2006-11-16 20:55 ` Tony Lindgren [this message]
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=20061116205518.GT21064@atomide.com \
--to=tony@atomide.com \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox