All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre TORGUE <alexandre.torgue@gmail.com>
To: Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, manabian@gmail.com
Subject: [PATCH v4 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP
Date: Fri,  4 Mar 2016 16:58:05 +0100	[thread overview]
Message-ID: <1457107086-14764-4-git-send-email-alexandre.torgue@gmail.com> (raw)
In-Reply-To: <1457107086-14764-1-git-send-email-alexandre.torgue@gmail.com>

Adds support of Synopsys 3.50a MAC IP in stmmac driver.

Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com>

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 6a52fa1..6cca626 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -178,6 +178,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac)
 	 * once needed on other platforms.
 	 */
 	if (of_device_is_compatible(np, "st,spear600-gmac") ||
+		of_device_is_compatible(np, "snps,dwmac-3.50a") ||
 		of_device_is_compatible(np, "snps,dwmac-3.70a") ||
 		of_device_is_compatible(np, "snps,dwmac")) {
 		/* Note that the max-frame-size parameter as defined in the
-- 
1.9.1

WARNING: multiple messages have this Message-ID (diff)
From: alexandre.torgue@gmail.com (Alexandre TORGUE)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP
Date: Fri,  4 Mar 2016 16:58:05 +0100	[thread overview]
Message-ID: <1457107086-14764-4-git-send-email-alexandre.torgue@gmail.com> (raw)
In-Reply-To: <1457107086-14764-1-git-send-email-alexandre.torgue@gmail.com>

Adds support of Synopsys 3.50a MAC IP in stmmac driver.

Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com>

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 6a52fa1..6cca626 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -178,6 +178,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac)
 	 * once needed on other platforms.
 	 */
 	if (of_device_is_compatible(np, "st,spear600-gmac") ||
+		of_device_is_compatible(np, "snps,dwmac-3.50a") ||
 		of_device_is_compatible(np, "snps,dwmac-3.70a") ||
 		of_device_is_compatible(np, "snps,dwmac")) {
 		/* Note that the max-frame-size parameter as defined in the
-- 
1.9.1

  parent reply	other threads:[~2016-03-04 15:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04 15:58 [PATCH v4 0/4] Add Ethernet support on STM32F429 Alexandre TORGUE
2016-03-04 15:58 ` Alexandre TORGUE
2016-03-04 15:58 ` [PATCH v4 1/4] net: ethernet: dwmac: add Ethernet glue logic for stm32 chip Alexandre TORGUE
2016-03-04 15:58   ` Alexandre TORGUE
2016-03-04 15:58   ` Alexandre TORGUE
2016-03-04 15:58 ` [PATCH v4 2/4] Documentation: Bindings: Add STM32 DWMAC glue Alexandre TORGUE
2016-03-04 15:58   ` Alexandre TORGUE
2016-03-04 15:58   ` Alexandre TORGUE
2016-03-05  4:31   ` Rob Herring
2016-03-05  4:31     ` Rob Herring
2016-03-07  9:26     ` Alexandre Torgue
2016-03-07  9:26       ` Alexandre Torgue
2016-03-07  9:26       ` Alexandre Torgue
2016-03-04 15:58 ` Alexandre TORGUE [this message]
2016-03-04 15:58   ` [PATCH v4 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP Alexandre TORGUE
2016-03-04 15:58 ` [PATCH v4 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig Alexandre TORGUE
2016-03-04 15:58   ` Alexandre TORGUE

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=1457107086-14764-4-git-send-email-alexandre.torgue@gmail.com \
    --to=alexandre.torgue@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manabian@gmail.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    --cc=robh@kernel.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 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.