1 # SPDX-License-Identifier: (GPL-2.0-only OR BS !! 1 # SPDX-License-Identifier: GPL-2.0-only 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom, 4 $id: http://devicetree.org/schemas/clock/qcom,gpucc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm Graphics Clock & Reset Control !! 7 title: Qualcomm Graphics Clock & Reset Controller Binding 8 8 9 maintainers: 9 maintainers: 10 - Taniya Das <quic_tdas@quicinc.com> !! 10 - Taniya Das <tdas@codeaurora.org> 11 11 12 description: | 12 description: | 13 Qualcomm graphics clock control module provi !! 13 Qualcomm graphics clock control module which supports the clocks, resets and 14 domains on Qualcomm SoCs. !! 14 power domains on SDM845/SC7180/SM8150/SM8250. 15 15 16 See also:: !! 16 See also: 17 include/dt-bindings/clock/qcom,gpucc-sdm84 !! 17 dt-bindings/clock/qcom,gpucc-sdm845.h 18 include/dt-bindings/clock/qcom,gpucc-sa877 !! 18 dt-bindings/clock/qcom,gpucc-sc7180.h 19 include/dt-bindings/clock/qcom,gpucc-sc718 !! 19 dt-bindings/clock/qcom,gpucc-sm8150.h 20 include/dt-bindings/clock/qcom,gpucc-sc728 !! 20 dt-bindings/clock/qcom,gpucc-sm8250.h 21 include/dt-bindings/clock/qcom,gpucc-sc828 << 22 include/dt-bindings/clock/qcom,gpucc-sm635 << 23 include/dt-bindings/clock/qcom,gpucc-sm815 << 24 include/dt-bindings/clock/qcom,gpucc-sm825 << 25 include/dt-bindings/clock/qcom,gpucc-sm835 << 26 21 27 properties: 22 properties: 28 compatible: 23 compatible: 29 enum: 24 enum: 30 - qcom,sdm845-gpucc 25 - qcom,sdm845-gpucc 31 - qcom,sa8775p-gpucc << 32 - qcom,sc7180-gpucc 26 - qcom,sc7180-gpucc 33 - qcom,sc7280-gpucc << 34 - qcom,sc8180x-gpucc << 35 - qcom,sc8280xp-gpucc << 36 - qcom,sm6350-gpucc << 37 - qcom,sm8150-gpucc 27 - qcom,sm8150-gpucc 38 - qcom,sm8250-gpucc 28 - qcom,sm8250-gpucc 39 - qcom,sm8350-gpucc << 40 29 41 clocks: 30 clocks: 42 items: 31 items: 43 - description: Board XO source 32 - description: Board XO source 44 - description: GPLL0 main branch source 33 - description: GPLL0 main branch source 45 - description: GPLL0 div branch source 34 - description: GPLL0 div branch source 46 35 47 clock-names: 36 clock-names: 48 items: 37 items: 49 - const: bi_tcxo 38 - const: bi_tcxo 50 - const: gcc_gpu_gpll0_clk_src 39 - const: gcc_gpu_gpll0_clk_src 51 - const: gcc_gpu_gpll0_div_clk_src 40 - const: gcc_gpu_gpll0_div_clk_src 52 41 53 power-domains: !! 42 '#clock-cells': 54 maxItems: 1 !! 43 const: 1 >> 44 >> 45 '#reset-cells': >> 46 const: 1 >> 47 >> 48 '#power-domain-cells': >> 49 const: 1 55 50 56 vdd-gfx-supply: !! 51 reg: 57 description: Regulator supply for the VDD_ !! 52 maxItems: 1 58 53 59 required: 54 required: 60 - compatible 55 - compatible >> 56 - reg 61 - clocks 57 - clocks 62 - clock-names 58 - clock-names >> 59 - '#clock-cells' >> 60 - '#reset-cells' 63 - '#power-domain-cells' 61 - '#power-domain-cells' 64 62 65 # Require that power-domains and vdd-gfx-suppl !! 63 additionalProperties: false 66 not: << 67 required: << 68 - power-domains << 69 - vdd-gfx-supply << 70 << 71 allOf: << 72 - $ref: qcom,gcc.yaml# << 73 << 74 unevaluatedProperties: false << 75 64 76 examples: 65 examples: 77 - | 66 - | 78 #include <dt-bindings/clock/qcom,gcc-sdm84 67 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 79 #include <dt-bindings/clock/qcom,rpmh.h> 68 #include <dt-bindings/clock/qcom,rpmh.h> 80 clock-controller@5090000 { 69 clock-controller@5090000 { 81 compatible = "qcom,sdm845-gpucc"; 70 compatible = "qcom,sdm845-gpucc"; 82 reg = <0x05090000 0x9000>; 71 reg = <0x05090000 0x9000>; 83 clocks = <&rpmhcc RPMH_CXO_CLK>, 72 clocks = <&rpmhcc RPMH_CXO_CLK>, 84 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 73 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 85 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC 74 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 86 clock-names = "bi_tcxo", 75 clock-names = "bi_tcxo", 87 "gcc_gpu_gpll0_clk_src", 76 "gcc_gpu_gpll0_clk_src", 88 "gcc_gpu_gpll0_div_clk_src 77 "gcc_gpu_gpll0_div_clk_src"; 89 #clock-cells = <1>; 78 #clock-cells = <1>; 90 #reset-cells = <1>; 79 #reset-cells = <1>; 91 #power-domain-cells = <1>; 80 #power-domain-cells = <1>; 92 }; 81 }; 93 ... 82 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.