phy: qcom: Introduce new eDP PHY driver
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 3 Nov 2021 23:44:10 +0000 (16:44 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Nov 2021 05:10:17 +0000 (10:40 +0530)
commitf199223cb490be108e3e44a6577fb76bc6ca8bbe
tree9e87a8ff74b470685c9d0a33c7cda8f974766444
parent26379667d26f33083484f0df814afec3a955b974
phy: qcom: Introduce new eDP PHY driver

Many recent Qualcomm platforms comes with native DP and eDP support.
This consists of a controller in the MDSS and a QMP-like PHY.

While similar to the well known QMP block, the eDP PHY only has TX lanes
and the programming sequences are slightly different. Rather than
continuing the trend of parameterize the QMP driver to pieces, this
introduces the support as a new driver.

The registration of link and pixel clocks are borrowed from the QMP
driver. The non-DP link frequencies are omitted for now.

The eDP PHY is very similar to the dedicated (non-USB) DP PHY, but only
the prior is supported for now.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20211103234410.1352424-2-bjorn.andersson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/Kconfig
drivers/phy/qualcomm/Makefile
drivers/phy/qualcomm/phy-qcom-edp.c [new file with mode: 0644]
drivers/phy/qualcomm/phy-qcom-qmp.h