From: Wolfram Sang <wsa@the-dreams.de>
To: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Cc: linux-i2c@vger.kernel.org, Richard Weinberger <richard@sigma-star.at>
Subject: Re: Sensor with 7 bit address above 0x77
Date: Mon, 27 Jun 2016 17:46:17 +0200 [thread overview]
Message-ID: <20160627154617.GB3505@katana> (raw)
In-Reply-To: <dafe2d59-1a23-67cc-6a2a-50a43d0325f1@sigma-star.at>
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
> The way it is written in the spec (1111 0XX) probably caused people to
> confuse it for 0xF0-0xF3 which I found in some messages on the mailing
> list.
Yes, it always causes confusion if the R/W bit is part of the address or
not.
> But that still leaves the question of where the 0xA... in the kernel docs
> came from.
less Documentation/i2c/ten-bit-addresses
> Section 3.1.12 ends with some musings about the assignment of addresses in
> "local systems". More specifically, it ends with the sentence "If it is known
> that the reserved address is never going to be used for its intended purpose,
> a reserved address can be used for a slave address."
>
> I _do_ know that there are no 10 bit addressed slaves in my application, so
> the spec allows me to use at those 4 slave address. Apparently it is not my
> device that is broken.
For your specific case, I agree. For the generic case, I don't. Maybe
the word "broken" is too much, though, how about calling it "risky"?
That being said, as I mentioned before, I think patches adding support
for using "risky" addresses in i2c-tools are acceptable, so no
show-stopper here.
Can you share which device uses the address 0x78? I'd like to add it to
my list of "interesting I2C devices".
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-06-27 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-27 11:39 Sensor with 7 bit address above 0x77 David Oberhollenzer
2016-06-27 12:13 ` Wolfram Sang
2016-06-27 13:38 ` David Oberhollenzer
2016-06-27 15:46 ` Wolfram Sang [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=20160627154617.GB3505@katana \
--to=wsa@the-dreams.de \
--cc=david.oberhollenzer@sigma-star.at \
--cc=linux-i2c@vger.kernel.org \
--cc=richard@sigma-star.at \
/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