aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-08-10 12:29:43 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-08-10 12:29:43 +0000
commite67e85659c0de33e617e5fbf1028c6e8b49eee53 (patch)
tree8208ab860ae81ae6ef04018d5666012b2886048b /sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml
parent8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb (diff)
parentb7d8b5635a26610e7758d58c936e44a854797c3c (diff)
downloadsrc-e67e85659c0de33e617e5fbf1028c6e8b49eee53.tar.gz
src-e67e85659c0de33e617e5fbf1028c6e8b49eee53.zip
Diffstat (limited to 'sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml')
-rw-r--r--sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml65
1 files changed, 65 insertions, 0 deletions
diff --git a/sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml b/sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml
new file mode 100644
index 000000000000..1f085cdd1c85
--- /dev/null
+++ b/sys/contrib/device-tree/Bindings/phy/amlogic,meson8-hdmi-tx-phy.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/phy/amlogic,meson8-hdmi-tx-phy.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Amlogic Meson8, Meson8b and Meson8m2 HDMI TX PHY
+
+maintainers:
+ - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
+
+description: |+
+ The HDMI TX PHY node should be the child of a syscon node with the
+ required property:
+
+ compatible = "amlogic,meson-hhi-sysctrl", "simple-mfd", "syscon"
+
+ Refer to the bindings described in
+ Documentation/devicetree/bindings/mfd/syscon.yaml
+
+properties:
+ $nodename:
+ pattern: "^hdmi-phy@[0-9a-f]+$"
+
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - amlogic,meson8b-hdmi-tx-phy
+ - amlogic,meson8m2-hdmi-tx-phy
+ - const: amlogic,meson8-hdmi-tx-phy
+ - const: amlogic,meson8-hdmi-tx-phy
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ minItems: 1
+ description:
+ HDMI TMDS clock
+
+ "#phy-cells":
+ const: 0
+
+required:
+ - compatible
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ hdmi-phy@3a0 {
+ compatible = "amlogic,meson8-hdmi-tx-phy";
+ reg = <0x3a0 0xc>;
+ clocks = <&tmds_clock>;
+ #phy-cells = <0>;
+ };
+ - |
+ hdmi-phy@3a0 {
+ compatible = "amlogic,meson8b-hdmi-tx-phy", "amlogic,meson8-hdmi-tx-phy";
+ reg = <0x3a0 0xc>;
+ clocks = <&tmds_clock>;
+ #phy-cells = <0>;
+ };