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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: phy: qcom-edp: Add missing clock for X Elite

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: stable@vger.kernel.org # v6.10
Fixes: 5d5607861350 ("dt-bindings: phy: qcom-edp: Add X1E80100 PHY compatibles")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://patch.msgid.link/20251224-phy-qcom-edp-add-missing-refclk-v5-1-3f45d349b5ac@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Abel Vesa and committed by
Vinod Koul
6b99eeac 085ba7c9

+27 -1
+27 -1
Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
··· 37 37 - description: PLL register block 38 38 39 39 clocks: 40 - maxItems: 2 40 + minItems: 2 41 + maxItems: 3 41 42 42 43 clock-names: 44 + minItems: 2 43 45 items: 44 46 - const: aux 45 47 - const: cfg_ahb 48 + - const: ref 46 49 47 50 "#clock-cells": 48 51 const: 1 ··· 66 63 - clock-names 67 64 - "#clock-cells" 68 65 - "#phy-cells" 66 + 67 + allOf: 68 + - if: 69 + properties: 70 + compatible: 71 + enum: 72 + - qcom,x1e80100-dp-phy 73 + then: 74 + properties: 75 + clocks: 76 + minItems: 3 77 + maxItems: 3 78 + clock-names: 79 + minItems: 3 80 + maxItems: 3 81 + else: 82 + properties: 83 + clocks: 84 + minItems: 2 85 + maxItems: 2 86 + clock-names: 87 + minItems: 2 88 + maxItems: 2 69 89 70 90 additionalProperties: false 71 91