Skip to content

Commit e3ea01f

Browse files
lumagrobclark
authored andcommitted
dt-bindings: phy: qcom, hdmi-phy-qmp: add clock-cells and XO clock
As the QMP HDMI PHY is a clock provider, add constant #clock-cells property. For the compatibility with older DTs the property is not marked as required. Also add the XO clock to the list of the clocks used by the driver. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Acked-by: Vinod Koul <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/492316/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
1 parent 682493e commit e3ea01f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Documentation/devicetree/bindings/phy/qcom,hdmi-phy-qmp.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ properties:
2828
- const: hdmi_phy
2929

3030
clocks:
31-
maxItems: 2
31+
minItems: 2
32+
maxItems: 3
3233

3334
clock-names:
35+
minItems: 2
3436
items:
3537
- const: iface
3638
- const: ref
39+
- const: xo
3740

3841
power-domains:
3942
maxItems: 1
@@ -44,6 +47,9 @@ properties:
4447
vddio-supply:
4548
description: phandle to VDD I/O supply regulator
4649

50+
'#clock-cells':
51+
const: 0
52+
4753
'#phy-cells':
4854
const: 0
4955

@@ -75,9 +81,12 @@ examples:
7581
"hdmi_phy";
7682
7783
clocks = <&mmcc 116>,
78-
<&gcc 214>;
84+
<&gcc 214>,
85+
<&xo_board>;
7986
clock-names = "iface",
80-
"ref";
87+
"ref",
88+
"xo";
89+
#clock-cells = <0>;
8190
#phy-cells = <0>;
8291
8392
vddio-supply = <&vreg_l12a_1p8>;

0 commit comments

Comments
 (0)