1*6be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*6be33864SEmmanuel Vadot# Copyright (C) 2020 Texas Instruments Incorporated 3*6be33864SEmmanuel Vadot%YAML 1.2 4*6be33864SEmmanuel Vadot--- 5*6be33864SEmmanuel Vadot$id: "http://devicetree.org/schemas/sound/tas2764.yaml#" 6*6be33864SEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7*6be33864SEmmanuel Vadot 8*6be33864SEmmanuel Vadottitle: Texas Instruments TAS2764 Smart PA 9*6be33864SEmmanuel Vadot 10*6be33864SEmmanuel Vadotmaintainers: 11*6be33864SEmmanuel Vadot - Dan Murphy <dmurphy@ti.com> 12*6be33864SEmmanuel Vadot 13*6be33864SEmmanuel Vadotdescription: | 14*6be33864SEmmanuel Vadot The TAS2764 is a mono, digital input Class-D audio amplifier optimized for 15*6be33864SEmmanuel Vadot efficiently driving high peak power into small loudspeakers. 16*6be33864SEmmanuel Vadot Integrated speaker voltage and current sense provides for 17*6be33864SEmmanuel Vadot real time monitoring of loudspeaker behavior. 18*6be33864SEmmanuel Vadot 19*6be33864SEmmanuel Vadotproperties: 20*6be33864SEmmanuel Vadot compatible: 21*6be33864SEmmanuel Vadot enum: 22*6be33864SEmmanuel Vadot - ti,tas2764 23*6be33864SEmmanuel Vadot 24*6be33864SEmmanuel Vadot reg: 25*6be33864SEmmanuel Vadot maxItems: 1 26*6be33864SEmmanuel Vadot description: | 27*6be33864SEmmanuel Vadot I2C address of the device can be between 0x38 to 0x45. 28*6be33864SEmmanuel Vadot 29*6be33864SEmmanuel Vadot reset-gpios: 30*6be33864SEmmanuel Vadot maxItems: 1 31*6be33864SEmmanuel Vadot description: GPIO used to reset the device. 32*6be33864SEmmanuel Vadot 33*6be33864SEmmanuel Vadot shutdown-gpios: 34*6be33864SEmmanuel Vadot maxItems: 1 35*6be33864SEmmanuel Vadot description: GPIO used to control the state of the device. 36*6be33864SEmmanuel Vadot 37*6be33864SEmmanuel Vadot interrupts: 38*6be33864SEmmanuel Vadot maxItems: 1 39*6be33864SEmmanuel Vadot 40*6be33864SEmmanuel Vadot ti,imon-slot-no: 41*6be33864SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 42*6be33864SEmmanuel Vadot description: TDM TX current sense time slot. 43*6be33864SEmmanuel Vadot 44*6be33864SEmmanuel Vadot ti,vmon-slot-no: 45*6be33864SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 46*6be33864SEmmanuel Vadot description: TDM TX voltage sense time slot. 47*6be33864SEmmanuel Vadot 48*6be33864SEmmanuel Vadot '#sound-dai-cells': 49*6be33864SEmmanuel Vadot const: 1 50*6be33864SEmmanuel Vadot 51*6be33864SEmmanuel Vadotrequired: 52*6be33864SEmmanuel Vadot - compatible 53*6be33864SEmmanuel Vadot - reg 54*6be33864SEmmanuel Vadot 55*6be33864SEmmanuel VadotadditionalProperties: false 56*6be33864SEmmanuel Vadot 57*6be33864SEmmanuel Vadotexamples: 58*6be33864SEmmanuel Vadot - | 59*6be33864SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 60*6be33864SEmmanuel Vadot i2c0 { 61*6be33864SEmmanuel Vadot #address-cells = <1>; 62*6be33864SEmmanuel Vadot #size-cells = <0>; 63*6be33864SEmmanuel Vadot codec: codec@38 { 64*6be33864SEmmanuel Vadot compatible = "ti,tas2764"; 65*6be33864SEmmanuel Vadot reg = <0x38>; 66*6be33864SEmmanuel Vadot #sound-dai-cells = <1>; 67*6be33864SEmmanuel Vadot interrupt-parent = <&gpio1>; 68*6be33864SEmmanuel Vadot interrupts = <14>; 69*6be33864SEmmanuel Vadot reset-gpios = <&gpio1 15 0>; 70*6be33864SEmmanuel Vadot shutdown-gpios = <&gpio1 15 0>; 71*6be33864SEmmanuel Vadot ti,imon-slot-no = <0>; 72*6be33864SEmmanuel Vadot ti,vmon-slot-no = <2>; 73*6be33864SEmmanuel Vadot }; 74*6be33864SEmmanuel Vadot }; 75*6be33864SEmmanuel Vadot 76*6be33864SEmmanuel Vadot... 77