Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * linux/sound/cs35l34.h -- Platform data for CS35l34
0004  *
0005  * Copyright (c) 2016 Cirrus Logic Inc.
0006  */
0007 
0008 #ifndef __CS35L34_H
0009 #define __CS35L34_H
0010 
0011 struct cs35l34_platform_data {
0012     /* Set AIF to half drive strength */
0013     bool aif_half_drv;
0014     /* Digital Soft Ramp Disable */
0015     bool digsft_disable;
0016     /* Amplifier Invert */
0017     bool amp_inv;
0018     /* Peak current (mA) */
0019     unsigned int boost_peak;
0020     /* Boost inductor value (nH) */
0021     unsigned int boost_ind;
0022     /* Boost Controller Voltage Setting (mV) */
0023     unsigned int boost_vtge;
0024     /* Gain Change Zero Cross */
0025     bool gain_zc_disable;
0026     /* SDIN Left/Right Selection */
0027     unsigned int i2s_sdinloc;
0028     /* TDM Rising Edge */
0029     bool tdm_rising_edge;
0030 };
0031 
0032 #endif /* __CS35L34_H */