forked from luck/tmp_suning_uos_patched
f430a27f05
Replace the hardwired latency definition with platform data parameter, and simplify the nSample parameter calculation. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
24 lines
657 B
C
24 lines
657 B
C
/*
|
|
* Platform header for Texas Instruments TLV320DAC33 codec driver
|
|
*
|
|
* Author: Peter Ujfalusi <peter.ujfalusi@nokia.com>
|
|
*
|
|
* Copyright: (C) 2009 Nokia Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __TLV320DAC33_PLAT_H
|
|
#define __TLV320DAC33_PLAT_H
|
|
|
|
struct tlv320dac33_platform_data {
|
|
int power_gpio;
|
|
int mode1_latency; /* latency caused by the i2c writes in us */
|
|
int keep_bclk; /* Keep the BCLK running in FIFO modes */
|
|
u8 burst_bclkdiv;
|
|
};
|
|
|
|
#endif /* __TLV320DAC33_PLAT_H */
|