Qualcomm Global Clock & Reset Controller on IPQ8064

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

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

Maintainers (maintainers): "Ansuel Smith <ansuelsmth@gmail.com>"

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

See also::
  include/dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
  include/dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

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

Item 2

Exact value (const): "syscon"

clocks — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

PXO source

Item 2

CXO source

Item 3

PLL4 from LCC

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pxo"

Item 2

Exact value (const): "cxo"

Item 3

Exact value (const): "pll4"

thermal-sensor — not listed as required here #

Value type (type): "object"

All of these rules must match (allOf) #

Rule 1

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

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

false — Not permitted by this property rule.

Required in this object (required): "compatible", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,lcc-ipq806x.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

gcc: clock-controller@900000 {
  compatible = "qcom,gcc-ipq8064", "syscon";
  reg = <0x00900000 0x4000>;
  clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
  clock-names = "pxo", "cxo", "pll4";
  #clock-cells = <1>;
  #reset-cells = <1>;

  tsens: thermal-sensor {
    compatible = "qcom,ipq8064-tsens";

    nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
    nvmem-cell-names = "calib", "calib_backup";
    interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
    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 OR BSD-2-Clause

Edit this page