Skip to content

Commit d3169ce

Browse files
krzklumag
authored andcommitted
dt-bindings: display/msm: qcom, sa8775p-mdss: Add missing eDP phy
The Qualcomm SA8775p MDSS display block comes with eDP phy, already used in DTS and already documented in phy/qcom,edp-phy.yaml binding. Add the missing device node in the binding and extend example to silence dtbs_check warnings like: sa8775p-ride.dtb: display-subsystem@ae00000: Unevaluated properties are not allowed ('phy@aec2a00', 'phy@aec5a00' were unexpected) Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/638744/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent f9d1b52 commit d3169ce

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

Documentation/devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ patternProperties:
5252
items:
5353
- const: qcom,sa8775p-dp
5454

55+
"^phy@[0-9a-f]+$":
56+
type: object
57+
additionalProperties: true
58+
properties:
59+
compatible:
60+
const: qcom,sa8775p-edp-phy
61+
5562
required:
5663
- compatible
5764

@@ -61,6 +68,7 @@ examples:
6168
- |
6269
#include <dt-bindings/interconnect/qcom,icc.h>
6370
#include <dt-bindings/interrupt-controller/arm-gic.h>
71+
#include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
6472
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
6573
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
6674
#include <dt-bindings/power/qcom,rpmhpd.h>
@@ -158,6 +166,26 @@ examples:
158166
};
159167
};
160168
169+
mdss0_dp0_phy: phy@aec2a00 {
170+
compatible = "qcom,sa8775p-edp-phy";
171+
172+
reg = <0x0aec2a00 0x200>,
173+
<0x0aec2200 0xd0>,
174+
<0x0aec2600 0xd0>,
175+
<0x0aec2000 0x1c8>;
176+
177+
clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
178+
<&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
179+
clock-names = "aux",
180+
"cfg_ahb";
181+
182+
#clock-cells = <1>;
183+
#phy-cells = <0>;
184+
185+
vdda-phy-supply = <&vreg_l1c>;
186+
vdda-pll-supply = <&vreg_l4a>;
187+
};
188+
161189
displayport-controller@af54000 {
162190
compatible = "qcom,sa8775p-dp";
163191
@@ -186,9 +214,9 @@ examples:
186214
187215
assigned-clocks = <&dispcc_mdss_dptx0_link_clk_src>,
188216
<&dispcc_mdss_dptx0_pixel0_clk_src>;
189-
assigned-clock-parents = <&mdss0_edp_phy 0>, <&mdss0_edp_phy 1>;
217+
assigned-clock-parents = <&mdss0_dp0_phy 0>, <&mdss0_dp0_phy 1>;
190218
191-
phys = <&mdss0_edp_phy>;
219+
phys = <&mdss0_dp0_phy>;
192220
phy-names = "dp";
193221
194222
operating-points-v2 = <&dp_opp_table>;

0 commit comments

Comments
 (0)