From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Schwarz Date: Thu, 17 Apr 2008 20:32:27 +0200 Subject: [U-Boot-Users] [PATCH] Add Vitesse 8601 support to TSEC driver In-Reply-To: <20080331131830.bdd5c146.kim.phillips@freescale.com> References: <1206714585-13569-1-git-send-email-tor@excito.com> <47F0EEBE.2010905@gmail.com> <20080331131830.bdd5c146.kim.phillips@freescale.com> Message-ID: <480797BB.8090507@matrix-vision.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tor, after all my VSC8601 is up and running on MPC8343 :-) I'm sorry to say that I don't find this patch ok after going through the manuals : Register 0x17 is a very coarse setting. If the capabilities of the PHY should be taken into account and be configurable we should use the skew control in extended register 0x1c. This should be definable - CFG_VSC8601_SKEWFIX simply applies maximum skew ... After all changing the bits in register 0x17 _require_ a soft reset by asserting bit 15 in register 0 before they are going to work. Obviously this patch has no effect at all. Do you reset the PHY manually after this configuration ? This PHY definitely needs a proper setup function since there are quite interesting registers which need read-modify-write. What do you think ? regards, Andre Kim Phillips schrieb: > On Mon, 31 Mar 2008 10:01:34 -0400 > Ben Warren wrote: > > >> Tor Krill wrote: >> >>> Add phy_info for Vitesse VSC8601. >>> Add config option, CFG_VSC8601_SKEWFIX, to enable RGMII skew timing compensation. >>> >>> Signed-off-by: Tor Krill >>> >>> >> Acked-by: Ben Warren >> > > I don't have a Vitesse 8601, so technically I can't ack it, but I can: > > Reviewed-by: Kim Phillips > > minor nit: it would be nice if the following: > > >>> +#ifdef CFG_VSC8601_SKEWFIX >>> + {MIIM_VSC8601_EPHY_CON,MIIM_VSC8601_EPHY_CON_INIT_SKEW,NULL}, >>> +#endif >>> > > were made to have spaces after commas, and flow onto a separate > line so as to not be a 96 char line.. > > Kim > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20080417/fa4537ba/attachment.htm