Qualcomm MSM8916 WCD Digital Audio Codec

Schema identifier ($id): "http://devicetree.org/schemas/sound/qcom,msm8916-wcd-digital-codec.yaml#"

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

Maintainers (maintainers): "Srinivas Kandagatla <srinivas.kandagatla@linaro.org>"

The digital WCD audio codec found on Qualcomm MSM8916 LPASS.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,msm8916-wcd-digital-codec"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ahbix-clk"

Item 2

Exact value (const): "mclk"

#sound-dai-cells — required here #

Exact value (const): 1

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8916.h>
audio-codec@771c000 {
    compatible = "qcom,msm8916-wcd-digital-codec";
    reg = <0x0771c000 0x400>;
    clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
             <&gcc GCC_CODEC_DIGCODEC_CLK>;
    clock-names = "ahbix-clk", "mclk";
    #sound-dai-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