All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, i2c@lm-sensors.org
Subject: Re: [PATCH 3/5] powerpc: Document device nodes for I2C devices.
Date: Thu, 17 May 2007 11:47:24 -0500	[thread overview]
Message-ID: <464C871C.4090300@freescale.com> (raw)
In-Reply-To: <FFBD3A3A-ADBE-4DC8-A1A1-4163367244D5@kernel.crashing.org>

Kumar Gala wrote:
> On May 17, 2007, at 11:17 AM, Scott Wood wrote:
>> Kumar Gala wrote:
>>> As I've stated before, we need a bus number as well so we can  
>>> handle  things like I2C switches and muxes.
>>
>> Is this something we handle now?  If not, then it's really not  within 
>> the scope of this patchset.  If so, how am I breaking it?
> 
> We don't handle i2c devices in the dev tree today.  If you are going  to 
> propose a solution it should work for all cases that people are  aware 
> of even if linux doesn't support the functionality.

But we do handle i2c *controllers* in the device tree, and that's where 
a bus number property would go.  Given that we don't have a binding for 
non-toplevel i2c buses, and I'm not adding one, I don't see the 
relevance.  Note that adding a bus number property makes zero sense for 
toplevel buses, as at that level the bus number is just a fiction 
maintained by Linux for user API and device preregistration purposes.

It's not a matter of the binding only covering some cases; it's a matter 
of the binding being for one thing (i2c devices) and not another 
(multiplexed i2c buses).

> If only some subset of cases are handled what good is the device tree  
> to a user?  They will just have to figure out if their usage is  
> supported or not and if not find some other solution that works for  them.

...just as they'll have to figure out if a binding exists for device 
type $FOO.

-Scott

  reply	other threads:[~2007-05-17 16:55 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17 14:38 [PATCH 3/5] powerpc: Document device nodes for I2C devices Scott Wood
2007-05-17 16:12 ` Kumar Gala
2007-05-17 16:17   ` Scott Wood
2007-05-17 16:39     ` Kumar Gala
2007-05-17 16:47       ` Scott Wood [this message]
2007-05-17 17:21         ` Kumar Gala
2007-05-17 18:29           ` Scott Wood
2007-05-18 15:15           ` [i2c] " Jean Delvare
2007-05-18 16:24             ` Kumar Gala
2007-05-18 16:35               ` Scott Wood
2007-05-18 17:10                 ` Kumar Gala
2007-05-18 17:17                   ` Scott Wood
2007-05-18 17:33                     ` Kumar Gala
2007-05-18 17:55                       ` Scott Wood
2007-05-20 11:53                         ` Jean Delvare
2007-05-21 14:57                           ` Scott Wood
2007-05-19  0:04                   ` Matt Sealey
2007-05-19  0:17                     ` Segher Boessenkool
2007-05-19 13:41                       ` Matt Sealey
2007-05-19 16:25                         ` Segher Boessenkool
2007-05-20 14:53                           ` Matt Sealey
2007-05-20 15:48                             ` Segher Boessenkool
2007-05-27  9:48                               ` Matt Sealey
2007-05-20 11:42                   ` Jean Delvare
2007-05-18 20:07             ` Segher Boessenkool
2007-05-17 19:18 ` Segher Boessenkool
2007-05-17 19:32   ` Scott Wood
2007-05-17 19:44     ` Segher Boessenkool
2007-05-17 21:15       ` Scott Wood
2007-05-18 15:27     ` [i2c] " Jean Delvare
2007-05-18 15:58       ` Scott Wood
2007-05-18 16:29         ` Kumar Gala
2007-05-18 16:31         ` Jean Delvare
2007-05-18 16:56           ` Kumar Gala
2007-05-18 19:00           ` David Brownell
2007-05-18 15:19   ` 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=464C871C.4090300@freescale.com \
    --to=scottwood@freescale.com \
    --cc=galak@kernel.crashing.org \
    --cc=i2c@lm-sensors.org \
    --cc=linuxppc-dev@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.