Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/qcom,mmcc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm Multimedia Clock & Reset Controller Binding
0008 
0009 maintainers:
0010   - Jeffrey Hugo <quic_jhugo@quicinc.com>
0011   - Taniya Das <tdas@codeaurora.org>
0012 
0013 description: |
0014   Qualcomm multimedia clock control module which supports the clocks, resets and
0015   power domains.
0016 
0017 properties:
0018   compatible:
0019     enum:
0020       - qcom,mmcc-apq8064
0021       - qcom,mmcc-apq8084
0022       - qcom,mmcc-msm8226
0023       - qcom,mmcc-msm8660
0024       - qcom,mmcc-msm8960
0025       - qcom,mmcc-msm8974
0026       - qcom,mmcc-msm8992
0027       - qcom,mmcc-msm8994
0028       - qcom,mmcc-msm8996
0029       - qcom,mmcc-msm8998
0030       - qcom,mmcc-sdm630
0031       - qcom,mmcc-sdm660
0032 
0033   clocks:
0034     items:
0035       - description: Board XO source
0036       - description: Board sleep source
0037       - description: Global PLL 0 clock
0038       - description: DSI phy instance 0 dsi clock
0039       - description: DSI phy instance 0 byte clock
0040       - description: DSI phy instance 1 dsi clock
0041       - description: DSI phy instance 1 byte clock
0042       - description: HDMI phy PLL clock
0043       - description: DisplayPort phy PLL vco clock
0044       - description: DisplayPort phy PLL link clock
0045 
0046   clock-names:
0047     items:
0048       - const: xo
0049       - const: sleep
0050       - const: gpll0
0051       - const: dsi0dsi
0052       - const: dsi0byte
0053       - const: dsi1dsi
0054       - const: dsi1byte
0055       - const: hdmipll
0056       - const: dpvco
0057       - const: dplink
0058 
0059   '#clock-cells':
0060     const: 1
0061 
0062   '#reset-cells':
0063     const: 1
0064 
0065   '#power-domain-cells':
0066     const: 1
0067 
0068   reg:
0069     maxItems: 1
0070 
0071   protected-clocks:
0072     description:
0073       Protected clock specifier list as per common clock binding
0074 
0075   vdd-gfx-supply:
0076     description:
0077       Regulator supply for the GPU_GX GDSC
0078 
0079 required:
0080   - compatible
0081   - reg
0082   - '#clock-cells'
0083   - '#reset-cells'
0084   - '#power-domain-cells'
0085 
0086 additionalProperties: false
0087 
0088 if:
0089   properties:
0090     compatible:
0091       contains:
0092         const: qcom,mmcc-msm8998
0093 
0094 then:
0095   required:
0096     - clocks
0097     - clock-names
0098 
0099 examples:
0100   # Example for MMCC for MSM8960:
0101   - |
0102     clock-controller@4000000 {
0103       compatible = "qcom,mmcc-msm8960";
0104       reg = <0x4000000 0x1000>;
0105       #clock-cells = <1>;
0106       #reset-cells = <1>;
0107       #power-domain-cells = <1>;
0108     };
0109 ...