alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-devel] [PATCH 1/2] ASoc: Add Texas Instruments TAS2562 amplifier binding
@ 2019-10-08 18:15 Dan Murphy
  2019-10-08 18:15 ` [alsa-devel] [PATCH 2/2] ASoC: tas2562: Introduce the TAS2562 amplifier Dan Murphy
  2019-10-09 17:21 ` [alsa-devel] Applied "ASoc: Add Texas Instruments TAS2562 amplifier binding" " Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Dan Murphy @ 2019-10-08 18:15 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, lgirdwood, linux-kernel, tiwai, navada, Dan Murphy

Add the DT binding for the TAS2562 amplifier.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
 .../devicetree/bindings/sound/tas2562.txt     | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/tas2562.txt

diff --git a/Documentation/devicetree/bindings/sound/tas2562.txt b/Documentation/devicetree/bindings/sound/tas2562.txt
new file mode 100644
index 000000000000..658e1fb18a99
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/tas2562.txt
@@ -0,0 +1,34 @@
+Texas Instruments TAS2562 Smart PA
+
+The TAS2562 is a mono, digital input Class-D audio amplifier optimized for
+efficiently driving high peak power into small loudspeakers.
+Integrated speaker voltage and current sense provides for
+real time monitoring of loudspeaker behavior.
+
+Required properties:
+ - #address-cells  - Should be <1>.
+ - #size-cells     - Should be <0>.
+ - compatible:	   - Should contain "ti,tas2562".
+ - reg:		   - The i2c address. Should be 0x4c, 0x4d, 0x4e or 0x4f.
+ - ti,imon-slot-no:- TDM TX current sense time slot.
+
+Optional properties:
+- interrupt-parent: phandle to the interrupt controller which provides
+                    the interrupt.
+- interrupts: (GPIO) interrupt to which the chip is connected.
+- shut-down: GPIO used to control the state of the device.
+
+Examples:
+tas2562@4c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        compatible = "ti,tas2562";
+        reg = <0x4c>;
+
+        interrupt-parent = <&gpio1>;
+        interrupts = <14>;
+
+	shut-down = <&gpio1 15 0>;
+        ti,imon-slot-no = <0>;
+};
+
-- 
2.22.0.214.g8dca754b1e

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-18 18:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 18:15 [alsa-devel] [PATCH 1/2] ASoc: Add Texas Instruments TAS2562 amplifier binding Dan Murphy
2019-10-08 18:15 ` [alsa-devel] [PATCH 2/2] ASoC: tas2562: Introduce the TAS2562 amplifier Dan Murphy
2019-10-15 20:09   ` [alsa-devel] [PATCH] ASoC: tas2562: Fix misuse of GENMASK macro Rikard Falkeborn
2019-10-18 18:06     ` [alsa-devel] Applied "ASoC: tas2562: Fix misuse of GENMASK macro" to the asoc tree Mark Brown
2019-10-09 17:21 ` [alsa-devel] Applied "ASoc: Add Texas Instruments TAS2562 amplifier binding" " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).