public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* ARM: ETH PHY Micrel: KSZ8051MNL Driver?
@ 2012-05-22 21:08 Shmuel Yitzhaki
  2012-05-23 20:14 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Shmuel Yitzhaki @ 2012-05-22 21:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Everyone,
?
Do you know if this newer chip is compatible?with older Micrel devices (supported at mainline)?
Did anyone try using it? results?
?
Please advise,
Shmuel Yitzhaki
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120522/d1842c32/attachment.html>

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

* ARM: ETH PHY Micrel: KSZ8051MNL Driver?
  2012-05-22 21:08 ARM: ETH PHY Micrel: KSZ8051MNL Driver? Shmuel Yitzhaki
@ 2012-05-23 20:14 ` Peter Korsgaard
  2012-05-24  3:38   ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2012-05-23 20:14 UTC (permalink / raw)
  To: linux-arm-kernel

>>>>> "Shmuel" == Shmuel Yitzhaki <shmuelyi@yahoo.com> writes:

 Shmuel> Hi Everyone,
 Shmuel> Do you know if this newer chip is compatible with older Micrel devices
 Shmuel> (supported at mainline)?
 Shmuel> Did anyone try using it? results?

I'm using it with the generic genphy driver without any problems. I
haven't tried the micrel driver, but as the board doesn't have the
interrupt connected it wouldn't really buy me anything.

I can give the micrel driver a try if you want though.

-- 
Bye, Peter Korsgaard

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

* ARM: ETH PHY Micrel: KSZ8051MNL Driver?
  2012-05-23 20:14 ` Peter Korsgaard
@ 2012-05-24  3:38   ` Baruch Siach
  2012-05-24  7:10     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2012-05-24  3:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Peter, Shmuel,

On Wed, May 23, 2012 at 10:14:44PM +0200, Peter Korsgaard wrote:
> >>>>> "Shmuel" == Shmuel Yitzhaki <shmuelyi@yahoo.com> writes:
> 
>  Shmuel> Hi Everyone,
>  Shmuel> Do you know if this newer chip is compatible with older Micrel devices
>  Shmuel> (supported at mainline)?
>  Shmuel> Did anyone try using it? results?
> 
> I'm using it with the generic genphy driver without any problems. I
> haven't tried the micrel driver, but as the board doesn't have the
> interrupt connected it wouldn't really buy me anything.
> 
> I can give the micrel driver a try if you want though.

In one project that were using the KSZ8051MNL PHY, we needed the micrel phy 
driver to set 50MHz RMII clock. This PHY defaults to 25MHz MII, and there is 
no way to change that with pull-up resistors. See commit d606ef3f (phy/micrel: 
add ability to support 50MHz RMII clock on KZS8051RNL).

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* ARM: ETH PHY Micrel: KSZ8051MNL Driver?
  2012-05-24  3:38   ` Baruch Siach
@ 2012-05-24  7:10     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-05-24  7:10 UTC (permalink / raw)
  To: linux-arm-kernel

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

Hi,

 >> I can give the micrel driver a try if you want though.

 Baruch> In one project that were using the KSZ8051MNL PHY, we needed
 Baruch> the micrel phy driver to set 50MHz RMII clock. This PHY
 Baruch> defaults to 25MHz MII, and there is no way to change that with
 Baruch> pull-up resistors. See commit d606ef3f (phy/micrel: add ability
 Baruch> to support 50MHz RMII clock on KZS8051RNL).

Yes, that's indeed quite unfortunate. For this project I write the phy
register in the bootloader as we need it there anyway, but for another
(am335x based) project it means we cannot used the ROM support for
network boot.

Is 50MHz is needed, the 8021/8031 are probably a better choice.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-05-24  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 21:08 ARM: ETH PHY Micrel: KSZ8051MNL Driver? Shmuel Yitzhaki
2012-05-23 20:14 ` Peter Korsgaard
2012-05-24  3:38   ` Baruch Siach
2012-05-24  7:10     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox