Trivial Audio Codec
Schema identifier ($id): "http://devicetree.org/schemas/sound/trivial-codec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ssm2602", "adi,ssm2603", "adi,ssm2604", "adi,ssm3515", "cirrus,cs4265", "cirrus,cs4341a", "cirrus,cs4349", "dlg,da9055-codec", "nuvoton,nau8540", "nuvoton,nau8810", "nuvoton,nau8812", "nuvoton,nau8814", "nxp,tfa9879", "nxp,uda1342", "sdw3019f836300", "ti,pcm1789", "ti,pcm1792a", "ti,pcm5102a", "wlf,wm8510", "wlf,wm8523", "wlf,wm8580", "wlf,wm8581", "wlf,wm8711", "wlf,wm8728", "wlf,wm8737", "wlf,wm8750", "wlf,wm8753", "wlf,wm8770", "wlf,wm8776", "wlf,wm8961", "wlf,wm8974", "wlf,wm8987"
reg — required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — not listed as required here #
Exact value (const): 0
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
codec@1a {
compatible = "wlf,wm8523";
reg = <0x1a>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 18: Analog Devices SSM2602 I2S audio CODEC devices
Line 23: Cirrus Logic CS4265 audio DAC
Line 28: Nuvoton Technology Corporation NAU85L40 Audio CODEC
Line 33: NXP TFA9879 class-D audio amplifier