* [U-Boot] PHY lib
@ 2008-11-25 10:53 Michal Simek
2008-11-25 18:31 ` Ben Warren
0 siblings, 1 reply; 6+ messages in thread
From: Michal Simek @ 2008-11-25 10:53 UTC (permalink / raw)
To: u-boot
Hi Ben,
how does look like your propose work about PHY lib?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] PHY lib
2008-11-25 10:53 [U-Boot] PHY lib Michal Simek
@ 2008-11-25 18:31 ` Ben Warren
2008-11-25 19:19 ` Wolfgang Denk
2008-12-02 21:20 ` Andy Fleming
0 siblings, 2 replies; 6+ messages in thread
From: Ben Warren @ 2008-11-25 18:31 UTC (permalink / raw)
To: u-boot
Hi Michal,
Michal Simek wrote:
> Hi Ben,
>
> how does look like your propose work about PHY lib?
>
> Thanks,
> Michal
>
>
I'd like to have the PHY library included in the 02.2009 release. One
of the things I'm struggling with is how so specify MDIO busses and PHY
addresses. For example, is it preferable to have a bunch of
CONFIG_PHY_ADDR_x or a board-code struct? How to link/register PHYs
with MDIO buses, since conceivably a board could have hardware MDIO
and/or bit-banged MDIO, and any PHY could be on any bus.
If we pulled all board info from a device tree, as people were talking
about a few months ago, this would be easy and scalable. I don't know
the status of that idea, and am very interested in what you and others
think.
regards,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] PHY lib
2008-11-25 18:31 ` Ben Warren
@ 2008-11-25 19:19 ` Wolfgang Denk
2008-11-25 19:51 ` Wolfgang Grandegger
2008-12-02 21:20 ` Andy Fleming
1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2008-11-25 19:19 UTC (permalink / raw)
To: u-boot
Dear Ben,
In message <492C4475.70306@gmail.com> you wrote:
>
> I'd like to have the PHY library included in the 02.2009 release. One
v2009.02, that is :-)
> If we pulled all board info from a device tree, as people were talking
> about a few months ago, this would be easy and scalable. I don't know
> the status of that idea, and am very interested in what you and others
> think.
I would really appreciate a move into this direction.
BTW - Wolfgang: do you still plan to rebase & post your "Configure
U-Boot with a Device Tree" patches? They must have grown out of sync
terribly?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Veni, Vidi, VISA:
I came, I saw, I did a little shopping.
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot] PHY lib
2008-11-25 19:19 ` Wolfgang Denk
@ 2008-11-25 19:51 ` Wolfgang Grandegger
2008-11-25 20:54 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Grandegger @ 2008-11-25 19:51 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> Dear Ben,
>
> In message <492C4475.70306@gmail.com> you wrote:
>> I'd like to have the PHY library included in the 02.2009 release. One
>
> v2009.02, that is :-)
>
>> If we pulled all board info from a device tree, as people were talking
>> about a few months ago, this would be easy and scalable. I don't know
>> the status of that idea, and am very interested in what you and others
>> think.
>
> I would really appreciate a move into this direction.
>
> BTW - Wolfgang: do you still plan to rebase & post your "Configure
> U-Boot with a Device Tree" patches? They must have grown out of sync
> terribly?
Well, not really. The patch providing access to the FDT is quite simple,
making use of it is another subject and requires a FDT aware device
interface, in the first place. Search for
"[U-Boot-Users] using a flat device tree to drive u-boot config"
to find the last discussion on this topic.
Wolfgang.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] PHY lib
2008-11-25 19:51 ` Wolfgang Grandegger
@ 2008-11-25 20:54 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2008-11-25 20:54 UTC (permalink / raw)
To: u-boot
Dear Wolfgang,
In message <492C5744.5010205@grandegger.com> you wrote:
>
> > BTW - Wolfgang: do you still plan to rebase & post your "Configure
> > U-Boot with a Device Tree" patches? They must have grown out of sync
> > terribly?
>
> Well, not really. The patch providing access to the FDT is quite simple,
> making use of it is another subject and requires a FDT aware device
> interface, in the first place. Search for
>
> "[U-Boot-Users] using a flat device tree to drive u-boot config"
>
> to find the last discussion on this topic.
yes, I know. Maybe we should make the old stuff available in a branch
in our git repo so we can at least show others the existing code?
That would require little effort and probably be a good base for
further discussions?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ever try. Ever fail. No matter. Try again. Fail again. Fail better.
-- S. Beckett
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] PHY lib
2008-11-25 18:31 ` Ben Warren
2008-11-25 19:19 ` Wolfgang Denk
@ 2008-12-02 21:20 ` Andy Fleming
1 sibling, 0 replies; 6+ messages in thread
From: Andy Fleming @ 2008-12-02 21:20 UTC (permalink / raw)
To: u-boot
On Tue, Nov 25, 2008 at 12:31 PM, Ben Warren <biggerbadderben@gmail.com> wrote:
> Hi Michal,
> Michal Simek wrote:
>> Hi Ben,
>>
>> how does look like your propose work about PHY lib?
>>
>> Thanks,
>> Michal
>>
>>
> I'd like to have the PHY library included in the 02.2009 release. One
> of the things I'm struggling with is how so specify MDIO busses and PHY
> addresses. For example, is it preferable to have a bunch of
> CONFIG_PHY_ADDR_x or a board-code struct? How to link/register PHYs
> with MDIO buses, since conceivably a board could have hardware MDIO
> and/or bit-banged MDIO, and any PHY could be on any bus.
I think the board-code should pass it in. Each nic just needs a
pointer to its PHY. Some boards will have hard-coded addresses, and
some will have addresses that change depending on circumstances (the
DS boards use different PHYs when they are operating in SGMII mode,
for instance). Some boards will even have set it up so you have to
scan for a PHY. Many PCI nics seem to require this, despite its
inherent fragility.
So I think if the board code were able to find PHY handles, then we
can let the boards decide how to get that information (and eventually
transition to pulling it out of a device tree)
Andy
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-12-02 21:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 10:53 [U-Boot] PHY lib Michal Simek
2008-11-25 18:31 ` Ben Warren
2008-11-25 19:19 ` Wolfgang Denk
2008-11-25 19:51 ` Wolfgang Grandegger
2008-11-25 20:54 ` Wolfgang Denk
2008-12-02 21:20 ` Andy Fleming
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.