xref: /freebsd/sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml (revision 058ac3e8063366dafa634d9107642e12b038bf09)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY
8
9maintainers:
10  - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
11
12description: |+
13  The HDMI TX PHY node should be the child of a syscon node with the
14  required property:
15
16  compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
17
18  Refer to the bindings described in
19  Documentation/devicetree/bindings/mfd/syscon.yaml
20
21properties:
22  $nodename:
23    pattern: "^hdmi-phy@[0-9a-f]+$"
24
25  compatible:
26    oneOf:
27      - items:
28          - enum:
29              - amlogic,meson8b-hdmi-tx-phy
30              - amlogic,meson8m2-hdmi-tx-phy
31          - const: amlogic,meson8-hdmi-tx-phy
32      - const: amlogic,meson8-hdmi-tx-phy
33
34  reg:
35    maxItems: 1
36
37  clocks:
38    minItems: 1
39    description:
40      HDMI TMDS clock
41
42  "#phy-cells":
43    const: 0
44
45required:
46  - compatible
47  - "#phy-cells"
48
49additionalProperties: false
50
51examples:
52  - |
53    hdmi-phy@3a0 {
54      compatible = "amlogic,meson8-hdmi-tx-phy";
55      reg = <0x3a0 0xc>;
56      clocks = <&tmds_clock>;
57      #phy-cells = <0>;
58    };
59  - |
60    hdmi-phy@3a0 {
61      compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy";
62      reg = <0x3a0 0xc>;
63      clocks = <&tmds_clock>;
64      #phy-cells = <0>;
65    };
66