All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/4] Add network support for Ocelots SoCs
Date: Wed, 16 Jan 2019 14:07:39 +0100	[thread overview]
Message-ID: <20190116130743.20539-1-gregory.clement@bootlin.com> (raw)

Hello,

this the second version of a series allowing to use the switch
component of the Ocelots SoC as a network interface.

The binding used is exactly the same of the one already used by Linux.

There is also a patch adding a workaround needed on the Ocelot based
boards: indeed the pin connected to the DDR reset is part of the
switch subsystem. So we need ensure that the DDR is not reset during
the switch reset.

Gregory

Changelog:
v1 -> v2:
 - Use wait_for_bit_le32() (suggested by Stefan Roese)
 - Use debug() instead of printf() for the debug messages in
   mscc_switch_reset.

Gregory CLEMENT (4):
  MIPS: mscc: ocelot: Add ethernet nodes for Ocelot
  net: add MSCC Ocelot switch support
  MIPS: mscc: ocelot: add switch reset support
  configs: mscc_ocelot: add network support

 MAINTAINERS                     |   1 +
 arch/mips/dts/mscc,ocelot.dtsi  |  97 ++++
 arch/mips/dts/ocelot_pcb123.dts |  20 +
 board/mscc/ocelot/ocelot.c      |  26 +
 configs/mscc_ocelot_defconfig   |   1 +
 drivers/net/Kconfig             |   7 +
 drivers/net/Makefile            |   1 +
 drivers/net/ocelot_switch.c     | 837 ++++++++++++++++++++++++++++++++
 8 files changed, 990 insertions(+)
 create mode 100644 drivers/net/ocelot_switch.c

-- 
2.20.1

             reply	other threads:[~2019-01-16 13:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-16 13:07 Gregory CLEMENT [this message]
2019-01-16 13:07 ` [U-Boot] [PATCH v2 1/4] MIPS: mscc: ocelot: Add ethernet nodes for Ocelot Gregory CLEMENT
2019-01-16 13:07 ` [U-Boot] [PATCH v2 2/4] net: add MSCC Ocelot switch support Gregory CLEMENT
2019-01-16 13:56   ` Daniel Schwierzeck
2019-01-16 14:21     ` Gregory CLEMENT
2019-01-16 14:43       ` Daniel Schwierzeck
2019-01-16 13:07 ` [U-Boot] [PATCH v2 3/4] MIPS: mscc: ocelot: add switch reset support Gregory CLEMENT
2019-01-16 13:59   ` Daniel Schwierzeck
2019-01-16 14:37     ` Gregory CLEMENT
2019-01-16 15:34       ` Daniel Schwierzeck
2019-01-16 13:07 ` [U-Boot] [PATCH v2 4/4] configs: mscc_ocelot: add network support Gregory CLEMENT

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=20190116130743.20539-1-gregory.clement@bootlin.com \
    --to=gregory.clement@bootlin.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.