Skip to content

Commit 3da9d14

Browse files
danascapebroonie
authored andcommitted
ASoC: dt-bindings: wm8728: Convert to dtschema
Convert the WM8728 audio CODEC bindings to DT schema Signed-off-by: Saalim Quadri <danascape@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230417204323.137681-1-danascape@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5f3d94e commit 3da9d14

2 files changed

Lines changed: 40 additions & 18 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/wlf,wm8728.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: WM8728 audio CODEC
8+
9+
maintainers:
10+
- patches@opensource.cirrus.com
11+
12+
allOf:
13+
- $ref: dai-common.yaml#
14+
15+
properties:
16+
compatible:
17+
const: wlf,wm8728
18+
19+
reg:
20+
maxItems: 1
21+
22+
"#sound-dai-cells":
23+
const: 0
24+
25+
required:
26+
- compatible
27+
- reg
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
#address-cells = <1>;
35+
#size-cells = <0>;
36+
codec@1a {
37+
compatible = "wlf,wm8728";
38+
reg = <0x1a>;
39+
};
40+
};

Documentation/devicetree/bindings/sound/wm8728.txt

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

0 commit comments

Comments
 (0)