From: Vivek Gautam <vivek.gautam@codeaurora.org>
Date: Thu, 12 Oct 2017 06:19:33 +0000 (+0530)
Subject: phy: Add UFS PHY modes
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fd3e4c98e6e7a12dc47ef98ee12c0c3c024b5ee9;p=linux.git

phy: Add UFS PHY modes

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>
---

diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 10888a717860c..194d081745166 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -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,
 };
 
 /**