[PATCH 0/4] Enable ethernet support for SOCFPGA
Dinh Nguyen
dinguyen at altera.com
Thu Jul 18 09:12:53 EDT 2013
Hi Jack,
On Thu, 2013-07-18 at 13:59 +0200, ZY - pavel wrote:
> Hi!
>
> > >These 4 patches are meant to enable ethernet and SD/MMC for the SOCFPGA
> > >platform.
> > >
> > >patch (1/4): Adds select ARM_TWD for the platform
> > >patch (2/4): Add platform specific initialization for the ethernet controller.
> > >patch (3/4): Commit 25c83b5c2 added "snps,phy-addr" for getting the PHY addr.
> > > Set the ethernet clocks to be emac_0_clk and emac_1_clk so it be gated.
> > >patch (4/4): Update defconfig to support SD/MMC, ethernet, EXT3 and NFS.
>
> > What tree is this based against, or what patches are a pre-requisite
> > to this series? I applied the patches to linux-arm/master but the
> > compile failed.
> >
> > arch/arm/mach-socfpga/socfpga.c: In function 'ksz9021rlrn_phy_fixup':
> > arch/arm/mach-socfpga/socfpga.c:85:21: error:
> > 'MICREL_KSZ9021_EXTREG_CTRL' undeclared (first use in this function)
> > phy_write(phydev, MICREL_KSZ9021_EXTREG_CTRL,
> > ^
>
> It seems it depends on:
>
> Date: Mon, 15 Jul 2013 18:08:50 -0500
> From: dinguyen at altera.com
> To: dinh.linux at gmail.com, netdev at vger.kernel.org
> Cc: Pavel Machek <pavel at denx.de>, Nicolas Ferre
> <nicolas.ferre at atmel.com>,
> "David S. Miller" <davem at davemloft.net>,
> linux-arm-kernel at lists.infradead.org,
> Shawn Guo <shawn.guo at linaro.org>,
> Jean-Christophe Plagniol-Villard <plagnioj at jcrosoft.com>,
> Andrew Victor <linux at maxim.org.za>,
> Dinh Nguyen <dinguyen at altera.com>
> Subject: [PATCH] phy: micrel: Add definitions for common Micrel PHY
> registers
> X-Mailer: git-send-email 1.7.9.5
>
> From: Dinh Nguyen <dinguyen at altera.com>
>
> Add defines for common Micrel PHY setups so that other platforms
> can use them. Update imx61 and sama5 hardware to use the micrel_phy.h
> PHY defines.
>
> Also add support for the KSZ9021RLRN PHY.
>
> Signed-off-by: Dinh Nguyen <dinguyen at altera.com>
Yes, the above patch is necessary. I was hoping that patch can go into
either Shawn's or Nicolas' tree. I have received ACKs from both. There
is also the SD/MMC bindings patch that has not been applied to the
arm-soc tree yet. I have started collecting the patches at github in the
meantime:
git at github.com:dinh-linux/linux-socfpga.git for-next
Dinh
>
> Pavel
More information about the linux-arm-kernel
mailing list