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