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