Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: lochnagar: Move binding over to dtschema

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Charles Keepax and committed by
Rob Herring
e1bfa75d 9826fb4d

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