blob: 8b0c4d94d5cfef4f7ffcf3af26aee535a6228269 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Paul Handriganc1124c02016-10-12 13:53:28 -05002/*
3 * linux/sound/cs35l34.h -- Platform data for CS35l34
4 *
5 * Copyright (c) 2016 Cirrus Logic Inc.
Paul Handriganc1124c02016-10-12 13:53:28 -05006 */
7
8#ifndef __CS35L34_H
9#define __CS35L34_H
10
11struct cs35l34_platform_data {
12 /* Set AIF to half drive strength */
13 bool aif_half_drv;
14 /* Digital Soft Ramp Disable */
15 bool digsft_disable;
16 /* Amplifier Invert */
17 bool amp_inv;
18 /* Peak current (mA) */
19 unsigned int boost_peak;
20 /* Boost inductor value (nH) */
21 unsigned int boost_ind;
22 /* Boost Controller Voltage Setting (mV) */
23 unsigned int boost_vtge;
24 /* Gain Change Zero Cross */
25 bool gain_zc_disable;
26 /* SDIN Left/Right Selection */
27 unsigned int i2s_sdinloc;
28 /* TDM Rising Edge */
29 bool tdm_rising_edge;
30};
31
32#endif /* __CS35L34_H */