summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8580.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8580.h')
-rw-r--r--sound/soc/codecs/wm8580.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8580.h b/sound/soc/codecs/wm8580.h
index 0dfb5ddde6a2..0c51ede6b13b 100644
--- a/sound/soc/codecs/wm8580.h
+++ b/sound/soc/codecs/wm8580.h
@@ -28,6 +28,15 @@
#define WM8580_CLKSRC_OSC 4
#define WM8580_CLKSRC_NONE 5
+/*clock divider id's */
+#define WM8580_BCLK_CLKDIV 0
+#define WM8580_LRCLK_CLKDIV 1
+
+struct wm8580_setup_data {
+ unsigned short spi;
+ unsigned short i2c_address;
+};
+
#define WM8580_DAI_PAIFRX 0
#define WM8580_DAI_PAIFTX 1