From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/3] board: am335x-icev2: add ethernet phy mode detection logic
Date: Mon, 29 Aug 2016 08:01:32 -0400 [thread overview]
Message-ID: <20160829120132.GK8799@bill-the-cat> (raw)
In-Reply-To: <1472042151-24844-3-git-send-email-rogerq@ti.com>
On Wed, Aug 24, 2016 at 03:35:50PM +0300, Roger Quadros wrote:
> Both ethernet ports can be used as CPSW ethernet (RMII mode)
> or PRU ethernet (MII mode) by setting the jumper near the port.
> Read the jumper value and set the pinmux, external mux and
> PHY clock accordingly.
>
> As jumper line is overridden by PHY RX_DV pin immediately
> after bootstrap (power-up/reset), we have to use GPIO edge
> detection to capture the jumper line status.
>
> As u-boot doesn't provide any infrastructure for GPIO edge
> detection, we directly access the GPIO registers.
>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160829/a8c004ec/attachment.sig>
next prev parent reply other threads:[~2016-08-29 12:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 12:35 [U-Boot] [PATCH v2 0/3] am335x-icev2: Ethernet support Roger Quadros
2016-08-24 12:35 ` [U-Boot] [PATCH v2 1/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection Roger Quadros
2016-08-29 12:01 ` Tom Rini
2016-09-02 14:53 ` Tom Rini
2016-10-14 12:24 ` Roger Quadros
2016-10-19 18:15 ` Joe Hershberger
2016-08-24 12:35 ` [U-Boot] [PATCH v2 2/3] board: am335x-icev2: add ethernet phy mode detection logic Roger Quadros
2016-08-29 12:01 ` Tom Rini [this message]
2016-09-02 14:53 ` Tom Rini
2016-10-11 21:52 ` Joe Hershberger
2016-10-13 17:38 ` [U-Boot] " Joe Hershberger
2016-08-24 12:35 ` [U-Boot] [PATCH v2 3/3] board: am335x: Always set eth/eth1addr environment variable Roger Quadros
2016-08-29 12:01 ` Tom Rini
2016-09-02 14:53 ` Tom Rini
2016-10-11 21:54 ` Joe Hershberger
2016-10-13 17:38 ` [U-Boot] " Joe Hershberger
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=20160829120132.GK8799@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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