Atmel at91sam9g20ek wm8731 audio complex
Schema identifier ($id): "http://devicetree.org/schemas/sound/atmel,at91sam9g20ek-wm8731.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Balakrishnan Sambath <balakrishnan.s@microchip.com>"
The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "atmel,at91sam9g20ek-wm8731-audio"
atmel,model — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
The user-visible name of this sound complex.
atmel,audio-routing — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
A list of the connections between audio components.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Allowed values (
enum):"Ext Spk","Int Mic","LOUT","ROUT","LHPOUT","RHPOUT","LLINEIN","RLINEIN","MICIN"
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 WM8731 audio codec.
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,at91sam9g20ek-wm8731-audio";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck0_as_mck>;
atmel,model = "wm8731 @ AT91SAMG20EK";
atmel,audio-routing =
"Ext Spk", "LHPOUT",
"Int Mic", "MICIN";
atmel,ssc-controller = <&ssc0>;
atmel,audio-codec = <&wm8731>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 30: Board Connectors
Line 34: CODEC Pins