| 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,rt9123.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Richtek RT9123/RTQ9124 Audio Amplifier |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- ChiYuan Huang <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency |
| 14 |
and performance with ultra-low quiescent current. The digital audio interface |
| 15 |
support various formats, including I2S, left-justified, right-justified, and |
| 16 |
TDM formats. |
| 17 |
|
| 18 |
RTQ9124 is an ultra-low output noise, digital input, mono-channel Class-D |
| 19 |
power amplifier that supports a 2.1MHz switching frequency. It integrates |
| 20 |
both DC and AC load diagnostics, as well as real-time load monitoring to |
| 21 |
assess speaker condition. The device operates from 4.5V to 18V and delivers |
| 22 |
up to 30W output power. |
| 23 |
|
| 24 |
allOf: |
| 25 |
- $ref: dai-common.yaml# |
| 26 |
|
| 27 |
properties: |
| 28 |
compatible: |
| 29 |
enum: |
| 30 |
- richtek,rt9123 |
| 31 |
- richtek,rtq9124 |
| 32 |
|
| 33 |
reg: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
'#sound-dai-cells': |
| 37 |
const: 0 |
| 38 |
|
| 39 |
enable-gpios: |
| 40 |
maxItems: 1 |
| 41 |
|
| 42 |
required: |
| 43 |
- compatible |
| 44 |
- reg |
| 45 |
- '#sound-dai-cells' |
| 46 |
|
| 47 |
unevaluatedProperties: false |
| 48 |
|
| 49 |
examples: |
| 50 |
- | |
| 51 |
#include <dt-bindings/gpio/gpio.h> |
| 52 |
|
| 53 |
i2c { |
| 54 |
#address-cells = <1>; |
| 55 |
#size-cells = <0>; |
| 56 |
|
| 57 |
amplifier@5e { |
| 58 |
compatible = "richtek,rt9123"; |
| 59 |
reg = <0x5e>; |
| 60 |
enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>; |
| 61 |
#sound-dai-cells = <0>; |
| 62 |
}; |
| 63 |
}; |