File Index
Files and directories
Sign in
FILE

richtek,rt9123p.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml YAML
 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
 7title: Richtek RT9123P Audio Amplifier
 8
 9maintainers:
10  - ChiYuan Huang <cy_huang@richtek.com>
11
12description:
13  RT9123P is a RT9123 variant which does not support I2C control.
14
15allOf:
16  - $ref: dai-common.yaml#
17
18properties:
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
34required:
35  - compatible
36  - '#sound-dai-cells'
37
38unevaluatedProperties: false
39
40examples:
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    };
~/ Read-only file preview.