62 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/richtek,rtq9128.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RTQ9128 Automative Audio Power Amplifier8 9maintainers:10 - ChiYuan Huang <cy_huang@richtek.com>11 12description:13 The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel14 class-D audio power amplifier and delivering 4x75W into 4OHm at 10%15 THD+N from a 25V supply in automotive applications.16 17allOf:18 - $ref: dai-common.yaml#19 20properties:21 compatible:22 enum:23 - richtek,rtq912824 25 reg:26 maxItems: 127 28 enable-gpios:29 maxItems: 130 31 richtek,tdm-input-data2-select:32 type: boolean33 description:34 By default, if TDM mode is used, TDM data input will select 'DATA1' pin35 as the data source. This option will configure TDM data input source from36 'DATA1' to 'DATA2' pin.37 38 '#sound-dai-cells':39 const: 040 41required:42 - compatible43 - reg44 - '#sound-dai-cells'45 46unevaluatedProperties: false47 48examples:49 - |50 #include <dt-bindings/gpio/gpio.h>51 i2c {52 #address-cells = <1>;53 #size-cells = <0>;54 55 speaker@1a {56 compatible = "richtek,rtq9128";57 reg = <0x1a>;58 enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;59 #sound-dai-cells = <0>;60 };61 };62