summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-23 20:14:50 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-25 10:33:30 -0400
commitb6b5e76bb8bb22ecff90a7840dc4845d63328289 (patch)
treebc8fa98cf13025bce74dc37e212be6de3ae86679 /include/linux/platform_data
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff)
downloadtalos-op-linux-b6b5e76bb8bb22ecff90a7840dc4845d63328289.tar.gz
talos-op-linux-b6b5e76bb8bb22ecff90a7840dc4845d63328289.zip
ASoC: Add ssm2518 support
This patch adds a ASoC CODEC driver for the SSM2516. The SSM2516 is a stereo Class-D audio amplifier with an I2S interface for audio in and a built-in dynamic range control processor. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/ssm2518.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/platform_data/ssm2518.h b/include/linux/platform_data/ssm2518.h
new file mode 100644
index 000000000000..9a8e3ea287e3
--- /dev/null
+++ b/include/linux/platform_data/ssm2518.h
@@ -0,0 +1,22 @@
+/*
+ * SSM2518 amplifier audio driver
+ *
+ * Copyright 2013 Analog Devices Inc.
+ * Author: Lars-Peter Clausen <lars@metafoo.de>
+ *
+ * Licensed under the GPL-2.
+ */
+
+#ifndef __LINUX_PLATFORM_DATA_SSM2518_H__
+#define __LINUX_PLATFORM_DATA_SSM2518_H__
+
+/**
+ * struct ssm2518_platform_data - Platform data for the ssm2518 driver
+ * @enable_gpio: GPIO connected to the nSD pin. Set to -1 if the nSD pin is
+ * hardwired.
+ */
+struct ssm2518_platform_data {
+ int enable_gpio;
+};
+
+#endif
OpenPOWER on IntegriCloud