linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Automatically register i2c devices from the device tree
@ 2010-06-24 20:11 Grant Likely
  2010-06-24 20:11 ` [PATCH 1/3] of/i2c: Generalize OF support Grant Likely
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Grant Likely @ 2010-06-24 20:11 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: avorontsov-hkdhdckH98+B+jHODAdFcQ,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, wg-ynQEQJNshbs

The following series adds automatic registration of i2c devices from
OF device tree data.  If the i2c bus has the of_node pointer set, then
it will use that node pointer as the parent for a set of i2c devices and
automatically register the child nodes as new i2c devices.

When CONFIG_OF is not set, the of i2c hooks become empty stubs.

---

Grant Likely (3):
      of/i2c: Generalize OF support
      i2c: Add OF-style registration and binding
      of: refactor of_modalias_node() and remove explicit match table.


 arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |    6 ++
 drivers/i2c/busses/i2c-cpm.c                   |    6 --
 drivers/i2c/busses/i2c-ibm_iic.c               |    4 --
 drivers/i2c/busses/i2c-mpc.c                   |    2 -
 drivers/i2c/i2c-core.c                         |    9 +++
 drivers/mmc/host/mmc_spi.c                     |    8 +++
 drivers/of/Kconfig                             |    2 -
 drivers/of/base.c                              |   64 +++---------------------
 drivers/of/of_i2c.c                            |   50 +++++++++++--------
 include/linux/of_i2c.h                         |   13 ++++-
 10 files changed, 75 insertions(+), 89 deletions(-)

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

end of thread, other threads:[~2010-06-24 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 20:11 [PATCH 0/3] Automatically register i2c devices from the device tree Grant Likely
2010-06-24 20:11 ` [PATCH 1/3] of/i2c: Generalize OF support Grant Likely
2010-06-24 20:11 ` [PATCH 2/3] i2c: Add OF-style registration and binding Grant Likely
2010-06-24 20:12 ` [PATCH 3/3] of: refactor of_modalias_node() and remove explicit match table Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).