phy: qcom: edp: Add set_mode op for configuring eDP/DP submode
authorAbel Vesa <abel.vesa@linaro.org>
Sun, 24 Mar 2024 18:50:18 +0000 (20:50 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Mar 2024 19:00:16 +0000 (00:30 +0530)
commit6078b8ce070cad3f9a8ecfce65d0f6d595494f02
treea5e971c57d3ae5f6b8236f28e6fac1742399c000
parent368d67dab4cc4a3ffd39fbd062b2f5796cdbb37b
phy: qcom: edp: Add set_mode op for configuring eDP/DP submode

Future platforms should not use different compatibles to differentiate
between eDP and DP mode. Instead, they should use a single compatible as
the IP block is the same. It will be the job of the controller to set the
submode of the PHY accordingly.

The existing platforms will remain with separate compatibles for each
mode.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240324-x1e80100-phy-edp-compatible-refactor-v5-2-a0db5f3150bc@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-edp.c