From: ml@communistcode.co.uk (Jack Mitchell)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] Enable ethernet support for SOCFPGA
Date: Thu, 18 Jul 2013 14:38:51 +0100 [thread overview]
Message-ID: <51E7EFEB.6080605@communistcode.co.uk> (raw)
In-Reply-To: <1374153173.9004.4.camel@linux-builds1>
On 18/07/13 14:12, Dinh Nguyen wrote:
> 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@denx.de>, Nicolas Ferre
>> <nicolas.ferre@atmel.com>,
>> "David S. Miller" <davem@davemloft.net>,
>> linux-arm-kernel at lists.infradead.org,
>> Shawn Guo <shawn.guo@linaro.org>,
>> Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
>> Andrew Victor <linux@maxim.org.za>,
>> Dinh Nguyen <dinguyen@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@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@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
Dinh,
Perfect, that boots from the mmc! For what it's worth, for the whole
series + pre-requisite patches on an Arrow SoCkit devkit:
Tested-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
--
Jack Mitchell (jack at embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
prev parent reply other threads:[~2013-07-18 13:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 23:10 [PATCH 0/4] Enable ethernet support for SOCFPGA dinguyen at altera.com
2013-07-17 23:10 ` [PATCH 1/4] arm: socfpga: Enable ARM_TWD for socfpga dinguyen at altera.com
2013-07-17 23:10 ` [PATCH 2/4] arm: socfpga: Add platform initialization for ethernet dinguyen at altera.com
2013-07-17 23:10 ` [PATCH 3/4] ARM: socfpga: dts: Fix entries for the ethernet entries dinguyen at altera.com
2013-07-17 23:10 ` [PATCH 4/4] arm: socfpga: Add support for SD/MMC and ethernet to defconfig dinguyen at altera.com
2013-07-18 9:16 ` [PATCH 0/4] Enable ethernet support for SOCFPGA Jack Mitchell
2013-07-18 11:35 ` Jack Mitchell
2013-07-18 11:59 ` Pavel Machek
2013-07-18 13:12 ` Dinh Nguyen
2013-07-18 13:38 ` Jack Mitchell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51E7EFEB.6080605@communistcode.co.uk \
--to=ml@communistcode.co.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).