Atmel wm8904 audio codec complex
Schema identifier ($id): "http://devicetree.org/schemas/sound/atmel,asoc-wm8904.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dharma Balasubiramani <dharma.b@microchip.com>"
The ASoC audio complex configuration for Atmel with WM8904 audio codec.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "atmel,asoc-wm8904"
atmel,model — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
The user-visible name of this sound complex.
atmel,ssc-controller — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the SSC controller.
atmel,audio-codec — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the WM8731 audio codec.
atmel,audio-routing — required here #
A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
Array item rules (items) #
Allowed values (
enum):"Headphone Jack","Line In Jack","Mic","IN1L","IN1R","IN2L","IN2R","IN3L","IN3R","HPOUTL","HPOUTR","LINEOUTL","LINEOUTR","MICBIAS"
Required in this object (required): "compatible", "atmel,model", "atmel,audio-routing", "atmel,ssc-controller", "atmel,audio-codec"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sound {
compatible = "atmel,asoc-wm8904";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck0_as_mck>;
atmel,model = "wm8904 @ AT91SAM9N12EK";
atmel,audio-routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"IN2L", "Line In Jack",
"IN2R", "Line In Jack",
"Mic", "MICBIAS",
"IN1L", "Mic";
atmel,ssc-controller = <&ssc0>;
atmel,audio-codec = <&wm8904>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 39: Board Connectors
Line 43: WM8904 CODEC Pins