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/ti,tas2770.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TAS2770 Smart PA
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.
20 - $ref: dai-common.yaml#
30 I2C address of the device can be between 0x41 to 0x48.
34 description: GPIO used to reset the device.
38 description: GPIO used to control the state of the device.
44 $ref: /schemas/types.yaml#/definitions/uint32
45 description: TDM TX current sense time slot.
48 $ref: /schemas/types.yaml#/definitions/uint32
49 description: TDM TX voltage sense time slot.
53 $ref: /schemas/types.yaml#/definitions/uint32
54 description: Sets TDM RX capture edge.
60 # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
61 # compatibility but is deprecated.
68 unevaluatedProperties: false
72 #include <dt-bindings/gpio/gpio.h>
77 compatible = "ti,tas2770";
79 #sound-dai-cells = <0>;
80 interrupt-parent = <&gpio1>;
82 reset-gpio = <&gpio1 15 0>;
83 shutdown-gpios = <&gpio1 14 0>;
84 ti,imon-slot-no = <0>;
85 ti,vmon-slot-no = <2>;