Qualcomm LPASS Core & Audio Clock Controller on SC7280
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sc7280-lpasscorecc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>"
Qualcomm LPASS core and audio clock control module provides the clocks and power domains on SC7280.
See also::
include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qcm6490-lpassaudiocc", "qcom,sc7280-lpassaoncc", "qcom,sc7280-lpassaudiocc", "qcom,sc7280-lpasscorecc", "qcom,sc7280-lpasshm"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
#clock-cells — required here #
Exact value (const): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#power-domain-cells — required here #
Exact value (const): 1
#reset-cells — not listed as required here #
Exact value (const): 1
qcom,adsp-pil-mode — not listed as required here #
Indicates if the LPASS would be brought out of reset using peripheral loader.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "#power-domain-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,qcm6490-lpassaudiocc","qcom,sc7280-lpassaudiocc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
LPASS_AON_CC_MAIN_RCG_CLK_SRC
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bi_tcxo"Item 2
Exact value (
const):"lpass_aon_cc_main_rcg_clk_src"
reg— not listed as required hereArray item rules (
items)Item 1
lpass core cc register
Item 2
lpass audio csr register
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
Item 2
Board XO active only source
Item 3
LPASS_AON_CC_MAIN_RCG_CLK_SRC
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bi_tcxo"Item 2
Exact value (
const):"bi_tcxo_ao"Item 3
Exact value (
const):"iface"
reg— not listed as required hereMaximum number of items (
maxItems):1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc7280-lpasshm","qcom,sc7280-lpasscorecc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Board XO source
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"bi_tcxo"
reg— not listed as required hereMaximum number of items (
maxItems):1
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-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_audiocc: clock-controller@3300000 {
compatible = "qcom,sc7280-lpassaudiocc";
reg = <0x3300000 0x30000>,
<0x32a9000 0x1000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
#clock-cells = <1>;
#power-domain-cells = <1>;
#reset-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_hm: clock-controller@3c00000 {
compatible = "qcom,sc7280-lpasshm";
reg = <0x3c00000 0x28>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "bi_tcxo";
#clock-cells = <1>;
#power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpasscore: clock-controller@3900000 {
compatible = "qcom,sc7280-lpasscorecc";
reg = <0x3900000 0x50000>;
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "bi_tcxo";
power-domains = <&lpass_hm LPASS_CORE_CC_LPASS_CORE_HM_GDSC>;
#clock-cells = <1>;
#power-domain-cells = <1>;
};
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_aon: clock-controller@3380000 {
compatible = "qcom,sc7280-lpassaoncc";
reg = <0x3380000 0x30000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
<&lpasscore LPASS_CORE_CC_CORE_CLK>;
clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
qcom,adsp-pil-mode;
#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)