2021-07-13 08:12:20 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
2020-02-03 11:31:40 -07:00
|
|
|
%YAML 1.2
|
|
|
|
---
|
2020-07-09 06:52:37 -07:00
|
|
|
$id: http://devicetree.org/schemas/clock/qcom,gpucc.yaml#
|
2020-02-03 11:31:40 -07:00
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
title: Qualcomm Graphics Clock & Reset Controller
|
2020-02-03 11:31:40 -07:00
|
|
|
|
|
|
|
maintainers:
|
2023-06-27 10:31:23 -07:00
|
|
|
- Taniya Das <quic_tdas@quicinc.com>
|
2020-02-03 11:31:40 -07:00
|
|
|
|
|
|
|
description: |
|
2022-11-02 09:31:53 -07:00
|
|
|
Qualcomm graphics clock control module provides the clocks, resets and power
|
|
|
|
domains on Qualcomm SoCs.
|
2020-02-03 11:31:40 -07:00
|
|
|
|
2022-11-02 09:31:53 -07:00
|
|
|
See also::
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sdm845.h
|
2023-04-11 05:59:04 -07:00
|
|
|
include/dt-bindings/clock/qcom,gpucc-sa8775p.h
|
2022-11-02 09:31:53 -07:00
|
|
|
include/dt-bindings/clock/qcom,gpucc-sc7180.h
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sc7280.h
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sc8280xp.h
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sm6350.h
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sm8150.h
|
|
|
|
include/dt-bindings/clock/qcom,gpucc-sm8250.h
|
2023-02-06 07:57:00 -07:00
|
|
|
include/dt-bindings/clock/qcom,gpucc-sm8350.h
|
2020-02-03 11:31:40 -07:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
2020-07-09 06:52:37 -07:00
|
|
|
enum:
|
|
|
|
- qcom,sdm845-gpucc
|
2023-04-11 05:59:04 -07:00
|
|
|
- qcom,sa8775p-gpucc
|
2020-07-09 06:52:37 -07:00
|
|
|
- qcom,sc7180-gpucc
|
2021-07-13 08:12:20 -07:00
|
|
|
- qcom,sc7280-gpucc
|
2021-07-21 15:53:29 -07:00
|
|
|
- qcom,sc8180x-gpucc
|
2022-09-26 10:30:24 -07:00
|
|
|
- qcom,sc8280xp-gpucc
|
2022-02-21 18:15:30 -07:00
|
|
|
- qcom,sm6350-gpucc
|
2020-07-09 06:52:38 -07:00
|
|
|
- qcom,sm8150-gpucc
|
2020-07-09 06:52:39 -07:00
|
|
|
- qcom,sm8250-gpucc
|
2023-02-06 07:57:00 -07:00
|
|
|
- qcom,sm8350-gpucc
|
2020-02-03 11:31:40 -07:00
|
|
|
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Board XO source
|
|
|
|
- description: GPLL0 main branch source
|
|
|
|
- description: GPLL0 div branch source
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: bi_tcxo
|
|
|
|
- const: gcc_gpu_gpll0_clk_src
|
|
|
|
- const: gcc_gpu_gpll0_div_clk_src
|
|
|
|
|
2023-05-22 18:03:48 -07:00
|
|
|
power-domains:
|
|
|
|
maxItems: 1
|
|
|
|
|
2024-01-25 14:05:07 -07:00
|
|
|
vdd-gfx-supply:
|
|
|
|
description: Regulator supply for the VDD_GFX pads
|
|
|
|
|
2020-02-03 11:31:40 -07:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- '#power-domain-cells'
|
|
|
|
|
2024-01-25 14:05:07 -07:00
|
|
|
# Require that power-domains and vdd-gfx-supply are not both present
|
|
|
|
not:
|
|
|
|
required:
|
|
|
|
- power-domains
|
|
|
|
- vdd-gfx-supply
|
|
|
|
|
2024-06-05 01:09:34 -07:00
|
|
|
allOf:
|
|
|
|
- $ref: qcom,gcc.yaml#
|
|
|
|
|
|
|
|
unevaluatedProperties: false
|
2020-03-25 15:05:41 -07:00
|
|
|
|
2020-02-03 11:31:40 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
|
|
|
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
|
|
|
clock-controller@5090000 {
|
|
|
|
compatible = "qcom,sdm845-gpucc";
|
2020-05-12 13:45:43 -07:00
|
|
|
reg = <0x05090000 0x9000>;
|
2020-02-03 11:31:40 -07:00
|
|
|
clocks = <&rpmhcc RPMH_CXO_CLK>,
|
|
|
|
<&gcc GCC_GPU_GPLL0_CLK_SRC>,
|
|
|
|
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
|
|
|
|
clock-names = "bi_tcxo",
|
|
|
|
"gcc_gpu_gpll0_clk_src",
|
|
|
|
"gcc_gpu_gpll0_div_clk_src";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
};
|
|
|
|
...
|