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