summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2024-03-24 20:50:17 +0200
committerVinod Koul <vkoul@kernel.org>2024-03-29 00:30:16 +0530
commit368d67dab4cc4a3ffd39fbd062b2f5796cdbb37b (patch)
tree16b49ecc094e92909dcac169e30206799e9638ba /include
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-stable-368d67dab4cc4a3ffd39fbd062b2f5796cdbb37b.tar.gz
linux-stable-368d67dab4cc4a3ffd39fbd062b2f5796cdbb37b.tar.bz2
linux-stable-368d67dab4cc4a3ffd39fbd062b2f5796cdbb37b.zip
phy: Add Embedded DisplayPort and DisplayPort submodes
In some cases, a DP PHY needs to be configured to work in eDP mode. So add submodes for both DP and eDP so they can be used by the controllers for specifying the mode the PHY should be configured in. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240324-x1e80100-phy-edp-compatible-refactor-v5-1-a0db5f3150bc@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/phy/phy-dp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy/phy-dp.h b/include/linux/phy/phy-dp.h
index 18cad23642cd..9cce5766bc0b 100644
--- a/include/linux/phy/phy-dp.h
+++ b/include/linux/phy/phy-dp.h
@@ -8,6 +8,9 @@
#include <linux/types.h>
+#define PHY_SUBMODE_DP 0
+#define PHY_SUBMODE_EDP 1
+
/**
* struct phy_configure_opts_dp - DisplayPort PHY configuration set
*