Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * linux/sound/cs42l52.h -- Platform data for CS42L52
0004  *
0005  * Copyright (c) 2012 Cirrus Logic Inc.
0006  */
0007 
0008 #ifndef __CS42L52_H
0009 #define __CS42L52_H
0010 
0011 struct cs42l52_platform_data {
0012 
0013     /* MICBIAS Level. Check datasheet Pg48 */
0014     unsigned int micbias_lvl;
0015 
0016     /* MICA mode selection Differential or Single-ended */
0017     bool mica_diff_cfg;
0018 
0019     /* MICB mode selection Differential or Single-ended */
0020     bool micb_diff_cfg;
0021 
0022     /* Charge Pump Freq. Check datasheet Pg73 */
0023     unsigned int chgfreq;
0024 
0025     /* Reset GPIO */
0026     unsigned int reset_gpio;
0027 };
0028 
0029 #endif /* __CS42L52_H */