How to deal with a PHY configuration related to the board?

Baruch Siach baruch at tkos.co.il
Tue Feb 14 04:43:39 EST 2012


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.

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 -



More information about the linux-arm-kernel mailing list