public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/3] I2C bus registration helper
@ 2007-11-02 13:46 jarkko.nikula
  2007-11-02 13:46 ` [PATCH 1/3] ARM: OMAP: Add helper module for board specific I2C bus registration jarkko.nikula
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: jarkko.nikula @ 2007-11-02 13:46 UTC (permalink / raw)
  To: linux-omap-open-source

I was recently looking how we register I2C busses for different OMAPs &
boards and it looked somewhat confusing to me :-)

Currently registration is done in various places:
plat-omap/devices.c, mach-omap2/devices.c and also in each board file
which wants to use different I2C clock rate than 100 kHz (e.g 2430sdp).

So I came up the idea that this should be simplified and to be more flexible
related to clock rates and number of busses configured.

Idea is in patch 1, patch 2 takes it into use and modifies those board files
which are already in mainline. Helper should cover all OMAP generations
from 1 to 3.

Note that this is tested shortly on N800 only. Yep, not even compile tested
for other OMAP platforms or boards :-)

Comments and test reports are welcome.

-- 
Jarkko

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH/RFC 0/3 rev 3] I2C bus registration helper
@ 2007-11-07 10:54 Jarkko Nikula
  2007-11-07 10:54 ` [PATCH 1/3] ARM: OMAP: Add helper module for board specific I2C bus registration Jarkko Nikula
  0 siblings, 1 reply; 17+ messages in thread
From: Jarkko Nikula @ 2007-11-07 10:54 UTC (permalink / raw)
  To: linux-omap-open-source

Third version of I2C bus registration helper. Now omap_i2c_mux_pins
is supposed to stay here for doing pin muxing for I2C as suggested by David

http://linux.omap.com/pipermail/linux-omap-open-source/2007-November/011906.html

Patch 2 differs only in board-h4.c where omap_cfg_reg calls are removed.
Patch 3 is the same than previously.

-- 
Jarkko

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

end of thread, other threads:[~2007-11-07 10:54 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 13:46 [PATCH/RFC 0/3] I2C bus registration helper jarkko.nikula
2007-11-02 13:46 ` [PATCH 1/3] ARM: OMAP: Add helper module for board specific I2C bus registration jarkko.nikula
2007-11-02 16:22   ` David Brownell
2007-11-05  8:19     ` Jarkko Nikula
2007-11-06  8:26       ` David Brownell
2007-11-06 10:53         ` Jarkko Nikula
2007-11-06 12:51           ` Tony Lindgren
2007-11-02 13:46 ` [PATCH 2/3] ARM: OMAP: Use I2C bus registration helper jarkko.nikula
2007-11-02 16:27   ` David Brownell
2007-11-05  8:26     ` Jarkko Nikula
2007-11-05  9:56       ` David Brownell
2007-11-02 13:46 ` [PATCH 3/3] ARM: OMAP: N800: " jarkko.nikula
2007-11-05 13:15 ` [PATCH/RFC 0/3 rev 2] " Jarkko Nikula
2007-11-05 13:15 ` [PATCH 1/3] ARM: OMAP: Add helper module for board specific I2C bus registration Jarkko Nikula
2007-11-05 13:15 ` [PATCH 2/3] ARM: OMAP: Use I2C bus registration helper Jarkko Nikula
2007-11-05 13:15 ` [PATCH 3/3] ARM: OMAP: N800: " Jarkko Nikula
  -- strict thread matches above, loose matches on Subject: below --
2007-11-07 10:54 [PATCH/RFC 0/3 rev 3] " Jarkko Nikula
2007-11-07 10:54 ` [PATCH 1/3] ARM: OMAP: Add helper module for board specific I2C bus registration Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox