Charles Keepax | d9b27d5 | 2019-03-20 17:37:31 +0000 | [diff] [blame] | 1 | Cirrus Logic Lochnagar Audio Development Board |
| 2 | |
| 3 | Lochnagar is an evaluation and development board for Cirrus Logic |
| 4 | Smart CODEC and Amp devices. It allows the connection of most Cirrus |
| 5 | Logic devices on mini-cards, as well as allowing connection of |
| 6 | various application processor systems to provide a full evaluation |
| 7 | platform. Audio system topology, clocking and power can all be |
| 8 | controlled through the Lochnagar, allowing the device under test |
| 9 | to be used in a variety of possible use cases. |
| 10 | |
| 11 | This binding document describes the binding for the audio portion |
| 12 | of the driver. |
| 13 | |
| 14 | This binding must be part of the Lochnagar MFD binding: |
| 15 | [4] ../mfd/cirrus,lochnagar.txt |
| 16 | |
| 17 | Required properties: |
| 18 | |
| 19 | - compatible : One of the following strings: |
| 20 | "cirrus,lochnagar2-soundcard" |
| 21 | |
| 22 | - #sound-dai-cells : Must be set to 1. |
| 23 | |
| 24 | - clocks : Contains an entry for each entry in clock-names. |
| 25 | - clock-names : Must include the following clocks: |
| 26 | "mclk" Master clock source for the sound card, should normally |
| 27 | be set to LOCHNAGAR_SOUNDCARD_MCLK provided by the Lochnagar |
| 28 | clock driver. |
| 29 | |
| 30 | Example: |
| 31 | |
| 32 | lochnagar-sc { |
| 33 | compatible = "cirrus,lochnagar2-soundcard"; |
| 34 | |
| 35 | #sound-dai-cells = <1>; |
| 36 | |
| 37 | clocks = <&lochnagar_clk LOCHNAGAR_SOUNDCARD_MCLK>; |
| 38 | clock-names = "mclk"; |
| 39 | }; |