| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* | 
 | 2 |  * wm0010.h -- Platform data for WM0010 DSP Driver | 
 | 3 |  * | 
 | 4 |  * Copyright 2012 Wolfson Microelectronics PLC. | 
 | 5 |  * | 
 | 6 |  * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 
 | 7 |  * | 
 | 8 |  * This program is free software; you can redistribute  it and/or modify it | 
 | 9 |  * under  the terms of  the GNU General  Public License as published by the | 
 | 10 |  * Free Software Foundation;  either version 2 of the  License, or (at your | 
 | 11 |  * option) any later version. | 
 | 12 |  */ | 
 | 13 |  | 
 | 14 | #ifndef WM0010_PDATA_H | 
 | 15 | #define WM0010_PDATA_H | 
 | 16 |  | 
 | 17 | struct wm0010_pdata { | 
 | 18 | 	int gpio_reset; | 
 | 19 |  | 
 | 20 | 	/* Set if there is an inverter between the GPIO controlling | 
 | 21 | 	 * the reset signal and the device. | 
 | 22 | 	 */ | 
 | 23 | 	int reset_active_high; | 
 | 24 | 	int irq_flags; | 
 | 25 | }; | 
 | 26 |  | 
 | 27 | #endif |