Qualcomm LPASS Core Clock Controller on SC7180

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

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

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

Qualcomm LPASS core clock control module provides the clocks and power domains on SC7180.

See also: include/dt-bindings/clock/qcom,lpasscorecc-sc7180.h

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,sc7180-lpasshm", "qcom,sc7180-lpasscorecc"

clocks — required here #

Array item rules (items) #

Item 1

gcc_lpass_sway clock from GCC

Item 2

Board XO source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bi_tcxo"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

lpass core cc register

Item 2

lpass audio cc register

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lpass_core_cc"

Item 2

Exact value (const): "lpass_audio_cc"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "qcom,sc7180-lpasshm"

When the condition matches (then) #

Properties and child nodes (properties) #

reg — not listed as required here #

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties) #

reg — not listed as required here #

Minimum number of items (minItems): 2

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
clock-controller@63000000 {
  compatible = "qcom,sc7180-lpasshm";
  reg = <0x63000000 0x28>;
  clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "iface", "bi_tcxo";
  #clock-cells = <1>;
  #power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
clock-controller@62d00000 {
  compatible = "qcom,sc7180-lpasscorecc";
  reg = <0x62d00000 0x50000>, <0x62780000 0x30000>;
  reg-names = "lpass_core_cc", "lpass_audio_cc";
  clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, <&rpmhcc RPMH_CXO_CLK>;
  clock-names = "iface", "bi_tcxo";
  power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
  #clock-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