Debian Codegraph @

Documentation/devicetree/bindings/sound/atmel,at91sam9g20ek-wm8731.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/atmel,at91sam9g20ek-wm8731.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Atmel at91sam9g20ek wm8731 audio complex
8
9 maintainers:
10 - Balakrishnan Sambath <[email protected]>
11
12 description:
13 The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec.
14
15 properties:
16 compatible:
17 const: atmel,at91sam9g20ek-wm8731-audio
18
19 atmel,model:
20 $ref: /schemas/types.yaml#/definitions/string
21 description: The user-visible name of this sound complex.
22
23 atmel,audio-routing:
24 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
25 description: A list of the connections between audio components.
26 minItems: 2
27 maxItems: 4
28 items:
29 enum:
30 # Board Connectors
31 - Ext Spk
32 - Int Mic
33
34 # CODEC Pins
35 - LOUT
36 - ROUT
37 - LHPOUT
38 - RHPOUT
39 - LLINEIN
40 - RLINEIN
41 - MICIN
42
43 atmel,ssc-controller:
44 $ref: /schemas/types.yaml#/definitions/phandle
45 description: The phandle of the SSC controller.
46
47 atmel,audio-codec:
48 $ref: /schemas/types.yaml#/definitions/phandle
49 description: The phandle of WM8731 audio codec.
50
51 required:
52 - compatible
53 - atmel,model
54 - atmel,audio-routing
55 - atmel,ssc-controller
56 - atmel,audio-codec
57
58 additionalProperties: false
59
60 examples:
61 - |
62 sound {
63 compatible = "atmel,at91sam9g20ek-wm8731-audio";
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_pck0_as_mck>;
66 atmel,model = "wm8731 @ AT91SAMG20EK";
67 atmel,audio-routing =
68 "Ext Spk", "LHPOUT",
69 "Int Mic", "MICIN";
70 atmel,ssc-controller = <&ssc0>;
71 atmel,audio-codec = <&wm8731>;
72 };