Atmel at91sam9x5ek wm8731 audio complex
Schema identifier ($id): "http://devicetree.org/schemas/sound/atmel,sam9x5-wm8731-audio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dharma Balasubiramani <dharma.b@microchip.com>"
The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "atmel,sam9x5-wm8731-audio"
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","LOUT","ROUT","LHPOUT","RHPOUT","LLINEIN","RLINEIN","MICIN"
Required in this object (required): "compatible", "atmel,model", "atmel,ssc-controller", "atmel,audio-codec", "atmel,audio-routing"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sound {
compatible = "atmel,sam9x5-wm8731-audio";
atmel,model = "wm8731 @ AT91SAM9X5EK";
atmel,audio-routing =
"Headphone Jack", "RHPOUT",
"Headphone Jack", "LHPOUT",
"LLINEIN", "Line In Jack",
"RLINEIN", "Line In Jack";
atmel,ssc-controller = <&ssc0>;
atmel,audio-codec = <&wm8731>;
};
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: CODEC Pins