Linux I2C development
 help / color / mirror / Atom feed
From: "Felipe Balbi" <felipebalbi-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Linux I2C <i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org>
Subject: Re: twl4030 module rewrite
Date: Fri, 11 Jul 2008 13:38:47 +0300	[thread overview]
Message-ID: <31e679430807110338x4c06fa5bx1f8025c91919933b@mail.gmail.com> (raw)
In-Reply-To: <20080711120107.6a719943-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>

Hi Jean,

On 7/11/08, Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:

> If you want the same driver to handle all 4 addresses, and you want
>  them to show as a single device, then the usual way to handle this
>  would be to have a single address declared in i2c_board_info, and have
>  the driver itself call i2c_new_dummy() 3 times to request the 3
>  additional addresses during device probe.

Thanks for this pointer. So to clear my mind, in this time I'd have to
keep a list of all 4 i2c_client pointers because they'd have different
addresses (although it's the same adapter).

-- 
Best Regards,

Felipe Balbi
felipebalbi-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

      parent reply	other threads:[~2008-07-11 10:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11  9:16 twl4030 module rewrite Felipe Balbi
     [not found] ` <31e679430807110216n4ee1c42dy4c5d6e49926f90f3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-07-11 10:01   ` Jean Delvare
     [not found]     ` <20080711120107.6a719943-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-07-11 10:38       ` Felipe Balbi [this message]

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=31e679430807110338x4c06fa5bx1f8025c91919933b@mail.gmail.com \
    --to=felipebalbi-rn4veauk+akrv+lv9mx5uipxlwaovq5f@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
    --cc=khali-PUYAD+kWke1g9hUCZPvPmw@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