From: Mark Brown <broonie@kernel.org>
To: Bin Gao <bin.gao@linux.intel.com>
Cc: Wolfram Sang <wsa@the-dreams.de>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: i2c: introduce i2c helper i2c_find_client_by_name()
Date: Fri, 5 Jul 2013 20:55:12 +0100 [thread overview]
Message-ID: <20130705195512.GJ27646@sirena.org.uk> (raw)
In-Reply-To: <20130606183346.GA13259@bingao-desk1.fm.intel.com>
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
On Thu, Jun 06, 2013 at 11:33:46AM -0700, Bin Gao wrote:
> A good example is that an ISP(Imaging Signal Processor) driver needs
> register i2c camera sensor devices via v4l2, so it has to unregister
> all i2c clients that were previously registered by calling
> i2c_register_board_info(), and then re-register. For this case we
> can use this helper to get i2c_client by passing the client name.
Please look at the work that IIRC Laurent Pichart (CCed) was doing on
developing generic DT bindings for v4l in embedded systems, it sounds
like you're working on similar hardware here. The general ideas should
apply to any enumeration mechanism, not just DT.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-07-05 19:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 18:33 Bin Gao
2013-06-06 20:32 ` Andy Shevchenko
2013-06-06 21:26 ` Bin Gao
2013-06-09 19:53 ` Andy Shevchenko
2013-06-11 17:11 ` Bin Gao
2013-06-14 7:29 ` Andy Shevchenko
2013-06-14 19:00 ` Bin Gao
2013-06-19 10:13 ` Wolfram Sang
2013-06-22 0:27 ` Bin Gao
2013-06-23 12:43 ` Wolfram Sang
2013-07-05 19:55 ` Mark Brown [this message]
2013-07-12 10:54 ` Andy Shevchenko
2013-07-12 11:00 ` Wolfram Sang
2013-07-12 11:02 ` Laurent Pinchart
2013-07-12 11:29 ` Andy Shevchenko
2013-07-12 11:35 ` Laurent Pinchart
2013-07-12 11:56 ` Andy Shevchenko
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=20130705195512.GJ27646@sirena.org.uk \
--to=broonie@kernel.org \
--cc=bin.gao@linux.intel.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wsa@the-dreams.de \
/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
all inboxes | Powered by JetHome®