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,smdk5250.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Samsung SMDK5250 audio complex with WM8994 codec |
| 8 | |
| 9 | maintainers: |
| 10 | - Krzysztof Kozlowski <krzk@kernel.org> |
| 11 | - Sylwester Nawrocki <s.nawrocki@samsung.com> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | const: samsung,smdk-wm8994 |
| 16 | |
| 17 | samsung,audio-codec: |
| 18 | description: Phandle to the audio codec. |
| 19 | $ref: /schemas/types.yaml#/definitions/phandle |
| 20 | |
| 21 | samsung,i2s-controller: |
| 22 | description: Phandle to the Samsung I2S controller. |
| 23 | $ref: /schemas/types.yaml#/definitions/phandle |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - samsung,audio-codec |
| 28 | - samsung,i2s-controller |
| 29 | |
| 30 | additionalProperties: false |
| 31 | |
| 32 | examples: |
| 33 | - | |
| 34 | sound { |
| 35 | compatible = "samsung,smdk-wm8994"; |
| 36 | samsung,i2s-controller = <&i2s0>; |
| 37 | samsung,audio-codec = <&wm8994>; |
| 38 | }; |