blob: 6c664965679832b871443db2627fd33dd998c77a [file] [log] [blame]
Peter Ujfalusic8bf93f2009-10-15 09:03:56 +03001/*
2 * Platform header for Texas Instruments TLV320DAC33 codec driver
3 *
4 * Author: Peter Ujfalusi <peter.ujfalusi@nokia.com>
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
16struct tlv320dac33_platform_data {
17 int power_gpio;
Peter Ujfalusif430a272010-07-28 15:26:54 +030018 int mode1_latency; /* latency caused by the i2c writes in us */
Peter Ujfalusia577b312010-07-28 15:26:55 +030019 int auto_fifo_config; /* FIFO config based on the period size */
Peter Ujfalusieeb309a2010-03-11 16:26:22 +020020 int keep_bclk; /* Keep the BCLK running in FIFO modes */
Peter Ujfalusi6aceabb2010-01-20 09:39:36 +020021 u8 burst_bclkdiv;
Peter Ujfalusic8bf93f2009-10-15 09:03:56 +030022};
23
24#endif /* __TLV320DAC33_PLAT_H */