Skip to content

Commit 2ca7033

Browse files
javierckrbroonie
authored andcommitted
ASoC: dt-bindings: rt1015: Convert to dtschema
Convert the RT1015 Mono Class D Audio Amplifier to DT schema. Signed-off-by: Javier García <javier.gar.tab@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://msgid.link/r/20240304142315.14522-1-javier.gar.tab@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8fedf4f commit 2ca7033

File tree

2 files changed

+41
-23
lines changed

2 files changed

+41
-23
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/realtek,rt1015.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: RT1015 Mono Class D Audio Amplifier
8+
9+
maintainers:
10+
- Jack Yu <jack.yu@realtek.com>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- realtek,rt1015
16+
17+
reg:
18+
maxItems: 1
19+
20+
realtek,power-up-delay-ms:
21+
description: Set a delay time for flush work to be completed,
22+
this vlaue is adjustable depending on platform.
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
29+
additionalProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
#address-cells = <1>;
35+
#size-cells = <0>;
36+
codec@28 {
37+
compatible = "realtek,rt1015";
38+
reg = <0x28>;
39+
realtek,power-up-delay-ms = <50>;
40+
};
41+
};

Documentation/devicetree/bindings/sound/rt1015.txt

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

0 commit comments

Comments
 (0)