12f14bc38SDmitry Baryshkov# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 22f14bc38SDmitry Baryshkov%YAML 1.2 32f14bc38SDmitry Baryshkov--- 42f14bc38SDmitry Baryshkov 52f14bc38SDmitry Baryshkov$id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-other.yaml# 62f14bc38SDmitry Baryshkov$schema: http://devicetree.org/meta-schemas/core.yaml# 72f14bc38SDmitry Baryshkov 82f14bc38SDmitry Baryshkovtitle: Qualcomm Adreno/Snapdragon HDMI phy 92f14bc38SDmitry Baryshkov 102f14bc38SDmitry Baryshkovmaintainers: 112f14bc38SDmitry Baryshkov - Rob Clark <robdclark@gmail.com> 122f14bc38SDmitry Baryshkov 132f14bc38SDmitry Baryshkovproperties: 142f14bc38SDmitry Baryshkov compatible: 152f14bc38SDmitry Baryshkov enum: 162f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8660 172f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8960 182f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8974 192f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8084 202f14bc38SDmitry Baryshkov 212f14bc38SDmitry Baryshkov reg: 222f14bc38SDmitry Baryshkov maxItems: 2 232f14bc38SDmitry Baryshkov 242f14bc38SDmitry Baryshkov reg-names: 252f14bc38SDmitry Baryshkov items: 262f14bc38SDmitry Baryshkov - const: hdmi_phy 272f14bc38SDmitry Baryshkov - const: hdmi_pll 282f14bc38SDmitry Baryshkov 292f14bc38SDmitry Baryshkov clocks: 302f14bc38SDmitry Baryshkov minItems: 1 312f14bc38SDmitry Baryshkov maxItems: 2 322f14bc38SDmitry Baryshkov 332f14bc38SDmitry Baryshkov clock-names: 342f14bc38SDmitry Baryshkov minItems: 1 352f14bc38SDmitry Baryshkov maxItems: 2 362f14bc38SDmitry Baryshkov 372f14bc38SDmitry Baryshkov power-domains: 382f14bc38SDmitry Baryshkov maxItems: 1 392f14bc38SDmitry Baryshkov 402f14bc38SDmitry Baryshkov core-vdda-supply: 412f14bc38SDmitry Baryshkov description: phandle to VDDA supply regulator 422f14bc38SDmitry Baryshkov 432f14bc38SDmitry Baryshkov vddio-supply: 442f14bc38SDmitry Baryshkov description: phandle to VDD I/O supply regulator 452f14bc38SDmitry Baryshkov 46*c5c92b2aSDmitry Baryshkov '#clock-cells': 47*c5c92b2aSDmitry Baryshkov const: 0 48*c5c92b2aSDmitry Baryshkov 492f14bc38SDmitry Baryshkov '#phy-cells': 502f14bc38SDmitry Baryshkov const: 0 512f14bc38SDmitry Baryshkov 522f14bc38SDmitry BaryshkovallOf: 532f14bc38SDmitry Baryshkov - if: 542f14bc38SDmitry Baryshkov properties: 552f14bc38SDmitry Baryshkov compatible: 562f14bc38SDmitry Baryshkov contains: 572f14bc38SDmitry Baryshkov enum: 582f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8660 592f14bc38SDmitry Baryshkov then: 602f14bc38SDmitry Baryshkov properties: 612f14bc38SDmitry Baryshkov clocks: 622f14bc38SDmitry Baryshkov maxItems: 1 632f14bc38SDmitry Baryshkov clock-names: 642f14bc38SDmitry Baryshkov items: 652f14bc38SDmitry Baryshkov - const: slave_iface 662f14bc38SDmitry Baryshkov vddio-supply: false 672f14bc38SDmitry Baryshkov 682f14bc38SDmitry Baryshkov - if: 692f14bc38SDmitry Baryshkov properties: 702f14bc38SDmitry Baryshkov compatible: 712f14bc38SDmitry Baryshkov contains: 722f14bc38SDmitry Baryshkov enum: 732cc7566dSDmitry Baryshkov - qcom,hdmi-phy-8960 742cc7566dSDmitry Baryshkov then: 752cc7566dSDmitry Baryshkov properties: 762cc7566dSDmitry Baryshkov clocks: 772cc7566dSDmitry Baryshkov minItems: 1 782cc7566dSDmitry Baryshkov maxItems: 2 792cc7566dSDmitry Baryshkov clock-names: 802cc7566dSDmitry Baryshkov minItems: 1 812cc7566dSDmitry Baryshkov items: 822cc7566dSDmitry Baryshkov - const: slave_iface 832cc7566dSDmitry Baryshkov - const: pxo 842cc7566dSDmitry Baryshkov vddio-supply: false 852cc7566dSDmitry Baryshkov 862cc7566dSDmitry Baryshkov - if: 872cc7566dSDmitry Baryshkov properties: 882cc7566dSDmitry Baryshkov compatible: 892cc7566dSDmitry Baryshkov contains: 902cc7566dSDmitry Baryshkov enum: 912f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8084 922f14bc38SDmitry Baryshkov - qcom,hdmi-phy-8974 932f14bc38SDmitry Baryshkov then: 942f14bc38SDmitry Baryshkov properties: 952f14bc38SDmitry Baryshkov clocks: 962f14bc38SDmitry Baryshkov maxItems: 2 972f14bc38SDmitry Baryshkov clock-names: 982f14bc38SDmitry Baryshkov items: 992f14bc38SDmitry Baryshkov - const: iface 1002f14bc38SDmitry Baryshkov - const: alt_iface 1012f14bc38SDmitry Baryshkov 1022f14bc38SDmitry Baryshkovrequired: 1032f14bc38SDmitry Baryshkov - compatible 1042f14bc38SDmitry Baryshkov - clocks 1052f14bc38SDmitry Baryshkov - reg 1062f14bc38SDmitry Baryshkov - reg-names 1072f14bc38SDmitry Baryshkov - '#phy-cells' 1082f14bc38SDmitry Baryshkov 1092f14bc38SDmitry BaryshkovadditionalProperties: false 1102f14bc38SDmitry Baryshkov 1112f14bc38SDmitry Baryshkovexamples: 1122f14bc38SDmitry Baryshkov - | 1132f14bc38SDmitry Baryshkov hdmi_phy: phy@4a00400 { 1142f14bc38SDmitry Baryshkov compatible = "qcom,hdmi-phy-8960"; 1152f14bc38SDmitry Baryshkov reg-names = "hdmi_phy", 1162f14bc38SDmitry Baryshkov "hdmi_pll"; 1172f14bc38SDmitry Baryshkov reg = <0x4a00400 0x60>, 1182f14bc38SDmitry Baryshkov <0x4a00500 0x100>; 119*c5c92b2aSDmitry Baryshkov #clock-cells = <0>; 1202f14bc38SDmitry Baryshkov #phy-cells = <0>; 1212f14bc38SDmitry Baryshkov power-domains = <&mmcc 1>; 1222cc7566dSDmitry Baryshkov clock-names = "slave_iface", "pxo"; 1232cc7566dSDmitry Baryshkov clocks = <&clk 21>, <&pxo_board>; 1242f14bc38SDmitry Baryshkov core-vdda-supply = <&pm8921_hdmi_mvs>; 1252f14bc38SDmitry Baryshkov }; 126