xref: /openbmc/linux/include/sound/cs35l34.h (revision 2891f2d5)
1 /*
2  * linux/sound/cs35l34.h -- Platform data for CS35l34
3  *
4  * Copyright (c) 2016 Cirrus Logic Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef __CS35L34_H
12 #define __CS35L34_H
13 
14 struct cs35l34_platform_data {
15 	/* Set AIF to half drive strength */
16 	bool aif_half_drv;
17 	/* Digital Soft Ramp Disable */
18 	bool digsft_disable;
19 	/* Amplifier Invert */
20 	bool amp_inv;
21 	/* Peak current (mA) */
22 	unsigned int boost_peak;
23 	/* Boost inductor value (nH) */
24 	unsigned int boost_ind;
25 	/* Boost Controller Voltage Setting (mV) */
26 	unsigned int boost_vtge;
27 	/* Gain Change Zero Cross */
28 	bool gain_zc_disable;
29 	/* SDIN Left/Right Selection */
30 	unsigned int i2s_sdinloc;
31 	/* TDM Rising Edge */
32 	bool tdm_rising_edge;
33 };
34 
35 #endif /* __CS35L34_H */
36