Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Platform header for Texas Instruments TLV320DAC33 codec driver |
| 3 | * |
Peter Ujfalusi | 93864cf | 2011-05-03 18:11:36 +0300 | [diff] [blame] | 4 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 5 | * |
| 6 | * Copyright: (C) 2009 Nokia Corporation |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __TLV320DAC33_PLAT_H |
| 14 | #define __TLV320DAC33_PLAT_H |
| 15 | |
| 16 | struct tlv320dac33_platform_data { |
| 17 | int power_gpio; |
Peter Ujfalusi | f430a27 | 2010-07-28 15:26:54 +0300 | [diff] [blame] | 18 | int mode1_latency; /* latency caused by the i2c writes in us */ |
Peter Ujfalusi | a577b31 | 2010-07-28 15:26:55 +0300 | [diff] [blame] | 19 | int auto_fifo_config; /* FIFO config based on the period size */ |
Peter Ujfalusi | eeb309a | 2010-03-11 16:26:22 +0200 | [diff] [blame] | 20 | int keep_bclk; /* Keep the BCLK running in FIFO modes */ |
Peter Ujfalusi | 6aceabb | 2010-01-20 09:39:36 +0200 | [diff] [blame] | 21 | u8 burst_bclkdiv; |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | #endif /* __TLV320DAC33_PLAT_H */ |