From 7ac1f1bde076aaec2357ec5c15de65deef33fe0c Mon Sep 17 00:00:00 2001 From: Wyon Bi Date: Sun, 30 Sep 2018 15:30:32 +0800 Subject: [PATCH] phy: add MIPI/LVDS/TTL modes to the phy_mode enum This patch adds more generic PHY modes to the phy_mode enum, to allow configuring generic PHYs to the MIPI/LVDS/TTL mode by using the set_mode callback. Change-Id: Ib6966828011aa52f1f133449f69df46c2001a57b Signed-off-by: Wyon Bi --- include/linux/phy/phy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 9713aebdd348..7fbe26e097f3 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -40,6 +40,9 @@ enum phy_mode { PHY_MODE_10GKR, PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B, + PHY_MODE_VIDEO_MIPI, + PHY_MODE_VIDEO_LVDS, + PHY_MODE_VIDEO_TTL, }; /**