public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Purna Chandra Mandal <purna.mandal@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 12/18] drivers: net: phy: add SMSC LAN8740 Phy support.
Date: Thu, 17 Dec 2015 23:02:04 +0530	[thread overview]
Message-ID: <5672F194.8090900@microchip.com> (raw)

Add SMSC LAN8740 Phy support required for PIC32MZ[DA] devices.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
---

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

diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index bfd9815..34986a2 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -69,11 +69,21 @@ static struct phy_driver lan8710_driver = {
     .shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver lan8740_driver = {
+    .name = "SMSC LAN8740",
+    .uid = 0x0007c110,
+    .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);
 
     return 0;
 }
-- 
1.8.3.1

                 reply	other threads:[~2015-12-17 17:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5672F194.8090900@microchip.com \
    --to=purna.mandal@microchip.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