public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: badguy development
	<badguydevelopment-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: i2c Questions
Date: Sat, 29 Mar 2008 23:09:27 +0100	[thread overview]
Message-ID: <20080329230927.3b9b47e5@hyperion.delvare> (raw)
In-Reply-To: <BLU106-W751DECBB6A8A8CAAE3C71B0FE0-MsuGFMq8XAE@public.gmane.org>

On Thu, 27 Mar 2008 21:14:53 +0000, badguy development wrote:
> 
> Hello,
> 
>  I am creating 2 i2c drivers.
> 
> I have started a driver for the LTC1760 
>  and that one is working and well under way.
> 
> I have to now develop a driver for bus address 0x01
>  and in the code I have located that to be an invalid address.
> 
> the code tests for address < 0x03 && address > 0x77
> then promptly fails with invalid address.
> 
> I am hoping to find an understanding for this.
> this is a programmable address, and I will have it changed if I have to.

Please read the I2C specification. Address 0x01 is for CBUS
compatibility and cannot be used by I2C devices.

> 
> Also, I have 3 i2c busses on this iMX31 SOM
> 
> how can I tell my device to only query / operate on a specific bus.
> do I need to?

The device can only operate on the one bus to which it is connected, so
I can't see any problem here.

> 
> and finally where should a noobie to this i2c stuff be asking questions like this?

This is the right list. It would be nice if you could post under your
real name.

> 
> Please forward any response to this to my email here:
> badguydevelopment-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
> 
>  I am trying to join the list, but have not received confirmation yet.
> 
> Thanks ahead of time for your wealth of knowledge.

-- 
Jean Delvare

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

  parent reply	other threads:[~2008-03-29 22:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 21:14 i2c Questions badguy development
     [not found] ` <BLU106-W751DECBB6A8A8CAAE3C71B0FE0-MsuGFMq8XAE@public.gmane.org>
2008-03-29 22:09   ` Jean Delvare [this message]
     [not found]     ` <20080329230927.3b9b47e5-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-03-29 22:58       ` badguy development
     [not found]         ` <BLU106-W27A7B34F7BE0CC6E2D9B94B0F80-MsuGFMq8XAE@public.gmane.org>
2008-03-30 11:54           ` Jean Delvare
     [not found]             ` <20080330135409.06f8fd09-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-04-03 22:39               ` badguy development
     [not found]                 ` <BLU106-W43B41606462A4205B13FF0B0F70-MsuGFMq8XAE@public.gmane.org>
2008-04-04  8:16                   ` Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2008-03-27 21:15 badguy development

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=20080329230927.3b9b47e5@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=badguydevelopment-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@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