i2c-bus@0 twice?

3 messages, 3 authors, 2006-03-16 · open the first message on its own page

i2c-bus@0 twice?

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2006-03-16 17:32:49

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

Re: i2c-bus@0 twice?

From: Michael Ellerman <hidden>
Date: 2006-03-16 22:53:22

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

Re: i2c-bus@0 twice?

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-03-16 23:52:32

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help