Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Abel Vesa and committed by
Vinod Koul
368d67da 4cece764

+3
+3
include/linux/phy/phy-dp.h
··· 8 8 9 9 #include <linux/types.h> 10 10 11 + #define PHY_SUBMODE_DP 0 12 + #define PHY_SUBMODE_EDP 1 13 + 11 14 /** 12 15 * struct phy_configure_opts_dp - DisplayPort PHY configuration set 13 16 *