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