From: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
Subject: [PATCH 0/3] Move OF i2c functions into i2c core
Date: Fri, 5 Aug 2011 16:24:25 -0500 [thread overview]
Message-ID: <1312579468-19365-1-git-send-email-robherring2@gmail.com> (raw)
From: Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
As suggested by Grant, this series moves OF i2c functions in of_i2c.c into
i2c-core.c. This simplifies OF i2c drivers slightly. Combining the
functions is necessary to avoid a module circular dependency between
i2c-core.ko and of_i2c.ko.
Compile tested on ARM (DT/non-DT VExpress) and PowerPC (8xxx and 44x).
Rob
Rob Herring (3):
i2c: move of_i2c_register_devices call into core
i2c: move OF i2c related functions into i2c core
i2c-designware: add OF binding support
Documentation/devicetree/bindings/i2c/dw-i2c.txt | 23 +++++
arch/powerpc/platforms/44x/warp.c | 1 -
drivers/i2c/busses/i2c-cpm.c | 6 --
drivers/i2c/busses/i2c-designware.c | 8 ++
drivers/i2c/busses/i2c-ibm_iic.c | 4 -
drivers/i2c/busses/i2c-mpc.c | 2 -
drivers/i2c/busses/i2c-pxa.c | 2 -
drivers/i2c/busses/i2c-tegra.c | 3 -
drivers/i2c/i2c-core.c | 87 +++++++++++++++++++-
drivers/of/Makefile | 1 -
drivers/of/of_i2c.c | 97 ----------------------
include/linux/i2c.h | 4 +
include/linux/of_i2c.h | 30 -------
13 files changed, 121 insertions(+), 147 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c/dw-i2c.txt
delete mode 100644 drivers/of/of_i2c.c
delete mode 100644 include/linux/of_i2c.h
--
1.7.4.1
next reply other threads:[~2011-08-05 21:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-05 21:24 Rob Herring [this message]
2011-08-05 21:24 ` [PATCH 1/3] i2c: move of_i2c_register_devices call into core Rob Herring
[not found] ` <1312579468-19365-2-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-05 22:54 ` Grant Likely
[not found] ` <20110805225435.GA6404-e0URQFbLeQY2iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2011-08-05 23:22 ` Rob Herring
[not found] ` <4E3C7B3C.1090100-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-02 9:23 ` Jean Delvare
2011-08-05 21:24 ` [PATCH 2/3] i2c: move OF i2c related functions into i2c core Rob Herring
[not found] ` <1312579468-19365-3-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-05 22:56 ` Grant Likely
[not found] ` <20110805225637.GB6404-e0URQFbLeQY2iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2011-08-05 23:15 ` Rob Herring
[not found] ` <4E3C79AF.80901-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-06 8:50 ` Grant Likely
[not found] ` <1312579468-19365-1-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-05 21:24 ` [PATCH 3/3] i2c-designware: add OF binding support Rob Herring
[not found] ` <1312579468-19365-4-git-send-email-robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-24 3:31 ` Rob Herring
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=1312579468-19365-1-git-send-email-robherring2@gmail.com \
--to=robherring2-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@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).