Qualcomm Global Clock & Reset Controller on SM6375

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sm6375-gcc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Qualcomm global clock control module provides the clocks, resets and power domains on SM6375

See also: include/dt-bindings/clock/qcom,sm6375-gcc.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sm6375-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board XO Active-Only source

Item 3

Sleep clock source

Required in this object (required): "compatible", "clocks", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmcc.h>
clock-controller@1400000 {
  compatible = "qcom,sm6375-gcc";
  reg = <0x01400000 0x1f0000>;
  clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
           <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
           <&sleep_clk>;
  #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)

Edit this page