xref: /linux/Documentation/devicetree/bindings/sound/richtek,rtq9128.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
10339eadbSChiYuan Huang# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
20339eadbSChiYuan Huang%YAML 1.2
30339eadbSChiYuan Huang---
40339eadbSChiYuan Huang$id: http://devicetree.org/schemas/sound/richtek,rtq9128.yaml#
50339eadbSChiYuan Huang$schema: http://devicetree.org/meta-schemas/core.yaml#
60339eadbSChiYuan Huang
70339eadbSChiYuan Huangtitle: Richtek RTQ9128 Automative Audio Power Amplifier
80339eadbSChiYuan Huang
90339eadbSChiYuan Huangmaintainers:
100339eadbSChiYuan Huang  - ChiYuan Huang <cy_huang@richtek.com>
110339eadbSChiYuan Huang
120339eadbSChiYuan Huangdescription:
130339eadbSChiYuan Huang  The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel
140339eadbSChiYuan Huang  class-D audio power amplifier and delivering 4x75W into 4OHm at 10%
150339eadbSChiYuan Huang  THD+N from a 25V supply in automotive applications.
160339eadbSChiYuan Huang
170339eadbSChiYuan HuangallOf:
180339eadbSChiYuan Huang  - $ref: dai-common.yaml#
190339eadbSChiYuan Huang
200339eadbSChiYuan Huangproperties:
210339eadbSChiYuan Huang  compatible:
220339eadbSChiYuan Huang    enum:
230339eadbSChiYuan Huang      - richtek,rtq9128
240339eadbSChiYuan Huang
250339eadbSChiYuan Huang  reg:
260339eadbSChiYuan Huang    maxItems: 1
270339eadbSChiYuan Huang
280339eadbSChiYuan Huang  enable-gpios:
290339eadbSChiYuan Huang    maxItems: 1
300339eadbSChiYuan Huang
31*bf38a0beSChiYuan Huang  richtek,tdm-input-data2-select:
32*bf38a0beSChiYuan Huang    type: boolean
33*bf38a0beSChiYuan Huang    description:
34*bf38a0beSChiYuan Huang      By default, if TDM mode is used, TDM data input will select 'DATA1' pin
35*bf38a0beSChiYuan Huang      as the data source. This option will configure TDM data input source from
36*bf38a0beSChiYuan Huang      'DATA1' to 'DATA2' pin.
37*bf38a0beSChiYuan Huang
380339eadbSChiYuan Huang  '#sound-dai-cells':
390339eadbSChiYuan Huang    const: 0
400339eadbSChiYuan Huang
410339eadbSChiYuan Huangrequired:
420339eadbSChiYuan Huang  - compatible
430339eadbSChiYuan Huang  - reg
440339eadbSChiYuan Huang  - '#sound-dai-cells'
450339eadbSChiYuan Huang
460339eadbSChiYuan HuangunevaluatedProperties: false
470339eadbSChiYuan Huang
480339eadbSChiYuan Huangexamples:
490339eadbSChiYuan Huang  - |
500339eadbSChiYuan Huang    #include <dt-bindings/gpio/gpio.h>
510339eadbSChiYuan Huang    i2c {
520339eadbSChiYuan Huang      #address-cells = <1>;
530339eadbSChiYuan Huang      #size-cells = <0>;
540339eadbSChiYuan Huang
550339eadbSChiYuan Huang      speaker@1a {
560339eadbSChiYuan Huang        compatible = "richtek,rtq9128";
570339eadbSChiYuan Huang        reg = <0x1a>;
580339eadbSChiYuan Huang        enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
590339eadbSChiYuan Huang        #sound-dai-cells = <0>;
600339eadbSChiYuan Huang      };
610339eadbSChiYuan Huang    };
62