All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/3] am335x-icev2: Ethernet support
Date: Wed, 24 Aug 2016 15:35:48 +0300	[thread overview]
Message-ID: <1472042151-24844-1-git-send-email-rogerq@ti.com> (raw)

Hi,

am335x-icev2 has 2 Ethernet ports that can be used either as CPSW ethernet (RMII mode)
or PRUSS ethernet (MII mode) using jumpers placed next to the port on the board.

As a different PHY clock is required for RMII mode vs MII mode, we detect the jumper
setting and set the PHY clock frequency accordingly.

Tested with CPSW in RMII mode.

cheers,m
-roger

Changelog:
v2:
 - removed unnecessary patch 1.

Mugunthan V N (1):
  driver: net: cpsw: add support for RGMII id mode support and RMII
    clock source selection

Roger Quadros (2):
  board: am335x-icev2: add ethernet phy mode detection logic
  board: am335x: Always set eth/eth1addr environment variable

 board/ti/am335x/board.c | 154 +++++++++++++++++++++++++++++++++++++----------
 drivers/net/cpsw.c      | 157 +++++++++++++++++++++++++++++++++++++++++++-----
 include/cpsw.h          |   1 +
 3 files changed, 265 insertions(+), 47 deletions(-)

-- 
2.7.4

             reply	other threads:[~2016-08-24 12:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 12:35 Roger Quadros [this message]
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
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=1472042151-24844-1-git-send-email-rogerq@ti.com \
    --to=rogerq@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.