xref: /freebsd/sys/contrib/device-tree/Bindings/sound/richtek,rt9123.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2ae5de77eSEmmanuel Vadot%YAML 1.2
3ae5de77eSEmmanuel Vadot---
4ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/richtek,rt9123.yaml#
5ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6ae5de77eSEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Richtek RT9123/RTQ9124 Audio Amplifier
8ae5de77eSEmmanuel Vadot
9ae5de77eSEmmanuel Vadotmaintainers:
10ae5de77eSEmmanuel Vadot  - ChiYuan Huang <cy_huang@richtek.com>
11ae5de77eSEmmanuel Vadot
12ae5de77eSEmmanuel Vadotdescription:
13ae5de77eSEmmanuel Vadot  RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency
14ae5de77eSEmmanuel Vadot  and performance with ultra-low quiescent current. The digital audio interface
15ae5de77eSEmmanuel Vadot  support various formats, including I2S, left-justified, right-justified, and
16ae5de77eSEmmanuel Vadot  TDM formats.
17ae5de77eSEmmanuel Vadot
18*833e5d42SEmmanuel Vadot  RTQ9124 is an ultra-low output noise, digital input, mono-channel Class-D
19*833e5d42SEmmanuel Vadot  power amplifier that supports a 2.1MHz switching frequency. It integrates
20*833e5d42SEmmanuel Vadot  both DC and AC load diagnostics, as well as real-time load monitoring to
21*833e5d42SEmmanuel Vadot  assess speaker condition. The device operates from 4.5V to 18V and delivers
22*833e5d42SEmmanuel Vadot  up to 30W output power.
23*833e5d42SEmmanuel Vadot
24ae5de77eSEmmanuel VadotallOf:
25ae5de77eSEmmanuel Vadot  - $ref: dai-common.yaml#
26ae5de77eSEmmanuel Vadot
27ae5de77eSEmmanuel Vadotproperties:
28ae5de77eSEmmanuel Vadot  compatible:
29ae5de77eSEmmanuel Vadot    enum:
30ae5de77eSEmmanuel Vadot      - richtek,rt9123
31*833e5d42SEmmanuel Vadot      - richtek,rtq9124
32ae5de77eSEmmanuel Vadot
33ae5de77eSEmmanuel Vadot  reg:
34ae5de77eSEmmanuel Vadot    maxItems: 1
35ae5de77eSEmmanuel Vadot
36ae5de77eSEmmanuel Vadot  '#sound-dai-cells':
37ae5de77eSEmmanuel Vadot    const: 0
38ae5de77eSEmmanuel Vadot
39ae5de77eSEmmanuel Vadot  enable-gpios:
40ae5de77eSEmmanuel Vadot    maxItems: 1
41ae5de77eSEmmanuel Vadot
42ae5de77eSEmmanuel Vadotrequired:
43ae5de77eSEmmanuel Vadot  - compatible
44ae5de77eSEmmanuel Vadot  - reg
45ae5de77eSEmmanuel Vadot  - '#sound-dai-cells'
46ae5de77eSEmmanuel Vadot
47ae5de77eSEmmanuel VadotunevaluatedProperties: false
48ae5de77eSEmmanuel Vadot
49ae5de77eSEmmanuel Vadotexamples:
50ae5de77eSEmmanuel Vadot  - |
51ae5de77eSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
52ae5de77eSEmmanuel Vadot
53ae5de77eSEmmanuel Vadot    i2c {
54ae5de77eSEmmanuel Vadot        #address-cells = <1>;
55ae5de77eSEmmanuel Vadot        #size-cells = <0>;
56ae5de77eSEmmanuel Vadot
57ae5de77eSEmmanuel Vadot        amplifier@5e {
58ae5de77eSEmmanuel Vadot            compatible = "richtek,rt9123";
59ae5de77eSEmmanuel Vadot            reg = <0x5e>;
60ae5de77eSEmmanuel Vadot            enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
61ae5de77eSEmmanuel Vadot            #sound-dai-cells = <0>;
62ae5de77eSEmmanuel Vadot        };
63ae5de77eSEmmanuel Vadot    };
64