Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
720 B
C
25 lines
720 B
C
/*
|
|
* Platform header for Texas Instruments TLV320DAC33 codec driver
|
|
*
|
|
* Author: Peter Ujfalusi <peter.ujfalusi@ti.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 auto_fifo_config; /* FIFO config based on the period size */
|
|
int keep_bclk; /* Keep the BCLK running in FIFO modes */
|
|
u8 burst_bclkdiv;
|
|
};
|
|
|
|
#endif /* __TLV320DAC33_PLAT_H */
|