1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,msm8998-gpucc.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm Graphics Clock & Reset Controller on MSM8998 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10*aa1a8ff2SEmmanuel Vadot - Taniya Das <quic_tdas@quicinc.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 138bab661aSEmmanuel Vadot Qualcomm graphics clock control module provides the clocks, resets and power 148bab661aSEmmanuel Vadot domains on MSM8998. 15c66ec88fSEmmanuel Vadot 168bab661aSEmmanuel Vadot See also:: include/dt-bindings/clock/qcom,gpucc-msm8998.h 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadotproperties: 19c66ec88fSEmmanuel Vadot compatible: 20c66ec88fSEmmanuel Vadot const: qcom,msm8998-gpucc 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot clocks: 23c66ec88fSEmmanuel Vadot items: 24c66ec88fSEmmanuel Vadot - description: Board XO source 25c66ec88fSEmmanuel Vadot - description: GPLL0 main branch source (gcc_gpu_gpll0_clk_src) 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot clock-names: 28c66ec88fSEmmanuel Vadot items: 29c66ec88fSEmmanuel Vadot - const: xo 30c66ec88fSEmmanuel Vadot - const: gpll0 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot '#clock-cells': 33c66ec88fSEmmanuel Vadot const: 1 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot '#reset-cells': 36c66ec88fSEmmanuel Vadot const: 1 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot '#power-domain-cells': 39c66ec88fSEmmanuel Vadot const: 1 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot reg: 42c66ec88fSEmmanuel Vadot maxItems: 1 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel Vadotrequired: 45c66ec88fSEmmanuel Vadot - compatible 46c66ec88fSEmmanuel Vadot - reg 47c66ec88fSEmmanuel Vadot - clocks 48c66ec88fSEmmanuel Vadot - clock-names 49c66ec88fSEmmanuel Vadot - '#clock-cells' 50c66ec88fSEmmanuel Vadot - '#reset-cells' 51c66ec88fSEmmanuel Vadot - '#power-domain-cells' 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel VadotadditionalProperties: false 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotexamples: 56c66ec88fSEmmanuel Vadot - | 57c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-msm8998.h> 58c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmcc.h> 59c66ec88fSEmmanuel Vadot clock-controller@5065000 { 60c66ec88fSEmmanuel Vadot compatible = "qcom,msm8998-gpucc"; 61c66ec88fSEmmanuel Vadot #clock-cells = <1>; 62c66ec88fSEmmanuel Vadot #reset-cells = <1>; 63c66ec88fSEmmanuel Vadot #power-domain-cells = <1>; 64c66ec88fSEmmanuel Vadot reg = <0x05065000 0x9000>; 65c66ec88fSEmmanuel Vadot clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0_OUT_MAIN>; 66c66ec88fSEmmanuel Vadot clock-names = "xo", "gpll0"; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot... 69