xref: /linux/Documentation/devicetree/bindings/sound/cirrus,lochnagar.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/cirrus,lochnagar.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus Logic Lochnagar Audio Development Board
8
9maintainers:
10  - patches@opensource.cirrus.com
11
12description: |
13  Lochnagar is an evaluation and development board for Cirrus Logic
14  Smart CODEC and Amp devices. It allows the connection of most Cirrus
15  Logic devices on mini-cards, as well as allowing connection of various
16  application processor systems to provide a full evaluation platform.
17  Audio system topology, clocking and power can all be controlled through
18  the Lochnagar, allowing the device under test to be used in a variety of
19  possible use cases.
20
21  This binding document describes the binding for the audio portion of the
22  driver.
23
24  This binding must be part of the Lochnagar MFD binding:
25    [1] ../mfd/cirrus,lochnagar.yaml
26
27allOf:
28  - $ref: dai-common.yaml#
29
30properties:
31  compatible:
32    enum:
33      - cirrus,lochnagar2-soundcard
34
35  '#sound-dai-cells':
36    description:
37      The first cell indicating the audio interface.
38    const: 1
39
40  clocks:
41    description:
42      Master clock source for the sound card, should normally be set to
43      LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar clock driver.
44    maxItems: 1
45
46  clock-names:
47    const: mclk
48
49required:
50  - compatible
51  - '#sound-dai-cells'
52  - clocks
53  - clock-names
54
55unevaluatedProperties: false
56