1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,mmcc.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Qualcomm Multimedia Clock & Reset Controller Binding 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Jeffrey Hugo <jhugo@codeaurora.org> 11*c66ec88fSEmmanuel Vadot - Taniya Das <tdas@codeaurora.org> 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadotdescription: | 14*c66ec88fSEmmanuel Vadot Qualcomm multimedia clock control module which supports the clocks, resets and 15*c66ec88fSEmmanuel Vadot power domains. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadotproperties: 18*c66ec88fSEmmanuel Vadot compatible: 19*c66ec88fSEmmanuel Vadot enum: 20*c66ec88fSEmmanuel Vadot - qcom,mmcc-apq8064 21*c66ec88fSEmmanuel Vadot - qcom,mmcc-apq8084 22*c66ec88fSEmmanuel Vadot - qcom,mmcc-msm8660 23*c66ec88fSEmmanuel Vadot - qcom,mmcc-msm8960 24*c66ec88fSEmmanuel Vadot - qcom,mmcc-msm8974 25*c66ec88fSEmmanuel Vadot - qcom,mmcc-msm8996 26*c66ec88fSEmmanuel Vadot - qcom,mmcc-msm8998 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot clocks: 29*c66ec88fSEmmanuel Vadot items: 30*c66ec88fSEmmanuel Vadot - description: Board XO source 31*c66ec88fSEmmanuel Vadot - description: Board sleep source 32*c66ec88fSEmmanuel Vadot - description: Global PLL 0 clock 33*c66ec88fSEmmanuel Vadot - description: DSI phy instance 0 dsi clock 34*c66ec88fSEmmanuel Vadot - description: DSI phy instance 0 byte clock 35*c66ec88fSEmmanuel Vadot - description: DSI phy instance 1 dsi clock 36*c66ec88fSEmmanuel Vadot - description: DSI phy instance 1 byte clock 37*c66ec88fSEmmanuel Vadot - description: HDMI phy PLL clock 38*c66ec88fSEmmanuel Vadot - description: DisplayPort phy PLL vco clock 39*c66ec88fSEmmanuel Vadot - description: DisplayPort phy PLL link clock 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot clock-names: 42*c66ec88fSEmmanuel Vadot items: 43*c66ec88fSEmmanuel Vadot - const: xo 44*c66ec88fSEmmanuel Vadot - const: sleep 45*c66ec88fSEmmanuel Vadot - const: gpll0 46*c66ec88fSEmmanuel Vadot - const: dsi0dsi 47*c66ec88fSEmmanuel Vadot - const: dsi0byte 48*c66ec88fSEmmanuel Vadot - const: dsi1dsi 49*c66ec88fSEmmanuel Vadot - const: dsi1byte 50*c66ec88fSEmmanuel Vadot - const: hdmipll 51*c66ec88fSEmmanuel Vadot - const: dpvco 52*c66ec88fSEmmanuel Vadot - const: dplink 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadot '#clock-cells': 55*c66ec88fSEmmanuel Vadot const: 1 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot '#reset-cells': 58*c66ec88fSEmmanuel Vadot const: 1 59*c66ec88fSEmmanuel Vadot 60*c66ec88fSEmmanuel Vadot '#power-domain-cells': 61*c66ec88fSEmmanuel Vadot const: 1 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot reg: 64*c66ec88fSEmmanuel Vadot maxItems: 1 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot protected-clocks: 67*c66ec88fSEmmanuel Vadot description: 68*c66ec88fSEmmanuel Vadot Protected clock specifier list as per common clock binding 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot vdd-gfx-supply: 71*c66ec88fSEmmanuel Vadot description: 72*c66ec88fSEmmanuel Vadot Regulator supply for the GPU_GX GDSC 73*c66ec88fSEmmanuel Vadot 74*c66ec88fSEmmanuel Vadotrequired: 75*c66ec88fSEmmanuel Vadot - compatible 76*c66ec88fSEmmanuel Vadot - reg 77*c66ec88fSEmmanuel Vadot - '#clock-cells' 78*c66ec88fSEmmanuel Vadot - '#reset-cells' 79*c66ec88fSEmmanuel Vadot - '#power-domain-cells' 80*c66ec88fSEmmanuel Vadot 81*c66ec88fSEmmanuel VadotadditionalProperties: false 82*c66ec88fSEmmanuel Vadot 83*c66ec88fSEmmanuel Vadotif: 84*c66ec88fSEmmanuel Vadot properties: 85*c66ec88fSEmmanuel Vadot compatible: 86*c66ec88fSEmmanuel Vadot contains: 87*c66ec88fSEmmanuel Vadot const: qcom,mmcc-msm8998 88*c66ec88fSEmmanuel Vadot 89*c66ec88fSEmmanuel Vadotthen: 90*c66ec88fSEmmanuel Vadot required: 91*c66ec88fSEmmanuel Vadot - clocks 92*c66ec88fSEmmanuel Vadot - clock-names 93*c66ec88fSEmmanuel Vadot 94*c66ec88fSEmmanuel Vadotexamples: 95*c66ec88fSEmmanuel Vadot # Example for MMCC for MSM8960: 96*c66ec88fSEmmanuel Vadot - | 97*c66ec88fSEmmanuel Vadot clock-controller@4000000 { 98*c66ec88fSEmmanuel Vadot compatible = "qcom,mmcc-msm8960"; 99*c66ec88fSEmmanuel Vadot reg = <0x4000000 0x1000>; 100*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 101*c66ec88fSEmmanuel Vadot #reset-cells = <1>; 102*c66ec88fSEmmanuel Vadot #power-domain-cells = <1>; 103*c66ec88fSEmmanuel Vadot }; 104*c66ec88fSEmmanuel Vadot... 105