Files
android_kernel_samsung_sm87…/bindings/clock/qcom,debugcc.yaml
Prerna Singh 24e6ec54d7 dt-bindings: clock: Add clock controller bindings for Monaco
Add clock controller bindings for GCC/GPUCC/DISPCC/DEBUGCC
on Monaco Platform.
Add clock controller bindings for RPMCC for Monaco, Khaje and
Holi platform.

Change-Id: I98e6b2094daabc6e6b8b450a397ea3c19799b50a
Signed-off-by: Prerna Singh <quic_prersing@quicinc.com>
2024-06-02 21:56:48 -07:00

88 lines
2.1 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,debugcc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. Debug Clock Controller
maintainers:
- Xubin Bai <quic_xubibai@quicinc.com>
- Vivek Aknurwar <quic_viveka@quicinc.com>
description: |
Debug Clock Controller module which support debug clock controllers.
properties:
compatible:
enum:
- qcom,pineapple-debugcc
- qcom,sun-debugcc
- qcom,parrot-debugcc
- qcom,sm4450-debugcc
- qcom,monaco-debugcc
clocks:
items:
- description: Board XO source
clock-names:
items:
- const: xo_clk_src
qcom,gcc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the GCC device node
qcom,gpucc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the GPU CC device node
qcom,videocc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the Video CC device node
qcom,dispcc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the Display CC device node
qcom,camcc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the Camera CC device node
qcom,apsscc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the APSS CC device node
qcom,mccc:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the Memory Controller CC device node
required:
- compatible
- clocks
- clock-names
allOf:
- $ref: "qcom,gcc.yaml#"
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
debugcc: qcom,cc-debug {
compatible = "qcom,pineapple-debugcc";
qcom,gcc = <&gcc>;
qcom,gpucc = <&gpucc>;
qcom,videocc = <&videocc>;
qcom,dispcc = <&dispcc>;
qcom,camcc = <&camcc>;
qcom,apsscc = <&apsscc>;
qcom,mccc = <&mccc>;
clock-names = "xo_clk_src";
clocks = <&rpmhcc RPMH_CXO_CLK>;
#clock-cells = <1>;
};
...