Files
android_kernel_samsung_sm87…/bindings/clock/qcom,debugcc.yaml
Aryan Modi e0116ea457 dt-bindings: clock: Add clock controllers compatible for SM6150
Document compatible for GCC/GPUCC/DISPCC/DEBUGCC/VIDEOCC/CAMCC
on SM6150 Platform.

Change-Id: Id463d7ee9333e65f97a455d511411ac0feb378dd
Signed-off-by: Aryan Modi <quic_aryamodi@quicinc.com>
2025-04-24 17:42:37 +05:30

93 lines
2.2 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,sdx75-debugcc
- qcom,sdxbaagha-debugcc
- qcom,sm4450-debugcc
- qcom,sm6150-debugcc
- qcom,monaco-debugcc
- qcom,tuna-debugcc
- qcom,kera-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>;
};
...