Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Platform header for Texas Instruments TLV320DAC33 codec driver |
| 4 | * |
Peter Ujfalusi | 93864cf | 2011-05-03 18:11:36 +0300 | [diff] [blame] | 5 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 6 | * |
| 7 | * Copyright: (C) 2009 Nokia Corporation |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __TLV320DAC33_PLAT_H |
| 11 | #define __TLV320DAC33_PLAT_H |
| 12 | |
| 13 | struct tlv320dac33_platform_data { |
| 14 | int power_gpio; |
Peter Ujfalusi | f430a27 | 2010-07-28 15:26:54 +0300 | [diff] [blame] | 15 | int mode1_latency; /* latency caused by the i2c writes in us */ |
Peter Ujfalusi | a577b31 | 2010-07-28 15:26:55 +0300 | [diff] [blame] | 16 | int auto_fifo_config; /* FIFO config based on the period size */ |
Peter Ujfalusi | eeb309a | 2010-03-11 16:26:22 +0200 | [diff] [blame] | 17 | int keep_bclk; /* Keep the BCLK running in FIFO modes */ |
Peter Ujfalusi | 6aceabb | 2010-01-20 09:39:36 +0200 | [diff] [blame] | 18 | u8 burst_bclkdiv; |
Peter Ujfalusi | c8bf93f | 2009-10-15 09:03:56 +0300 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | #endif /* __TLV320DAC33_PLAT_H */ |