Debian Codegraph @

Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/richtek,rt9123p.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Richtek RT9123P Audio Amplifier
8
9 maintainers:
10 - ChiYuan Huang <[email protected]>
11
12 description:
13 RT9123P is a RT9123 variant which does not support I2C control.
14
15 allOf:
16 - $ref: dai-common.yaml#
17
18 properties:
19 compatible:
20 enum:
21 - richtek,rt9123p
22
23 '#sound-dai-cells':
24 const: 0
25
26 enable-gpios:
27 maxItems: 1
28
29 enable-delay-ms:
30 description:
31 Delay time for 'ENABLE' pin changes intended to make I2S clocks ready to
32 prevent speaker pop noise. The unit is in millisecond.
33
34 required:
35 - compatible
36 - '#sound-dai-cells'
37
38 unevaluatedProperties: false
39
40 examples:
41 - |
42 #include <dt-bindings/gpio/gpio.h>
43
44 amplifier {
45 compatible = "richtek,rt9123p";
46 enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
47 #sound-dai-cells = <0>;
48 };