treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / tas2562.txt
blob658e1fb18a99cd75845457f0df89ccf5c1db4044
1 Texas Instruments TAS2562 Smart PA
3 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for
4 efficiently driving high peak power into small loudspeakers.
5 Integrated speaker voltage and current sense provides for
6 real time monitoring of loudspeaker behavior.
8 Required properties:
9  - #address-cells  - Should be <1>.
10  - #size-cells     - Should be <0>.
11  - compatible:     - Should contain "ti,tas2562".
12  - reg:            - The i2c address. Should be 0x4c, 0x4d, 0x4e or 0x4f.
13  - ti,imon-slot-no:- TDM TX current sense time slot.
15 Optional properties:
16 - interrupt-parent: phandle to the interrupt controller which provides
17                     the interrupt.
18 - interrupts: (GPIO) interrupt to which the chip is connected.
19 - shut-down: GPIO used to control the state of the device.
21 Examples:
22 tas2562@4c {
23         #address-cells = <1>;
24         #size-cells = <0>;
25         compatible = "ti,tas2562";
26         reg = <0x4c>;
28         interrupt-parent = <&gpio1>;
29         interrupts = <14>;
31         shut-down = <&gpio1 15 0>;
32         ti,imon-slot-no = <0>;