xref: /freebsd/sys/contrib/device-tree/Bindings/sound/tas2770.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTexas Instruments TAS2770 Smart PA
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe TAS2770 is a mono, digital input Class-D audio amplifier optimized for
4*c66ec88fSEmmanuel Vadotefficiently driving high peak power into small loudspeakers.
5*c66ec88fSEmmanuel VadotIntegrated speaker voltage and current sense provides for
6*c66ec88fSEmmanuel Vadotreal time monitoring of loudspeaker behavior.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot - compatible:	   - Should contain "ti,tas2770".
11*c66ec88fSEmmanuel Vadot - reg:		       - The i2c address. Should contain <0x4c>, <0x4d>,<0x4e>, or <0x4f>.
12*c66ec88fSEmmanuel Vadot - #address-cells  - Should be <1>.
13*c66ec88fSEmmanuel Vadot - #size-cells     - Should be <0>.
14*c66ec88fSEmmanuel Vadot - ti,asi-format:  - Sets TDM RX capture edge. 0->Rising; 1->Falling.
15*c66ec88fSEmmanuel Vadot - ti,imon-slot-no:- TDM TX current sense time slot.
16*c66ec88fSEmmanuel Vadot - ti,vmon-slot-no:- TDM TX voltage sense time slot.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotOptional properties:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot- interrupt-parent: the phandle to the interrupt controller which provides
21*c66ec88fSEmmanuel Vadot                     the interrupt.
22*c66ec88fSEmmanuel Vadot- interrupts: interrupt specification for data-ready.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotExamples:
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot    tas2770@4c {
27*c66ec88fSEmmanuel Vadot                compatible = "ti,tas2770";
28*c66ec88fSEmmanuel Vadot                reg = <0x4c>;
29*c66ec88fSEmmanuel Vadot                #address-cells = <1>;
30*c66ec88fSEmmanuel Vadot                #size-cells = <0>;
31*c66ec88fSEmmanuel Vadot                interrupt-parent = <&msm_gpio>;
32*c66ec88fSEmmanuel Vadot                interrupts = <97 0>;
33*c66ec88fSEmmanuel Vadot                ti,asi-format = <0>;
34*c66ec88fSEmmanuel Vadot                ti,imon-slot-no = <0>;
35*c66ec88fSEmmanuel Vadot                ti,vmon-slot-no = <2>;
36*c66ec88fSEmmanuel Vadot        };
37*c66ec88fSEmmanuel Vadot
38