Merge tag 'trace-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux...
[linux-block.git] / include / sound / cs35l34.h
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
c1124c09
PH
2/*
3 * linux/sound/cs35l34.h -- Platform data for CS35l34
4 *
5 * Copyright (c) 2016 Cirrus Logic Inc.
c1124c09
PH
6 */
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 */