summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWyon Bi <bivvy.bi@rock-chips.com>2018-09-30 15:30:32 +0800
committerWyon Bi <bivvy.bi@rock-chips.com>2018-12-29 16:41:11 +0800
commit13f219622714ed2beba238fc74e600d43e3ac127 (patch)
tree04d291565696dbe25da5f7dec7aa0eb6950178df /include
parent7be8a2eb28f016874386c7bd8570640a768dad2a (diff)
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 <bivvy.bi@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/phy/phy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 43b2da6f4be2..9787843f0578 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -29,6 +29,9 @@ enum phy_mode {
PHY_MODE_USB_HOST,
PHY_MODE_USB_DEVICE,
PHY_MODE_USB_OTG,
+ PHY_MODE_VIDEO_MIPI,
+ PHY_MODE_VIDEO_LVDS,
+ PHY_MODE_VIDEO_TTL,
};
/**