Qualcomm Global Clock & Reset Controller on APQ8064/MSM8960

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

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

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

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

See also::
  include/dt-bindings/clock/qcom,gcc-msm8960.h
  include/dt-bindings/reset/qcom,gcc-msm8960.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 #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "qcom,gcc-apq8064", "qcom,gcc-msm8960"

Item 2

Exact value (const): "syscon"

Rule 2

Allowed values (enum): "qcom,gcc-apq8064", "qcom,gcc-msm8960"

Deprecated (deprecated): true

thermal-sensor — not listed as required here #

child tsens device

Shared schema rule ($ref): /schemas/thermal/qcom-tsens.yaml#

clocks — not listed as required here #

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "cxo"

Item 2

Exact value (const): "pxo"

Item 3

Exact value (const): "pll4"

nvmem-cells — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Deprecated (deprecated): true

Qualcomm TSENS (thermal sensor device) on some devices can be part of GCC and hence the TSENS properties can also be part of the GCC/clock-controller node. For more details on the TSENS properties please refer Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

nvmem-cell-names — not listed as required here #

Minimum number of items (minItems): 1

Deprecated (deprecated): true

Array item rules (items) #

Item 1

Exact value (const): "calib"

Item 2

Exact value (const): "calib_backup"

#thermal-sensor-cells — not listed as required here #

Exact value (const): 1

Deprecated (deprecated): true

#power-domain-cells — not listed as required here #

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@900000 {
  compatible = "qcom,gcc-apq8064", "syscon";
  reg = <0x00900000 0x4000>;
  #clock-cells = <1>;
  #reset-cells = <1>;

  thermal-sensor {
    compatible = "qcom,msm8960-tsens";

    nvmem-cells = <&tsens_calib>, <&tsens_backup>;
    nvmem-cell-names = "calib", "calib_backup";
    interrupts = <0 178 4>;
    interrupt-names = "uplow";

    #qcom,sensors = <11>;
    #thermal-sensor-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Edit this page