Netdev List
 help / color / mirror / Atom feed
From: Christophe Roullier <christophe.roullier@st.com>
To: <davem@davemloft.net>, <joabreu@synopsys.com>,
	<mcoquelin.stm32@gmail.com>, <alexandre.torgue@st.com>,
	<peppe.cavallaro@st.com>
Cc: netdev@vger.kernel.org, christophe.roullier@st.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, robh@kernel.org
Subject: [PATCH V0:net-next 3/4] net: stmmac: add dwmac-4.20a compatible
Date: Fri, 25 May 2018 09:46:40 +0200	[thread overview]
Message-ID: <1527234401-15812-4-git-send-email-christophe.roullier@st.com> (raw)
In-Reply-To: <1527234401-15812-1-git-send-email-christophe.roullier@st.com>

Manage dwmac-4.20a version from synopsys

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index ebd3e5f..6d141f3 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -472,7 +472,8 @@ struct plat_stmmacenet_data *
 	}
 
 	if (of_device_is_compatible(np, "snps,dwmac-4.00") ||
-	    of_device_is_compatible(np, "snps,dwmac-4.10a")) {
+	    of_device_is_compatible(np, "snps,dwmac-4.10a") ||
+	    of_device_is_compatible(np, "snps,dwmac-4.20a")) {
 		plat->has_gmac4 = 1;
 		plat->has_gmac = 0;
 		plat->pmt = 1;
-- 
1.9.1

  parent reply	other threads:[~2018-05-25  7:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-25  7:46 [PATCH V0:net-next 0/4] net: ethernet: stmmac: add support for stm32mp1 Christophe Roullier
2018-05-25  7:46 ` [PATCH V0:net-next 1/4] net: ethernet: stmmac: add adaptation for stm32mp157c Christophe Roullier
2018-05-25  7:46 ` [PATCH V0:net-next 2/4] dt-bindings: stm32-dwmac: add support of MPU families Christophe Roullier
2018-05-25  7:46 ` Christophe Roullier [this message]
2018-05-25  7:46 ` [PATCH V0:net-next 4/4] dt-bindings: stm32: add compatible for syscon Christophe Roullier
2018-05-29  3:08 ` [PATCH V0:net-next 0/4] net: ethernet: stmmac: add support for stm32mp1 David Miller

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=1527234401-15812-4-git-send-email-christophe.roullier@st.com \
    --to=christophe.roullier@st.com \
    --cc=alexandre.torgue@st.com \
    --cc=davem@davemloft.net \
    --cc=joabreu@synopsys.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox