public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: "Jeffrey (Sheng-Hui) Chu"
	<jeffchu-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Cc: Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: 10-bit address support
Date: Thu, 10 Nov 2011 17:33:00 +0100	[thread overview]
Message-ID: <20111110173300.3f75d2db@endymion.delvare> (raw)
In-Reply-To: <B6A520E9CD57404AAFC0831E4FB39541AE68602AD7-4wnuKdaqIVJdD26/7+am4baTQr+y5IJFqs7JOtOhHmkAvxtiuMwx3w@public.gmane.org>

On Thu, 10 Nov 2011 07:58:35 -0800, Jeffrey (Sheng-Hui) Chu wrote:
> 
> 
> > -----Original Message-----
> > From: Jean Delvare [mailto:khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org]
> > Sent: Thursday, November 10, 2011 10:08 AM
> > To: Linux I2C
> > Cc: Jeffrey (Sheng-Hui) Chu
> > Subject: 10-bit address support
> > 
> > Hi all,
> > 
> > After Sheng-Hui's fix to i2c-algo-bit, it would seem that we are almost
> > there with 10-bit slave address support. There's one remaining thing
> > that worries me though: the 7-bit and 10-bit address spaces overlap.
> > From Documentation/i2c/ten-bit-addresses:
> > 
> > "The sets of addresses do not intersect: the 7 bit address 0x10 is not
> > the same as the 10 bit address 0x10 (though a single device could
> > respond to both of them)."
> 
> From my understanding of the spec, there is no overlap.  
> The 10-bit client at 0x10 will be addressed by the following address sequence:
> 0Xf0 0X10 <data-out>  or 0xf0 0x10 <restart> 0xf1<data-in>
> 
> The 7-bit client at 0x10 will be addressed by the following address sequence:
> 0x20 <data-out>  or 0x21 <data-in>
> 
> 0xf0 is equivalent to 7-bit address of 0x78 which is a reserved address in 7-bit space.  A compliant 7-bit client should not use or respond to this address.

what you wrote above is completely exact, but is also completely
unrelated to what I explained. The overlapping that currently exists is
in the device names inside the kernel. It's a pure software issue.

> Don't need to do any workaround. IMHO

I'm certain we do.

-- 
Jean Delvare

  parent reply	other threads:[~2011-11-10 16:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 15:07 10-bit address support Jean Delvare
     [not found] ` <20111110160739.540cda37-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-11-10 15:58   ` Jeffrey (Sheng-Hui) Chu
     [not found]     ` <B6A520E9CD57404AAFC0831E4FB39541AE68602AD7-4wnuKdaqIVJdD26/7+am4baTQr+y5IJFqs7JOtOhHmkAvxtiuMwx3w@public.gmane.org>
2011-11-10 16:33       ` Jean Delvare [this message]
     [not found]         ` <20111110173300.3f75d2db-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-11-10 16:38           ` Jeffrey (Sheng-Hui) Chu
2011-11-11 10:43   ` Wolfram Sang
     [not found]     ` <20111111104335.GC2493-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-11-16 14:56       ` Jean Delvare
     [not found]         ` <20111116155610.6b02aab6-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-11-16 15:04           ` Wolfram Sang
     [not found]             ` <20111116150449.GG2596-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-11-16 15:22               ` Jean Delvare

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=20111110173300.3f75d2db@endymion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=jeffchu-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@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