Skip to contentSkip to conversation

net: phy: Add support for Texas Instruments DP83867

PATCH Superseded Michal Simek 2 participants 3 messages Nov 10, 2015

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: phy: Add support for Texas Instruments DP83867

From: "Edgar E. Iglesias" <[email protected]>

Code is taken from Linux kernel driver.

---

Changes in v2:
- Add missing function declaration to phy.h
- Remove BIT macro and fix macro indentation
- Remove comment about moving code to generic location
- Fix typo register -> registers

 drivers/net/phy/Makefile |   1 +
 drivers/net/phy/phy.c    |   3 +
 drivers/net/phy/ti.c     | 200 +++++++++++++++++++++++++++++++++++++++++++++++
 include/phy.h            |   1 +
 4 files changed, 205 insertions(+)
 create mode 100644 drivers/net/phy/ti.c
drivers/net/phy/Makefile +1 -0
index d096db87a276..9e4d4927e676 100644
@@ -24,4 +24,5 @@ obj-$(CONFIG_PHY_NATSEMI) += natsemi.o
 obj-$(CONFIG_PHY_REALTEK) += realtek.o
 obj-$(CONFIG_PHY_SMSC) += smsc.o
 obj-$(CONFIG_PHY_TERANETICS) += teranetics.o
+obj-$(CONFIG_PHY_TI) += ti.o
 obj-$(CONFIG_PHY_VITESSE) += vitesse.o
drivers/net/phy/phy.c +3 -0
index d7364ffc34f2..5633ec2402b0 100644
@@ -484,6 +484,9 @@ int phy_init(void)
 #ifdef CONFIG_PHY_TERANETICS
 	phy_teranetics_init();
 #endif
+#ifdef CONFIG_PHY_TI
+	phy_ti_init();
+#endif
 #ifdef CONFIG_PHY_VITESSE
 	phy_vitesse_init();
 #endif
drivers/net/phy/ti.c new file +200 -0

200 lines not on this page · raw message

include/phy.h +1 -0
index 3f826b66f71f..66cf61bdfb93 100644
@@ -251,6 +251,7 @@ int phy_natsemi_init(void);
 int phy_realtek_init(void);
 int phy_smsc_init(void);
 int phy_teranetics_init(void);
+int phy_ti_init(void);
 int phy_vitesse_init(void);
 
 int board_phy_config(struct phy_device *phydev);
Signature · 1 line
2.5.0
#1 lore raw

PATCH v2 1/1 net: phy: Add support for Texas Instruments DP83867

Quoted 3 lines · Michal Simek

From: "Edgar E. Iglesias" <[email protected]>

Code is taken from Linux kernel driver.

Which kernel tag / git hash? Makes future re-syncs for bug fixes easier.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151110/853f03e7/attachment.sig>
#2 lore raw

PATCH v2 1/1 net: phy: Add support for Texas Instruments DP83867

Quoted 9 lines · Tom Rini
Quoted 3 lines · Michal Simek

From: "Edgar E. Iglesias" <[email protected]>

Code is taken from Linux kernel driver.

Which kernel tag / git hash? Makes future re-syncs for bug fixes easier.

Kernel v4.2. I will make it explicit in the commit message.

Thanks,
Michal