Mohan Pallaka | 033deb8 | 2012-09-12 19:13:57 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2012, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __TI_DRV2667__ |
| 14 | |
| 15 | #define DRV2667_WAV_SEQ_LEN 11 |
| 16 | |
| 17 | struct drv2667_pdata { |
| 18 | const char *name; |
| 19 | u8 mode; |
| 20 | /* support one waveform for now */ |
| 21 | u8 wav_seq[DRV2667_WAV_SEQ_LEN]; |
| 22 | u8 gain; |
| 23 | u8 idle_timeout_ms; |
| 24 | u32 max_runtime_ms; |
| 25 | }; |
| 26 | #endif |