net: phy: Add support for Texas Instruments DP83867
Subsystems (2)
PATCH v3 1/1 net: phy: Add support for Texas Instruments DP83867
From: "Edgar E. Iglesias" <[email protected]>
Code is taken from Linux kernel driver (v4.2).
---
Changes in v3:
- Add kernel version tag to the commit message - reported by Tom
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
@@ -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
@@ -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
@@ -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
PATCH v3 1/1 net: phy: Add support for Texas Instruments DP83867
Quoted 6 lines · Michal Simek
From: "Edgar E. Iglesias" <[email protected]>
Code is taken from Linux kernel driver (v4.2).
Signed-off-by Edgar E. Iglesias <[email protected]>Signed-off-by Michal Simek <[email protected]>
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/82ec7b68/attachment.sig>
PATCH v3 1/1 net: phy: Add support for Texas Instruments DP83867
In reply to Michal SimekHi Michal,
Quoted 7 lines · Michal Simek
From: "Edgar E. Iglesias" <[email protected]>
Code is taken from Linux kernel driver (v4.2).
Signed-off-by Edgar E. Iglesias <[email protected]>Signed-off-by Michal Simek <[email protected]>