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: List supplies for qcom,edp-phy

We're supposed to list the supplies in the dt bindings but there are
none in the eDP PHY bindings.

Looking at the driver in Linux, I can see that there seem to be two
relevant supplies: "vdda-phy" and "vdda-pll". Let's add those to the
bindings.

NOTE: from looking at the Qualcomm datasheet for sc7280, it's not
immediately clear how to figure out how to fill in these supplies. The
only two eDP related supplies are simply described as "power for eDP
0.9V circuits" and "power for eDP 1.2V circuits". From guessing and
from comparing how a similar PHY is hooked up on other similar
Qualcomm boards, I'll make the educated guess that the 1.2V supply
goes to "vdda-phy" and the 0.9V supply goes to "vdda-pll" and I'll use
that in the example here.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sankeerth Billakanti <quic_sbillaka@quicinc.com>
Link: https://lore.kernel.org/r/20220425140619.2.Iae013f0ff4599294189f3a6e91376fad137bbabf@changeid
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Douglas Anderson and committed by
Vinod Koul
c667d9c6 e991c2ee

+6
+6
Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
··· 41 41 "#phy-cells": 42 42 const: 0 43 43 44 + vdda-phy-supply: true 45 + vdda-pll-supply: true 46 + 44 47 required: 45 48 - compatible 46 49 - reg ··· 68 65 69 66 #clock-cells = <1>; 70 67 #phy-cells = <0>; 68 + 69 + vdda-phy-supply = <&vdd_a_edp_0_1p2>; 70 + vdda-pll-supply = <&vdd_a_edp_0_0p9>; 71 71 }; 72 72 ...