phy: Add UFS PHY modes
authorVivek Gautam <vivek.gautam@codeaurora.org>
Thu, 12 Oct 2017 06:19:33 +0000 (11:49 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Oct 2017 05:49:27 +0000 (11:19 +0530)
UFS phy has two modes for each High speed generation.
These modes are identified by two rates of operations -
Rate A, and Rate B.
Add these UFS phy modes to phy framework.

Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
include/linux/phy/phy.h

index 10888a7..194d081 100644 (file)
@@ -29,6 +29,8 @@ enum phy_mode {
        PHY_MODE_USB_OTG,
        PHY_MODE_SGMII,
        PHY_MODE_10GKR,
+       PHY_MODE_UFS_HS_A,
+       PHY_MODE_UFS_HS_B,
 };
 
 /**