6aceabb459
Add possibility to configure the burst mode BCLK divider through platform data structure. The BCLK divider changes the actual speed of the serial bus in burst mode, which is faster than the sampling frequency of the running stream. In this way platforms can experiment with the optimal burst speed without the need to modify the codec driver itself. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
22 lines
534 B
C
22 lines
534 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;
|
|
u8 burst_bclkdiv;
|
|
};
|
|
|
|
#endif /* __TLV320DAC33_PLAT_H */
|