brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 33717b7 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/atmel,sam9x5-wm8731-audio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Atmel at91sam9x5ek wm8731 audio complex8 9maintainers:10  - Dharma Balasubiramani <dharma.b@microchip.com>11 12description:13  The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec.14 15properties:16  compatible:17    const: atmel,sam9x5-wm8731-audio18 19  atmel,model:20    $ref: /schemas/types.yaml#/definitions/string21    description: The user-visible name of this sound complex.22 23  atmel,ssc-controller:24    $ref: /schemas/types.yaml#/definitions/phandle25    description: The phandle of the SSC controller.26 27  atmel,audio-codec:28    $ref: /schemas/types.yaml#/definitions/phandle29    description: The phandle of the WM8731 audio codec.30 31  atmel,audio-routing:32    description:33      A list of the connections between audio components. Each entry is a pair34      of strings, the first being the connection's sink, the second being the35      connection's source.36    $ref: /schemas/types.yaml#/definitions/non-unique-string-array37    items:38      enum:39        # Board Connectors40        - Headphone Jack41        - Line In Jack42 43        # CODEC Pins44        - LOUT45        - ROUT46        - LHPOUT47        - RHPOUT48        - LLINEIN49        - RLINEIN50        - MICIN51 52required:53  - compatible54  - atmel,model55  - atmel,ssc-controller56  - atmel,audio-codec57  - atmel,audio-routing58 59additionalProperties: false60 61examples:62  - |63    sound {64        compatible = "atmel,sam9x5-wm8731-audio";65 66        atmel,model = "wm8731 @ AT91SAM9X5EK";67 68        atmel,audio-routing =69                "Headphone Jack", "RHPOUT",70                "Headphone Jack", "LHPOUT",71                "LLINEIN", "Line In Jack",72                "RLINEIN", "Line In Jack";73 74        atmel,ssc-controller = <&ssc0>;75        atmel,audio-codec = <&wm8731>;76    };77