Thread (1 message) 1 message, 1 author, 2009-01-07

Re: The usage of compatible 'simple-bus'

From: Scott Wood <hidden>
Date: 2009-01-07 15:25:51
Also in: linuxppc-dev

Possibly related (same subject, not in this thread)

On Wed, Jan 07, 2009 at 11:51:12AM +0800, Li Yang wrote:
quoted
I see two sensible options for this situation:
       - Move the MDIO node to outside the gianfar MAC node.  I think
this is already done on some boards with gianfar?
Yes, we can use good old way.  But as Scott has moved the MDIO into
the gianfar node on MPC8313, maybe it's a better way to describe the
relationship of the two parts.
Ah, right, that was to reflect the clock domain situation so that someday
when I get time to do device power management the kernel can know that by
shutting down ethernet@25000 it's also shutting down mdio@24520, which is
also used by ethernet@26000.

Adding simple-bus was a bit of a hack, but it preserves the existing
binding whereby mdio sits under a simple-bus.  Ideally, the mdio node
would simply be a container for PHY nodes, and would simply be a part of
gianfar rather than a separate entity.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help