| Mark Brown | 86ed366 | 2009-05-22 15:01:19 +0100 | [diff] [blame] | 1 | /* | 
 | 2 |  * linux/sound/wm9081.h -- Platform data for WM9081 | 
 | 3 |  * | 
 | 4 |  * Copyright 2009 Wolfson Microelectronics. PLC. | 
 | 5 |  * | 
 | 6 |  * This program is free software; you can redistribute it and/or modify | 
 | 7 |  * it under the terms of the GNU General Public License version 2 as | 
 | 8 |  * published by the Free Software Foundation. | 
 | 9 |  */ | 
 | 10 |  | 
 | 11 | #ifndef __LINUX_SND_WM_9081_H | 
 | 12 | #define __LINUX_SND_WM_9081_H | 
 | 13 |  | 
 | 14 | struct wm9081_retune_mobile_setting { | 
 | 15 | 	const char *name; | 
 | 16 | 	unsigned int rate; | 
 | 17 | 	u16 config[20]; | 
 | 18 | }; | 
 | 19 |  | 
| Mark Brown | 4a5f7bd | 2011-03-01 20:10:46 +0000 | [diff] [blame] | 20 | struct wm9081_pdata { | 
 | 21 | 	bool irq_high;   /* IRQ is active high */ | 
 | 22 | 	bool irq_cmos;   /* IRQ is in CMOS mode */ | 
 | 23 |  | 
 | 24 | 	struct wm9081_retune_mobile_setting *retune_configs; | 
 | 25 | 	int num_retune_configs; | 
| Mark Brown | 86ed366 | 2009-05-22 15:01:19 +0100 | [diff] [blame] | 26 | }; | 
 | 27 |  | 
 | 28 | #endif |