linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* i2c-bus@0 twice?
@ 2006-03-15 18:29 Johannes Berg
  2006-03-16 22:53 ` Michael Ellerman
  2006-03-16 23:52 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 3+ messages in thread
From: Johannes Berg @ 2006-03-15 18:29 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

johannes@quad:/proc/device-tree/ht@0,f2000000/pci@8/mac-io@7/i2c@18000$ ls
AAPL,address       built-in     i2c-bus@0         linux,phandle
AAPL,address-step  compatible   interrupt-parent  name
AAPL,i2c-rate      device_type  interrupts        reg
#address-cells     i2c-bus@0    linux,device      #size-cells

Somewhat odd that i2c-bus@0 exists twice :) Anyone have an explanation?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i2c-bus@0 twice?
  2006-03-15 18:29 i2c-bus@0 twice? Johannes Berg
@ 2006-03-16 22:53 ` Michael Ellerman
  2006-03-16 23:52 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2006-03-16 22:53 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

On Thu, 16 Mar 2006 05:29, Johannes Berg wrote:
> johannes@quad:/proc/device-tree/ht@0,f2000000/pci@8/mac-io@7/i2c@18000$ ls
> AAPL,address       built-in     i2c-bus@0         linux,phandle
> AAPL,address-step  compatible   interrupt-parent  name
> AAPL,i2c-rate      device_type  interrupts        reg
> #address-cells     i2c-bus@0    linux,device      #size-cells
>
> Somewhat odd that i2c-bus@0 exists twice :) Anyone have an explanation?

Do you see it twice in OF also?

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: i2c-bus@0 twice?
  2006-03-15 18:29 i2c-bus@0 twice? Johannes Berg
  2006-03-16 22:53 ` Michael Ellerman
@ 2006-03-16 23:52 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2006-03-16 23:52 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linuxppc-dev

On Wed, 2006-03-15 at 19:29 +0100, Johannes Berg wrote:
> johannes@quad:/proc/device-tree/ht@0,f2000000/pci@8/mac-io@7/i2c@18000$ ls
> AAPL,address       built-in     i2c-bus@0         linux,phandle
> AAPL,address-step  compatible   interrupt-parent  name
> AAPL,i2c-rate      device_type  interrupts        reg
> #address-cells     i2c-bus@0    linux,device      #size-cells
> 
> Somewhat odd that i2c-bus@0 exists twice :) Anyone have an explanation?

It's a bug in OF on these machines. We need to workaround that,
especially since only one of them contains all the useful infos

Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-16 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15 18:29 i2c-bus@0 twice? Johannes Berg
2006-03-16 22:53 ` Michael Ellerman
2006-03-16 23:52 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).