Skip to content

Commit 59de6c3

Browse files
danascapebroonie
authored andcommitted
ASoC: dt-bindings: wm8753: Convert to dtschema
Convert the WM8753 audio codec bindings to DT schema. Signed-off-by: Saalim Quadri <danascape@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230414223801.1106550-1-danascape@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8076c58 commit 59de6c3

2 files changed

Lines changed: 62 additions & 40 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/wlf,wm8753.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: WM8753 audio CODEC
8+
9+
description: |
10+
Pins on the device (for linking into audio routes):
11+
* LOUT1
12+
* LOUT2
13+
* ROUT1
14+
* ROUT2
15+
* MONO1
16+
* MONO2
17+
* OUT3
18+
* OUT4
19+
* LINE1
20+
* LINE2
21+
* RXP
22+
* RXN
23+
* ACIN
24+
* ACOP
25+
* MIC1N
26+
* MIC1
27+
* MIC2N
28+
* MIC2
29+
* Mic Bias
30+
31+
maintainers:
32+
- patches@opensource.cirrus.com
33+
34+
allOf:
35+
- $ref: dai-common.yaml#
36+
37+
properties:
38+
compatible:
39+
const: wlf,wm8753
40+
41+
reg:
42+
maxItems: 1
43+
44+
"#sound-dai-cells":
45+
const: 0
46+
47+
required:
48+
- compatible
49+
- reg
50+
51+
unevaluatedProperties: false
52+
53+
examples:
54+
- |
55+
i2c {
56+
#address-cells = <1>;
57+
#size-cells = <0>;
58+
codec@1a {
59+
compatible = "wlf,wm8753";
60+
reg = <0x1a>;
61+
};
62+
};

Documentation/devicetree/bindings/sound/wm8753.txt

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)