Commit e3ea01f4 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Rob Clark

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: default avatarVinod Koul <vkoul@kernel.org>
Patchwork: https://patchwork.freedesktop.org/patch/492316/
Link: https://lore.kernel.org/r/20220704161148.814510-2-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 682493e4
...@@ -28,12 +28,15 @@ properties: ...@@ -28,12 +28,15 @@ properties:
- const: hdmi_phy - const: hdmi_phy
clocks: clocks:
maxItems: 2 minItems: 2
maxItems: 3
clock-names: clock-names:
minItems: 2
items: items:
- const: iface - const: iface
- const: ref - const: ref
- const: xo
power-domains: power-domains:
maxItems: 1 maxItems: 1
...@@ -44,6 +47,9 @@ properties: ...@@ -44,6 +47,9 @@ properties:
vddio-supply: vddio-supply:
description: phandle to VDD I/O supply regulator description: phandle to VDD I/O supply regulator
'#clock-cells':
const: 0
'#phy-cells': '#phy-cells':
const: 0 const: 0
...@@ -75,9 +81,12 @@ examples: ...@@ -75,9 +81,12 @@ examples:
"hdmi_phy"; "hdmi_phy";
clocks = <&mmcc 116>, clocks = <&mmcc 116>,
<&gcc 214>; <&gcc 214>,
<&xo_board>;
clock-names = "iface", clock-names = "iface",
"ref"; "ref",
"xo";
#clock-cells = <0>;
#phy-cells = <0>; #phy-cells = <0>;
vddio-supply = <&vreg_l12a_1p8>; vddio-supply = <&vreg_l12a_1p8>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment