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 TAS2563/TAS2781 SmartAMP
11 - Shenghao Ding <shenghao-ding@ti.com>
14 The TAS2563/TAS2781 is a mono, digital input Class-D audio
15 amplifier optimized for efficiently driving high peak power into
16 small loudspeakers. An integrated on-chip DSP supports Texas
17 Instruments Smart Amp speaker protection algorithm. The
18 integrated speaker voltage and current sense provides for real time
19 monitoring of loudspeaker behavior.
21 Specifications about the audio amplifier can be found at:
22 https://www.ti.com/lit/gpn/tas2563
23 https://www.ti.com/lit/gpn/tas2781
28 ti,tas2563: 6.1-W Boosted Class-D Audio Amplifier With Integrated
29 DSP and IV Sense, 16/20/24/32bit stereo I2S or multichannel TDM.
31 ti,tas2781: 24-V Class-D Amplifier with Real Time Integrated Speaker
32 Protection and Audio Processing, 16/20/24/32bit stereo I2S or
44 I2C address, in multiple-AMP case, all the i2c address
45 aggregate as one Audio Device to support multiple audio slots.
63 - $ref: dai-common.yaml#
74 I2C address, in multiple-AMP case, all the i2c address
75 aggregate as one Audio Device to support multiple audio slots.
92 I2C address, in multiple-AMP case, all the i2c address
93 aggregate as one Audio Device to support multiple audio slots.
100 additionalProperties: false
104 #include <dt-bindings/gpio/gpio.h>
106 /* example with quad tas2781s, such as tablet or pad device */
107 #address-cells = <1>;
109 quad_tas2781: tas2781@38 {
110 compatible = "ti,tas2781";
111 reg = <0x38>, /* Audio slot 0 */
112 <0x3a>, /* Audio slot 1 */
113 <0x39>, /* Audio slot 2 */
114 <0x3b>; /* Audio slot 3 */
116 #sound-dai-cells = <0>;
117 reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
118 interrupt-parent = <&gpio1>;