# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/samsung,arndale.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Insignal Arndale boards audio complex

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

properties:
  compatible:
    enum:
      - samsung,arndale-alc5631
      - samsung,arndale-rt5631
      - samsung,arndale-wm1811

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

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

  samsung,model:
    description: The user-visible name of this sound complex.
    $ref: /schemas/types.yaml#/definitions/string

required:
  - compatible
  - samsung,audio-codec
  - samsung,audio-cpu

additionalProperties: false

examples:
  - |
    sound {
        compatible = "samsung,arndale-rt5631";
        samsung,audio-cpu = <&i2s0>;
        samsung,audio-codec = <&rt5631>;
    };
