Skip to content

Conversation

@Mani-chandana167
Copy link

@Mani-chandana167 Mani-chandana167 commented Oct 21, 2025

Add support for eDP reference clock voting for Lemans.

abelvesa and others added 4 commits October 21, 2025 12:58
On X Elite platform, the eDP PHY uses one more clock called ref.

The current X Elite devices supported upstream work fine without this
clock, because the boot firmware leaves this clock enabled. But we should
not rely on that. Also, even though this change breaks the ABI, it is
needed in order to make the driver disables this clock along with the
other ones, for a proper bring-down of the entire PHY.

So attach the this ref clock to the PHY.

Cc: [email protected] # v6.10
Fixes: 5d56078 ("dt-bindings: phy: qcom-edp: Add X1E80100 PHY compatibles")
Link:https://lore.kernel.org/all/20250909-phy-qcom-edp-add-missing-refclk-v3-1-4ec55a0512ab@linaro.org/
Signed-off-by: Abel Vesa <[email protected]>
On X Elite, the DP PHY needs another clock called ref, while all other
platforms do not.

The current X Elite devices supported upstream work fine without this
clock, because the boot firmware leaves this clock enabled. But we should
not rely on that. Also, even though this change breaks the ABI, it is
needed in order to make the driver disables this clock along with the
other ones, for a proper bring-down of the entire PHY.

So in order to handle these clocks on different platforms, make the driver
get all the clocks regardless of how many there are provided.

Cc: [email protected] # v6.10
Fixes: db83c10 ("phy: qcom: edp: Add v6 specific ops and X1E80100 platform support")
Link:https://lore.kernel.org/all/20250909-phy-qcom-edp-add-missing-refclk-v3-2-4ec55a0512ab@linaro.org/
Signed-off-by: Abel Vesa <[email protected]>
… example

Update clock entry in edp phy example node to add support for edp
reference clock.

Link:https://lore.kernel.org/all/[email protected]/
Signed-off-by: Ritesh Kumar <[email protected]>
@riteshk-quic riteshk-quic merged commit 878843a into qualcomm-linux:tech/mm/drm Oct 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants