Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/sound/samsung,arndale.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Insignal Arndale boards audio complex |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzk@kernel.org> |
| 11 | - Sylwester Nawrocki <s.nawrocki@samsung.com> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | enum: |
| 16 | - samsung,arndale-alc5631 |
| 17 | - samsung,arndale-rt5631 |
| 18 | - samsung,arndale-wm1811 |
| 19 | |
| 20 | samsung,audio-codec: |
| 21 | description: Phandle to the audio codec. |
| 22 | $ref: /schemas/types.yaml#/definitions/phandle |
| 23 | |
| 24 | samsung,audio-cpu: |
| 25 | description: Phandle to the Samsung I2S controller. |
| 26 | $ref: /schemas/types.yaml#/definitions/phandle |
| 27 | |
| 28 | samsung,model: |
| 29 | description: The user-visible name of this sound complex. |
| 30 | $ref: /schemas/types.yaml#/definitions/string |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - samsung,audio-codec |
| 35 | - samsung,audio-cpu |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | sound { |
| 42 | compatible = "samsung,arndale-rt5631"; |
| 43 | samsung,audio-cpu = <&i2s0>; |
| 44 | samsung,audio-codec = <&rt5631>; |
| 45 | }; |