186ed3669SMark Brown /* 286ed3669SMark Brown * linux/sound/wm9081.h -- Platform data for WM9081 386ed3669SMark Brown * 486ed3669SMark Brown * Copyright 2009 Wolfson Microelectronics. PLC. 586ed3669SMark Brown * 686ed3669SMark Brown * This program is free software; you can redistribute it and/or modify 786ed3669SMark Brown * it under the terms of the GNU General Public License version 2 as 886ed3669SMark Brown * published by the Free Software Foundation. 986ed3669SMark Brown */ 1086ed3669SMark Brown 1186ed3669SMark Brown #ifndef __LINUX_SND_WM_9081_H 1286ed3669SMark Brown #define __LINUX_SND_WM_9081_H 1386ed3669SMark Brown 1486ed3669SMark Brown struct wm9081_retune_mobile_setting { 1586ed3669SMark Brown const char *name; 1686ed3669SMark Brown unsigned int rate; 1786ed3669SMark Brown u16 config[20]; 1886ed3669SMark Brown }; 1986ed3669SMark Brown 20*4a5f7bdaSMark Brown struct wm9081_pdata { 21*4a5f7bdaSMark Brown bool irq_high; /* IRQ is active high */ 22*4a5f7bdaSMark Brown bool irq_cmos; /* IRQ is in CMOS mode */ 23*4a5f7bdaSMark Brown 24*4a5f7bdaSMark Brown struct wm9081_retune_mobile_setting *retune_configs; 25*4a5f7bdaSMark Brown int num_retune_configs; 2686ed3669SMark Brown }; 2786ed3669SMark Brown 2886ed3669SMark Brown #endif 29