summaryrefslogtreecommitdiffstats
path: root/include/sound/tas2552-plat.h
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-07-14 15:10:45 -0500
committerMark Brown <broonie@linaro.org>2014-07-17 17:57:05 +0100
commit5df7f71d5cdfbcbfd7e1b68df9994609d33f7e58 (patch)
treed033f4c326a58cd1408b38a4bf464bc608b9edd0 /include/sound/tas2552-plat.h
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-5df7f71d5cdfbcbfd7e1b68df9994609d33f7e58.tar.bz2
ASoC: tas2552: Support TI TAS2552 Amplifier
Support the TI TAS2552 Class D amplifier. The TAS2552 is a high efficiency Class-D audio power amplifier with advanced battery current management and an integrated Class-G boost The device constantly measures the current and voltage across the load and provides a digital stream of this information. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/tas2552-plat.h')
-rw-r--r--include/sound/tas2552-plat.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/sound/tas2552-plat.h b/include/sound/tas2552-plat.h
new file mode 100644
index 000000000000..65e7627ba38e
--- /dev/null
+++ b/include/sound/tas2552-plat.h
@@ -0,0 +1,25 @@
+/*
+ * TAS2552 driver platform header
+ *
+ * Copyright (C) 2014 Texas Instruments Inc.
+ *
+ * Author: Dan Murphy <dmurphy@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+
+#ifndef TAS2552_PLAT_H
+#define TAS2552_PLAT_H
+
+struct tas2552_platform_data {
+ int enable_gpio;
+};
+
+#endif