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