Skip to content

Commit 92e67a9

Browse files
katsusterbroonie
authored andcommitted
ASoC: convert Everest ES8316 binding to yaml
This patch converts Everest Semiconductor ES8316 low power audio CODEC binding to DT schema. Signed-off-by: Katsuhiro Suzuki <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 3570922 commit 92e67a9

File tree

2 files changed

+50
-23
lines changed

2 files changed

+50
-23
lines changed

Documentation/devicetree/bindings/sound/everest,es8316.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/everest,es8316.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Everest ES8316 audio CODEC
8+
9+
maintainers:
10+
- Daniel Drake <[email protected]>
11+
- Katsuhiro Suzuki <[email protected]>
12+
13+
properties:
14+
compatible:
15+
const: everest,es8316
16+
17+
reg:
18+
maxItems: 1
19+
20+
clocks:
21+
items:
22+
- description: clock for master clock (MCLK)
23+
24+
clock-names:
25+
items:
26+
- const: mclk
27+
28+
"#sound-dai-cells":
29+
const: 0
30+
31+
required:
32+
- compatible
33+
- reg
34+
- "#sound-dai-cells"
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
i2c0 {
41+
#address-cells = <1>;
42+
#size-cells = <0>;
43+
es8316: codec@11 {
44+
compatible = "everest,es8316";
45+
reg = <0x11>;
46+
clocks = <&clks 10>;
47+
clock-names = "mclk";
48+
#sound-dai-cells = <0>;
49+
};
50+
};

0 commit comments

Comments
 (0)