Qualcomm Global Clock & Reset Controller on MSM8937, MSM8940, MSM8953 and SDM439
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-msm8953.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Adam Skladowski <a_skl39@protonmail.com>", "Sireesh Kodali <sireeshkodali@protonmail.com>", "Barnabas Czeman <barnabas.czeman@mainlining.org>"
Qualcomm global clock control module provides the clocks, resets and power domains on MSM8937, MSM8940, MSM8953 or SDM439.
See also::
include/dt-bindings/clock/qcom,gcc-msm8917.h
include/dt-bindings/clock/qcom,gcc-msm8953.h
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,gcc-msm8937", "qcom,gcc-msm8940", "qcom,gcc-msm8953", "qcom,gcc-sdm439"
clocks — required here #
Array item rules (items) #
Item 1
Board XO source
Item 2
Sleep clock source
Item 3
Byte clock from DSI PHY0
Item 4
Pixel clock from DSI PHY0
Item 5
Byte clock from DSI PHY1
Item 6
Pixel clock from DSI PHY1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xo"
Item 2
Exact value (
const):"sleep"
Item 3
Exact value (
const):"dsi0pll"
Item 4
Exact value (
const):"dsi0pllbyte"
Item 5
Exact value (
const):"dsi1pll"
Item 6
Exact value (
const):"dsi1pllbyte"
Required in this object (required): "compatible", "clocks", "clock-names", "#power-domain-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,gcc.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1800000 {
compatible = "qcom,gcc-msm8953";
reg = <0x01800000 0x80000>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&sleep_clk>,
<&dsi0_phy 1>,
<&dsi0_phy 0>,
<&dsi1_phy 1>,
<&dsi1_phy 0>;
clock-names = "xo",
"sleep",
"dsi0pll",
"dsi0pllbyte",
"dsi1pll",
"dsi1pllbyte";
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)