| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/sound/richtek,rtq9128.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Richtek RTQ9128 Automative Audio Power Amplifier |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- ChiYuan Huang <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel |
| 14 |
class-D audio power amplifier and delivering 4x75W into 4OHm at 10% |
| 15 |
THD+N from a 25V supply in automotive applications. |
| 16 |
|
| 17 |
The RTQ9154 is the family series of RTQ9128. The major change is to modify |
| 18 |
the package size. Beside this, whole functions are almost all the same. |
| 19 |
|
| 20 |
allOf: |
| 21 |
- $ref: dai-common.yaml# |
| 22 |
|
| 23 |
properties: |
| 24 |
compatible: |
| 25 |
oneOf: |
| 26 |
- enum: |
| 27 |
- richtek,rtq9128 |
| 28 |
- items: |
| 29 |
- enum: |
| 30 |
- richtek,rtq9154 |
| 31 |
- const: richtek,rtq9128 |
| 32 |
|
| 33 |
reg: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
enable-gpios: |
| 37 |
maxItems: 1 |
| 38 |
|
| 39 |
richtek,tdm-input-data2-select: |
| 40 |
type: boolean |
| 41 |
description: |
| 42 |
By default, if TDM mode is used, TDM data input will select 'DATA1' pin |
| 43 |
as the data source. This option will configure TDM data input source from |
| 44 |
'DATA1' to 'DATA2' pin. |
| 45 |
|
| 46 |
'#sound-dai-cells': |
| 47 |
const: 0 |
| 48 |
|
| 49 |
required: |
| 50 |
- compatible |
| 51 |
- reg |
| 52 |
- '#sound-dai-cells' |
| 53 |
|
| 54 |
unevaluatedProperties: false |
| 55 |
|
| 56 |
examples: |
| 57 |
- | |
| 58 |
#include <dt-bindings/gpio/gpio.h> |
| 59 |
i2c { |
| 60 |
#address-cells = <1>; |
| 61 |
#size-cells = <0>; |
| 62 |
|
| 63 |
speaker@1a { |
| 64 |
compatible = "richtek,rtq9128"; |
| 65 |
reg = <0x1a>; |
| 66 |
enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>; |
| 67 |
#sound-dai-cells = <0>; |
| 68 |
}; |
| 69 |
}; |