1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019-20 Texas Instruments Incorporated
5 $id: "http://devicetree.org/schemas/sound/tas2770.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Texas Instruments TAS2770 Smart PA
11 - Shi Fu <shifu0704@thundersoft.com>
14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
15 efficiently driving high peak power into small loudspeakers.
16 Integrated speaker voltage and current sense provides for
17 real time monitoring of loudspeaker behavior.
27 I2C address of the device can be between 0x41 to 0x48.
30 description: GPIO used to reset the device.
33 description: GPIO used to control the state of the device.
39 $ref: /schemas/types.yaml#/definitions/uint32
40 description: TDM TX current sense time slot.
43 $ref: /schemas/types.yaml#/definitions/uint32
44 description: TDM TX voltage sense time slot.
48 $ref: /schemas/types.yaml#/definitions/uint32
49 description: Sets TDM RX capture edge.
61 additionalProperties: false
65 #include <dt-bindings/gpio/gpio.h>
70 compatible = "ti,tas2770";
72 #sound-dai-cells = <1>;
73 interrupt-parent = <&gpio1>;
75 reset-gpio = <&gpio1 15 0>;
76 shutdown-gpios = <&gpio1 14 0>;
77 ti,imon-slot-no = <0>;
78 ti,vmon-slot-no = <2>;