public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michael Kurz <michi.kurz@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 7/9] net: phy: add SMSC LAN8742 phy
Date: Sun, 22 Jan 2017 16:04:28 +0100	[thread overview]
Message-ID: <1485097470-71245-8-git-send-email-michi.kurz@gmail.com> (raw)
In-Reply-To: <1485097470-71245-1-git-send-email-michi.kurz@gmail.com>

This patch adds support for SMSC LAN8742 in phylib

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>

---

Changes in v4: None
Changes in v3: None
Changes in v2:
- Add Acked-by tag to 'net: phy: add SMSC LAN8742 phy'

 drivers/net/phy/smsc.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index 313fcdf..41ffbe9 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -82,12 +82,24 @@ static struct phy_driver lan8740_driver = {
 	.startup = &genphy_startup,
 	.shutdown = &genphy_shutdown,
 };
+
+static struct phy_driver lan8742_driver = {
+	.name = "SMSC LAN8742",
+	.uid = 0x0007c130,
+	.mask = 0xffff0,
+	.features = PHY_BASIC_FEATURES,
+	.config = &genphy_config_aneg,
+	.startup = &genphy_startup,
+	.shutdown = &genphy_shutdown,
+};
+
 int phy_smsc_init(void)
 {
 	phy_register(&lan8710_driver);
 	phy_register(&lan911x_driver);
 	phy_register(&lan8700_driver);
 	phy_register(&lan8740_driver);
+	phy_register(&lan8742_driver);
 
 	return 0;
 }
-- 
2.1.4

  parent reply	other threads:[~2017-01-22 15:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22 15:04 [U-Boot] [PATCH v4 0/9] ARM: stm32: add network and qspi driver support to stm32f746-disco board Michael Kurz
2017-01-22 15:04 ` [U-Boot] [PATCH v4 1/9] ARM: DTS: stm32: add stm32f746 device tree pin control files Michael Kurz
2017-01-28 22:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 2/9] ARM: DTS: stm32: add stm32f746-disco device tree files Michael Kurz
2017-01-28 22:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 3/9] ARM: stm32: cleanup stm32f7 files Michael Kurz
2017-01-24 19:35   ` Vikas MANOCHA
2017-01-28 22:45   ` [U-Boot] [U-Boot,v4,3/9] " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 4/9] ARM: stm32: fix stm32f7 sdram fmc base address Michael Kurz
2017-01-28 22:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 5/9] ARM: stm32: use clock setup function defined in clock.c Michael Kurz
2017-01-28 22:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 6/9] net: stm32: add designware mac glue code for stm32 Michael Kurz
2017-01-28 22:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` Michael Kurz [this message]
2017-01-28 22:45   ` [U-Boot] [U-Boot,v4,7/9] net: phy: add SMSC LAN8742 phy Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 8/9] ARM: stm32: enable support for smsc phy on stm32f746-disco board Michael Kurz
2017-01-28 22:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-22 15:04 ` [U-Boot] [PATCH v4 9/9] ARM: SPI: stm32: add stm32f746 qspi driver Michael Kurz
2017-01-28 22:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2017-01-24 19:39 ` [U-Boot] [PATCH v4 0/9] ARM: stm32: add network and qspi driver support to stm32f746-disco board Vikas MANOCHA

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=1485097470-71245-8-git-send-email-michi.kurz@gmail.com \
    --to=michi.kurz@gmail.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