[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120214103318.GF4723@ldesroches-Latitude-E6320>
Date: Tue, 14 Feb 2012 11:33:18 +0100
From: Ludovic Desroches <ludovic.desroches@...el.com>
To: Baruch Siach <baruch@...s.co.il>
Cc: Ludovic Desroches <ludovic.desroches@...el.com>,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
"Ferre, Nicolas" <nicolas.ferre@...el.com>
Subject: Re: How to deal with a PHY configuration related to the board?
Hi Baruch,
On Tue, Feb 14, 2012 at 11:43:39AM +0200, Baruch Siach wrote:
> Hi Ludovic,
>
> On Tue, Feb 14, 2012 at 10:26:06AM +0100, Ludovic Desroches wrote:
> > I am using a Micrel KSZ9021RN PHY and I would like to configure some
> > registers
> > as 'RGMII Clock and Control Pad Skew' and 'RGMII RX Data Pad Skew'.
> > So the values of these registers are board dependant and I wondering what is
> > the proper way to set them.
> > It seems there is no platform data usable for this case. Having a quick look
> > to other PHYs, the situation seems the same.
> >
> > Can you give me some clues about how to do this? Did I miss anything which
> > allow to do this?
>
> See ksz9021rn_phy_fixup() in arch/arm/mach-imx/mach-imx6q.c.
>
Thanks for your help.
So the solution is to use phy_register_fixup function.
Regards
Ludovic
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists