summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/cirrus,lochnagar.txt
blob: 41ae2699f07a9ca350725e688facc88e2b0e35a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Cirrus Logic Lochnagar Audio Development Board

Lochnagar is an evaluation and development board for Cirrus Logic
Smart CODEC and Amp devices. It allows the connection of most Cirrus
Logic devices on mini-cards, as well as allowing connection of
various application processor systems to provide a full evaluation
platform.  Audio system topology, clocking and power can all be
controlled through the Lochnagar, allowing the device under test
to be used in a variety of possible use cases.

This binding document describes the binding for the audio portion
of the driver.

This binding must be part of the Lochnagar MFD binding:
  [4] ../mfd/cirrus,lochnagar.txt

Required properties:

  - compatible : One of the following strings:
                 "cirrus,lochnagar2-soundcard"

  - #sound-dai-cells : Must be set to 1.

  - clocks : Contains an entry for each entry in clock-names.
  - clock-names : Must include the following clocks:
      "mclk" Master clock source for the sound card, should normally
      be set to LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar
      clock driver.

Example:

lochnagar-sc {
	compatible = "cirrus,lochnagar2-soundcard";

	#sound-dai-cells = <1>;

	clocks = <&lochnagar_clk LOCHNAGAR_SOUNDCARD_MCLK>;
	clock-names = "mclk";
};