Skip to content

Commit f70d0f8

Browse files
Michael-zy2000broonie
authored andcommitted
ASoC: dt-bindings: Add Everest ES8375 audio CODEC
Add device tree binding documentation for Everest ES8375 Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> Link: https://patch.msgid.link/20250523025502.23214-2-zhangyi@everest-semi.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a282060 commit f70d0f8

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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,es8375.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Everest ES8375 audio CODEC
8+
9+
maintainers:
10+
- Michael Zhang <zhangyi@everest-semi.com>
11+
12+
allOf:
13+
- $ref: dai-common.yaml#
14+
15+
properties:
16+
compatible:
17+
const: everest,es8375
18+
19+
reg:
20+
maxItems: 1
21+
22+
clocks:
23+
items:
24+
- description: clock for master clock (MCLK)
25+
26+
clock-names:
27+
items:
28+
- const: mclk
29+
30+
vdda-supply:
31+
description:
32+
Analogue power supply.
33+
34+
vddd-supply:
35+
description:
36+
Interface power supply.
37+
38+
everest,mclk-src:
39+
$ref: /schemas/types.yaml#/definitions/uint8
40+
description: |
41+
Represents the MCLK/SCLK pair pins used as the internal clock.
42+
0 represents selecting MCLK.
43+
1 represents selecting SCLK.
44+
enum: [0, 1]
45+
default: 0
46+
47+
"#sound-dai-cells":
48+
const: 0
49+
50+
required:
51+
- compatible
52+
- reg
53+
- "#sound-dai-cells"
54+
- vdda-supply
55+
- vddd-supply
56+
57+
additionalProperties: false
58+
59+
examples:
60+
- |
61+
i2c {
62+
#address-cells = <1>;
63+
#size-cells = <0>;
64+
es8375: codec@18 {
65+
compatible = "everest,es8375";
66+
reg = <0x18>;
67+
vdda-supply = <&vdd3v3>;
68+
vddd-supply = <&vdd3v3>;
69+
#sound-dai-cells = <0>;
70+
};
71+
};

0 commit comments

Comments
 (0)