Qualcomm LPASS Clock & Reset Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,lcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,lcc-apq8064", "qcom,lcc-ipq8064", "qcom,lcc-mdm9615", "qcom,lcc-msm8960"
clocks — not listed as required here #
Maximum number of items (maxItems): 8
clock-names — not listed as required here #
Maximum number of items (maxItems): 8
#clock-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "#clock-cells", "#reset-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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,lcc-apq8064","qcom,lcc-msm8960"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereArray item rules (
items)Item 1
Board PXO source
Item 2
PLL 4 Vote clock
Item 3
MI2S codec clock
Item 4
Mic I2S codec clock
Item 5
Mic I2S spare clock
Item 6
Speaker I2S codec clock
Item 7
Speaker I2S spare clock
Item 8
PCM codec clock
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"pxo"Item 2
Exact value (
const):"pll4_vote"Item 3
Exact value (
const):"mi2s_codec_clk"Item 4
Exact value (
const):"codec_i2s_mic_codec_clk"Item 5
Exact value (
const):"spare_i2s_mic_codec_clk"Item 6
Exact value (
const):"codec_i2s_spkr_codec_clk"Item 7
Exact value (
const):"spare_i2s_spkr_codec_clk"Item 8
Exact value (
const):"pcm_codec_clk"
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— required hereArray item rules (
items)Item 1
Board CXO source
Item 2
PLL 4 Vote clock
Item 3
MI2S codec clock
Item 4
Mic I2S codec clock
Item 5
Mic I2S spare clock
Item 6
Speaker I2S codec clock
Item 7
Speaker I2S spare clock
Item 8
PCM codec clock
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"cxo"Item 2
Exact value (
const):"pll4_vote"Item 3
Exact value (
const):"mi2s_codec_clk"Item 4
Exact value (
const):"codec_i2s_mic_codec_clk"Item 5
Exact value (
const):"spare_i2s_mic_codec_clk"Item 6
Exact value (
const):"codec_i2s_spkr_codec_clk"Item 7
Exact value (
const):"spare_i2s_spkr_codec_clk"Item 8
Exact value (
const):"pcm_codec_clk"
Examples (examples) #
clock-controller@28000000 {
compatible = "qcom,lcc-ipq8064";
reg = <0x28000000 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only