summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/samsung,smdk5250.yaml
blob: ac151d3c1d779b0bc17f161fd272ea012c7e6993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/samsung,smdk5250.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung SMDK5250 audio complex with WM8994 codec

maintainers:
  - Krzysztof Kozlowski <krzk@kernel.org>
  - Sylwester Nawrocki <s.nawrocki@samsung.com>

properties:
  compatible:
    const: samsung,smdk-wm8994

  samsung,audio-codec:
    description: Phandle to the audio codec.
    $ref: /schemas/types.yaml#/definitions/phandle

  samsung,i2s-controller:
    description: Phandle to the Samsung I2S controller.
    $ref: /schemas/types.yaml#/definitions/phandle

required:
  - compatible
  - samsung,audio-codec
  - samsung,i2s-controller

additionalProperties: false

examples:
  - |
    sound {
        compatible = "samsung,smdk-wm8994";
        samsung,i2s-controller = <&i2s0>;
        samsung,audio-codec = <&wm8994>;
    };