From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 0/2] Rework OF i2c support code
Date: Wed, 09 Jun 2010 23:22:27 -0600 [thread overview]
Message-ID: <20100610052102.16222.86662.stgit@angua> (raw)
The following series reworks the of_i2c support code so that i2c drivers
can be matched to devices using the struct device_driver of_match table,
and so that i2c devices described in a device tree node will be
transparently registered if the i2c adapter of_node pointer is set.
The OF hooks used in the second patch are entirely compiled out when
CONFIG_OF is not set.
---
Ben, these changes probably should go through my devicetree branch. They
are currently sitting in the following branch, and I'll move it over to
next-devicetree in a week or so if I don't receive any objections (it
can always come out again if there are, but I want the test coverage).
git://git.secretlab.ca/git/linux-2.6 test-devicetree
Grant Likely (2):
of/i2c: Generalize OF support
i2c: Add OF-style registration and binding
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/of/Kconfig | 2 +-
drivers/of/of_i2c.c | 44 ++++++++++++++++++++++++--------------
include/linux/of_i2c.h | 13 +++++++++--
7 files changed, 51 insertions(+), 29 deletions(-)
next reply other threads:[~2010-06-10 5:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 5:22 Grant Likely [this message]
2010-06-10 5:22 ` [PATCH 1/2] of/i2c: Generalize OF support Grant Likely
2010-06-10 9:52 ` Wolfram Sang
[not found] ` <20100610095226.GI5333-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2010-06-10 16:58 ` Grant Likely
2010-06-10 5:22 ` [PATCH 2/2] i2c: Add OF-style registration and binding Grant Likely
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=20100610052102.16222.86662.stgit@angua \
--to=grant.likely-s3s/wqlpoipyb63q8fvjnq@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-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 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).