Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 
0005 $id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-other.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007 
0008 title: Qualcomm Adreno/Snapdragon HDMI phy
0009 
0010 maintainers:
0011   - Rob Clark <robdclark@gmail.com>
0012 
0013 properties:
0014   compatible:
0015     enum:
0016       - qcom,hdmi-phy-8660
0017       - qcom,hdmi-phy-8960
0018       - qcom,hdmi-phy-8974
0019       - qcom,hdmi-phy-8084
0020 
0021   reg:
0022     maxItems: 2
0023 
0024   reg-names:
0025     items:
0026       - const: hdmi_phy
0027       - const: hdmi_pll
0028 
0029   clocks:
0030     minItems: 1
0031     maxItems: 2
0032 
0033   clock-names:
0034     minItems: 1
0035     maxItems: 2
0036 
0037   power-domains:
0038     maxItems: 1
0039 
0040   core-vdda-supply:
0041     description: phandle to VDDA supply regulator
0042 
0043   vddio-supply:
0044     description: phandle to VDD I/O supply regulator
0045 
0046   '#phy-cells':
0047     const: 0
0048 
0049 allOf:
0050   - if:
0051       properties:
0052         compatible:
0053           contains:
0054             enum:
0055               - qcom,hdmi-phy-8660
0056               - qcom,hdmi-phy-8960
0057     then:
0058       properties:
0059         clocks:
0060           maxItems: 1
0061         clock-names:
0062           items:
0063             - const: slave_iface
0064         vddio-supply: false
0065 
0066   - if:
0067       properties:
0068         compatible:
0069           contains:
0070             enum:
0071               - qcom,hdmi-phy-8084
0072               - qcom,hdmi-phy-8974
0073     then:
0074       properties:
0075         clocks:
0076           maxItems: 2
0077         clock-names:
0078           items:
0079             - const: iface
0080             - const: alt_iface
0081 
0082 required:
0083   - compatible
0084   - clocks
0085   - reg
0086   - reg-names
0087   - '#phy-cells'
0088 
0089 additionalProperties: false
0090 
0091 examples:
0092   - |
0093     hdmi_phy: phy@4a00400 {
0094       compatible = "qcom,hdmi-phy-8960";
0095       reg-names = "hdmi_phy",
0096                   "hdmi_pll";
0097       reg = <0x4a00400 0x60>,
0098             <0x4a00500 0x100>;
0099       #phy-cells = <0>;
0100       power-domains = <&mmcc 1>;
0101       clock-names = "slave_iface";
0102       clocks = <&clk 21>;
0103       core-vdda-supply = <&pm8921_hdmi_mvs>;
0104     };