From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: "Edelhaeuser,
Frank"
<Frank.Edelhaeuser-CBC/uQSf1AZWk0Htik3J/w@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org,
ROASCIO Paolo <roa-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
Subject: Re: PCA954x I2C switch/multiplexer
Date: Mon, 25 Feb 2008 09:02:37 +0100 [thread overview]
Message-ID: <20080225090237.200b5b88@hyperion.delvare> (raw)
In-Reply-To: <A42C17A8FF150C4DB98BFD6497D1D000081DF898-SepvG4MK2K7XgKAwtTS8dDuQPtp/YR6JAL8bYrjMMd8@public.gmane.org>
Hi Frank,
On Sun, 24 Feb 2008 21:41:54 -0800, Edelhaeuser, Frank wrote:
> The driver I submitted implements the "new style" driver model. These
> driver's don't probe the bus automatically. Instead, devices must be
> instantiated by calling i2c_register_board_info() for each multiplexer
> device. Please note that this driver implements a special syntax for the
> type field: e.g. .type = "pxa9544,5" tells the driver to create 4
> virtual i2c buses with ids 5, 6, 7 and 8. You would
> i2c_register_board_info() your PXA9544 multiplexer with the root i2c bus
> and your bus segment devices with those virtual i2c buses.
Please don't abuse the type field, instead define a custom structure
and pass it to the driver as platform data. This will give you much
more flexibility as well.
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next prev parent reply other threads:[~2008-02-25 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-23 16:07 PCA954x I2C switch/multiplexer ROASCIO Paolo
[not found] ` <200802231707.01967.roa-VGgt2q2+T+FeoWH0uzbU5w@public.gmane.org>
2008-02-25 5:41 ` Edelhaeuser, Frank
[not found] ` <A42C17A8FF150C4DB98BFD6497D1D000081DF898-SepvG4MK2K7XgKAwtTS8dDuQPtp/YR6JAL8bYrjMMd8@public.gmane.org>
2008-02-25 8:02 ` Jean Delvare [this message]
[not found] ` <20080225090237.200b5b88-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-02-29 19:07 ` ROASCIO Paolo
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=20080225090237.200b5b88@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=Frank.Edelhaeuser-CBC/uQSf1AZWk0Htik3J/w@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
--cc=roa-VGgt2q2+T+FeoWH0uzbU5w@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