Qualcomm Global Clock & Reset Controller on SM8750

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

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

Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"

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

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,kaanapali-gcc", "qcom,sm8750-gcc"

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Board Always On XO source

Item 3

Sleep clock source

Item 4

PCIE 0 Pipe clock source

Item 5

UFS Phy Rx symbol 0 clock source

Item 6

UFS Phy Rx symbol 1 clock source

Item 7

UFS Phy Tx symbol 0 clock source

Item 8

USB3 Phy wrapper pipe clock source

Required in this object (required): "compatible", "clocks", "#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,rpmh.h>
clock-controller@100000 {
  compatible = "qcom,sm8750-gcc";
  reg = <0x00100000 0x001f4200>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&rpmhcc RPMH_CXO_CLK_A>,
           <&sleep_clk>,
           <&pcie0_phy>,
           <&ufs_mem_phy 0>,
           <&ufs_mem_phy 1>,
           <&ufs_mem_phy 2>,
           <&usb_1_qmpphy>;
  #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