diff mbox series

[v3,2/5] phy: core: add PHY_MODE_ETHERNET

Message ID 20181120012424.11802-3-grygorii.strashko@ti.com
State Accepted
Commit 2af8caeee47846a84bc96abc3a72f7c991153040
Headers show
Series phy: core: rework phy_set_mode to accept phy mode and submode | expand

Commit Message

Grygorii Strashko Nov. 20, 2018, 1:24 a.m. UTC
Add new PHY's mode to be used by Ethernet PHY interface drivers or
multipurpose PHYs like serdes. It will be reused in further changes.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

---
 include/linux/phy/phy.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.10.5
diff mbox series

Patch

diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index b17e770..02c9ef0 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -42,6 +42,7 @@  enum phy_mode {
 	PHY_MODE_UFS_HS_A,
 	PHY_MODE_UFS_HS_B,
 	PHY_MODE_PCIE,
+	PHY_MODE_ETHERNET,
 };
 
 /**