Skip to content

Commit 79643af

Browse files
nfrapradoChun-Kuang Hu
authored andcommitted
dt-bindings: phy: mediatek,hdmi-phy: Document extra clocks for MT8195
MT8195's HDMI PHY block has 4 clocks instead of just a single one. Describe the extra clocks for it. Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20251217-mtk-genio-evk-hdmi-support-v2-3-a994976bb39a@collabora.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
1 parent 8a25ab7 commit 79643af

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Documentation/devicetree/bindings/phy/mediatek,hdmi-phy.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,20 @@ properties:
3838
maxItems: 1
3939

4040
clocks:
41+
minItems: 1
4142
items:
4243
- description: PLL reference clock
44+
- description: HDMI 26MHz clock
45+
- description: HDMI PLL1 clock
46+
- description: HDMI PLL2 clock
4347

4448
clock-names:
49+
minItems: 1
4550
items:
4651
- const: pll_ref
52+
- const: 26m
53+
- const: pll1
54+
- const: pll2
4755

4856
clock-output-names:
4957
maxItems: 1
@@ -79,6 +87,20 @@ required:
7987
- "#phy-cells"
8088
- "#clock-cells"
8189

90+
allOf:
91+
- if:
92+
not:
93+
properties:
94+
compatible:
95+
contains:
96+
const: mediatek,mt8195-hdmi-phy
97+
then:
98+
properties:
99+
clocks:
100+
maxItems: 1
101+
clock-names:
102+
maxItems: 1
103+
82104
additionalProperties: false
83105

84106
examples:

0 commit comments

Comments
 (0)