126 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4 5$id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-other.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Qualcomm Adreno/Snapdragon HDMI phy9 10maintainers:11 - Rob Clark <robdclark@gmail.com>12 13properties:14 compatible:15 enum:16 - qcom,hdmi-phy-866017 - qcom,hdmi-phy-896018 - qcom,hdmi-phy-897419 - qcom,hdmi-phy-808420 21 reg:22 maxItems: 223 24 reg-names:25 items:26 - const: hdmi_phy27 - const: hdmi_pll28 29 clocks:30 minItems: 131 maxItems: 232 33 clock-names:34 minItems: 135 maxItems: 236 37 power-domains:38 maxItems: 139 40 core-vdda-supply:41 description: phandle to VDDA supply regulator42 43 vddio-supply:44 description: phandle to VDD I/O supply regulator45 46 '#clock-cells':47 const: 048 49 '#phy-cells':50 const: 051 52allOf:53 - if:54 properties:55 compatible:56 contains:57 enum:58 - qcom,hdmi-phy-866059 then:60 properties:61 clocks:62 maxItems: 163 clock-names:64 items:65 - const: slave_iface66 vddio-supply: false67 68 - if:69 properties:70 compatible:71 contains:72 enum:73 - qcom,hdmi-phy-896074 then:75 properties:76 clocks:77 minItems: 178 maxItems: 279 clock-names:80 minItems: 181 items:82 - const: slave_iface83 - const: pxo84 vddio-supply: false85 86 - if:87 properties:88 compatible:89 contains:90 enum:91 - qcom,hdmi-phy-808492 - qcom,hdmi-phy-897493 then:94 properties:95 clocks:96 maxItems: 297 clock-names:98 items:99 - const: iface100 - const: alt_iface101 102required:103 - compatible104 - clocks105 - reg106 - reg-names107 - '#phy-cells'108 109additionalProperties: false110 111examples:112 - |113 hdmi_phy: phy@4a00400 {114 compatible = "qcom,hdmi-phy-8960";115 reg-names = "hdmi_phy",116 "hdmi_pll";117 reg = <0x4a00400 0x60>,118 <0x4a00500 0x100>;119 #clock-cells = <0>;120 #phy-cells = <0>;121 power-domains = <&mmcc 1>;122 clock-names = "slave_iface", "pxo";123 clocks = <&clk 21>, <&pxo_board>;124 core-vdda-supply = <&pm8921_hdmi_mvs>;125 };126