]> Pileus Git - ~andy/linux/blobdiff - include/sound/wm8962.h
Merge branch 'master' into for-next
[~andy/linux] / include / sound / wm8962.h
index cc32aff53222c6924417a5fcc2df3ec662229088..2b5306c503fbc66e97c22dd07bb089b27c9aad71 100644 (file)
 #define WM8962_GPIO_SET 0x10000
 
 struct wm8962_pdata {
+       int gpio_base;
        u32 gpio_init[WM8962_MAX_GPIO];
 
+       /* Setup for microphone detection, raw value to be written to
+        * R48(0x30) - only microphone related bits will be updated.
+        * Detection may be enabled here for use with signals brought
+        * out on the GPIOs. */
+       u32 mic_cfg;
+
        bool irq_active_low;
 
        bool spk_mono;   /* Speaker outputs tied together as mono */