1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022 - 2023 Texas Instruments Incorporated
5 $id: http://devicetree.org/schemas/sound/ti,tas2781.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TAS2781 SmartAMP
11 - Shenghao Ding <shenghao-ding@ti.com>
14 The TAS2781 is a mono, digital input Class-D audio amplifier
15 optimized for efficiently driving high peak power into small
16 loudspeakers. An integrated on-chip DSP supports Texas Instruments
17 Smart Amp speaker protection algorithm. The integrated speaker
18 voltage and current sense provides for real time
19 monitoring of loudspeaker behavior.
22 - $ref: dai-common.yaml#
31 I2C address, in multiple tas2781s case, all the i2c address
32 aggregate as one Audio Device to support multiple audio slots.
52 additionalProperties: false
56 #include <dt-bindings/gpio/gpio.h>
58 /* example with quad tas2781s, such as tablet or pad device */
61 quad_tas2781: tas2781@38 {
62 compatible = "ti,tas2781";
63 reg = <0x38>, /* Audio slot 0 */
64 <0x3a>, /* Audio slot 1 */
65 <0x39>, /* Audio slot 2 */
66 <0x3b>; /* Audio slot 3 */
68 #sound-dai-cells = <0>;
69 reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
70 interrupt-parent = <&gpio1>;